Error in names(.cols) <- grp.levels :'names' attribute [33] must be the same length as the vector [31]
【报错原因】 Total KM 曲线绘图颜色出现问题 【解决方法】 如果想要total的KM曲线,建议减少变量
Error: You should have at least two distinct break values. Value cannot be null. (Parameter ‘s’)
【报错原因】模型拟合问题【解决方法】更换模型或变量
Error in glmnet(x, y, family = “binomial”, alpha = 1, nlambda = lambda_values) :x has missing values; consider using makeX() to impute them
【报错原因】 选择变量里含有空缺值 【解决方法】 建议将变量的空缺值进行插补
Error in scale.default(X, X[v == 0, ], scale = FALSE) :’center’的长度必需和’x’列的数目相同
【报错原因】 数据不符合要求 【解决方法】 更换数据
Error in cut.default(x, c(bins[1] – delta, bins)) : ‘breaks’ 的值有重复
【报错原因】 “预测时间点”、“区间样本数”数值不合适 【解决方法】 调整“预测时间点”、“区间样本数”
Error in glmnet(x, y, family = “gaussian”, alpha = 1, nlambda = lambda_values) :x should be a matrix with 2 or more columns
【报错原因】 自变量只选择一个,需要2个以上 【解决方法】 选择二个以上的自变量
Error in onestrat(x[index, , drop=FALSE], clusters[index], nPSU[index][1], : Stratum(122) has only one PSU at stage 1
【报错原因】 调查设计的PSU孤立没打钩 【解决方法】 调查设计的PSU孤立打钩
Error in strsplit(var_independent_raw, “,”) : non-character argument
【报错原因】 没选参数 【解决方法】 补全参数
Error in onestrat(x[index, , drop = FALSE], clusters[index], nPSU[index][1], :Stratum (51) has only one PSU at stage 1
【报错原因】 分层变量和自变量不适配,只有一个数据在某个分层里 【解决方法】 重新选择适合变量
【难点易出错】使用数据连接将两个表格连接(数据连接)
使用节点:数据连接 功能:将两个表的内容“有机”结合 ps.数据连接是两个表按照一定的逻辑进行合表,选择的方法不同得出的表不同。决策链视频号的回放以及官方bbs(bbs,statsape.com)中有这一...
Error in coxph(formula = Surv(rep(1, 119L), case) ~ alcohol + rubber + :No (non-missing) observations
【报错原因】 变量选择有问题,不可以是字符串,必须是0和1的二分类变量 【解决方法】 更换因变量
Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,:sum’ not meaningful for factors
【报错原因】 考虑有个别PSU分层数量太少 【解决方法】 使用强制分层运算的选项
Error in covM[z == k, , drop = F] :(subscript) logical subscript too long
【报错原因】 变量存在NA值 【解决方法】 插补空值或者删除空值
Error in coxph(formula = Surv(rep(1, 250L), gender) ~ HOXC.AS2 + AP000695.6 + :No (non-missing) observations
【报错原因】 因变量不是数值型二分类 【解决方法】 建议更换因变量
Error in metafor::rma(yi = TN, sei = FN, slab = , data = WD, method = “FE”, :Division by zero when computing the inverse variance weights.
【报错原因】 数据或模型方法不符合要求 【解决方法】 更换数据或更换模型方法
Bin edges must be unique: Index([0.0, 0.0, 1.0, 1.0], dtype=’float64′, name=’age’).You can drop duplicate edges by setting the ‘duplicates’ kwarg。
【报错原因】 分箱变量和目标变量存在相同元素 【解决方法】 删除相同的元素再分箱
Error in coxph.fit(X, Y, istrat, offset, init, control, weights = weights, : Invalid weights, must be >0
【报错原因】 权重变量必须大于0 【解决方法】 更换变量
Error in rms::Predict(model, origen_contin, fun = exp, ref.zero = TRUE, :predictors(s) not in model: origen_contin
【报错原因】 模型崩溃 【解决方法】 修改自变量和因变量组合
Error in (function (classes, fdef mtable):unable to find an inherited method for function ‘mcols’ for siqnature “”NULL”
【报错原因】 暴露相关突变位点筛选结果为空 【解决方法】 尝试更换Pvalue阈值