[软件熟悉度]:
新手(没写过程式,R 是我的第一次)
[问题叙述]:
我想利用 gam 跑我的资料并建立 model,我的资料有7个变量,gam内的选项皆用默认值。
但是出现以下错误:
Error in smooth.construct.tp.smooth.spec(object, dk$data, dk$knots) :
A term has fewer unique covariate combinations than specified maximum
degrees of freedom
Error in predict(model.bm, Data[, expl_var_names, drop = FALSE], on_0_1000 =
TRUE) :
error in evaluating the argument 'object' in selecting a method for
function 'predict': Error: object 'model.bm' not found
还有
Error in checkAtAssignment("BIOMOD.stored.array", "val", "NULL") :
assignment of an object of class “NULL” is not valid for @‘val’ in an
object of class “BIOMOD.stored.array”; is(value, "array") is not TRUE
请问是出现了什么错误? 我该如何修正我的资料?
谢谢各位 <(_ _)>