r - 使用库 nanor 接收 mcar 测试错误
问题描述
我正在运行 mcar_test,但出现以下错误。关于它可能是什么的任何想法!?
> print(file)
# A tibble: 1,000 x 10
Obs Grocery_Bill N_Adults Family_Income Family_Size N_Vehicles Distance_to_Store Vegetarian N_Children Family_Pet
<dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 1 358. 2 142141 4 3 15 0 2 1
2 2 277. 2 145916 2 1 4 0 0 0
3 3 198. 1 86185 1 2 14 0 0 0
4 4 316. 2 145998 3 1 8 0 1 0
5 5 203. 1 79341 1 2 19 1 0 0
6 6 197. 1 77115 2 1 2 0 1 1
7 7 195. 1 73725 2 1 4 0 1 0
8 8 233. 1 88371 1 2 8 0 0 0
9 9 146. 1 75942 1 3 8 0 0 0
10 10 125. 1 70298 1 0 2 0 0 0
# ... with 990 more rows
mcar_test(file)
Error: Problem with `mutate()` column `d2`.
i `d2 = purrr::pmap_dbl(...)`.
x system is computationally singular: reciprocal condition number = 4.23398e-24
i The error occurred in group 1: miss_pattern = 1.
解决方案
推荐阅读
- arrays - 在MATLAB中将字符串单元格转换为表格列
- python - 日志文件中的 matplotlib.font_manager 调试消息
- javascript - JavaScript,将for循环存储在变量中
- xpath - php - xpath 选择元素,然后选择子元素
- python - 使用正则表达式更改字符串前面的数字
- angular6 - 在索引页面中从 environment.ts 访问常量
- .net-core - 升级到 macOS Catalina 后出现“zsh: command not found: dotnet-svcutil”
- javascript - Highcharts 似乎有不完整的类型定义
- java - Tomcat 8.5.45 启动后抛出大量 NullPointerException-s 但继续工作
- python - 我正在尝试编写一个 python 程序来查找素数