0

我试着跑

    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

在交互模式下一切正常

谢谢

4

0 回答 0