search for: activisale_join

Displaying 1 result from an estimated 1 matches for "activisale_join".

2013 Jul 08
1
error in "predict.gam" used with "bam"
...gcv) on a pretty large dataframe (130.000 cases with 100 variables). Because of that, the gam is fitted on a random subset of 10000. Now when I want to predict the values for the rest of the data, I get the following error: > gam.basis_alleakti.1.pr=predict(gam.basis_alleakti.1, + newdata=activisale_join[gam.basis_alleakti.1.complete_cases,all.vars(gam.b asis_alleakti.1.formula)],type="response") Error in predict.gam(gam.basis_alleakti.1, newdata = activisale_join[gam.basis_alleakti.1.complete_cases, : number of items to replace is not a multiple of replacement length The follow...