sjPlot 已加载,但 R 抱怨找不到 sjt.corr 函数

问题描述

有没有人知道为什么 stj.corr 在这里失败?

library(sjplot)
view_df(cars) # works fine
sjt.corr(cars)# produces error Error in sjt.corr(cars) : Could not find function "sjt.corr"

解决方法

tab_corr(cars) 可以完成这项工作!我猜另一个功能已被弃用