[軟體熟悉度]:
新手(沒寫過程式,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
請問是出現了甚麼錯誤? 我該如何修正我的資料?
謝謝各位 <(_ _)>