r - 在 RStudio 中安装“汽车”包以运行 LeveneTest() 时遇到问题
问题描述
#part b
#based on some online sources, it'll be easier to add BP to the original data.frame then trim it down a bit
install.packages("car",dependencies=TRUE)
#we also need this package
hyper$BP <- (hyper$systolic + hyper$diastolic)/2
leveneTest(hyper$BP,hyper$diet)
看来我可以安装“汽车”包,但是当我尝试调用库(汽车)之后,我收到了这个错误:
Error: package or namespace load failed for ‘car’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘zip’
然后它继续说
Error in leveneTest(hyper$BP, hyper$diet) :
could not find function "leveneTest"
我正在尝试运行 Levene 的测试,但似乎找不到正确的依赖项
解决方案
推荐阅读
- qt - 如何在qml中绘制一个梯形的图像?
- mongodb - 在使用 mergeObjects MongoDB 之前对数组进行排序
- reactjs - React - 在 setState 之后返回 undefined
- javascript - Js在html中显示的问题
- .net - 由于 VS2017 中的 F# 编译器过时,无法使用 .dll 库
- windows-10-iot-core - Windows 10 物联网核心屏幕键盘
- conda - 在 Windows 上的 conda 环境中执行 snakemake 规则
- c - 如何使函数在没有段错误的情况下访问单词值
- android - 应用程序不断与 Android Studio 4.0 分析器崩溃
- python - 无法接收给定数量的条目数据:TypeError:列表索引必须是整数或切片,而不是条目