在批处理模式下运行glm预测

时间:2013-09-30 14:05:27

标签: r

我尝试运行

    ltv_pos_model$prob3 <- predict(tree_before_deposit_3m_equal_100, newdata = ltv_pos_model,  
    type = "response")     

在批处理模式下,这就是我得到的:

    Error in get(ctr, mode = "function", envir = parent.frame()) : 
    object 'contr.Treatment' of mode 'function' was not found
    Calls: predict ... model.matrix -> model.matrix.default -> contrasts -> get
    Execution halted

在交互模式下一切正常

由于

0 个答案:

没有答案