[R] error using "predict"

Xebar Saram zeltakc at gmail.com
Sun Jul 25 14:18:51 CEST 2010


Hi

I am very new to R (so excuse me in advance if this is pretty trivial)

I am using the predict function to get prediction on a dataset from
another dataset using the follwoing command:


newpredT2003 = predict( object=out.model_T2003, newdata=aodmc_2003 , level = 0 )

yet i get this error:

Error in na.fail.default(list(AOD = c(0.092, 0.081, 0.086, 0.085, 0.09,  :
  missing values in object
Calls: predict ... model.frame.default -> <Anonymous> -> na.fail.default

i think its something simple but cant find any info when googling..can
anyone point me in the right direction on what needs to be done to fix
the errors?

thx

Ethan



More information about the R-help mailing list