我在r.During中执行逻辑回归,十进制分析阶段,我尝试做以下操作:
decile_sum_training = summarize(decile_grp,total_cnt= n(),churn_cnt= sum(CHURN),
not_churn_cnt= total_cnt- churn_cnt)但当我使用summarize(Hmisc)时,我得到以下错误:
Error in summarize(decile_grp, total_cnt = n(), churn_cnt = sum(CHURN), :
argument "by" is missing, with no default请给我一些建议。
发布于 2018-08-07 19:17:21
使用常量"by":
..., by = rep(1, nrow(decile_grp))https://stackoverflow.com/questions/51724499
复制相似问题