[R] adding a new individual

Pieter Schoonees schoonees at ese.eur.nl
Thu Oct 18 13:01:44 CEST 2012


As Rui said, this is a pretty vague question... Nonetheless, if you are using lm() for example you should use the newdata argument in predict(). Have a look at ?predict.lm for example.

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Afrae Hassouni
> Sent: Thursday 18 October 2012 5:52
> To: r-help at r-project.org
> Subject: [R] adding a new individual
> 
> Hello,
>  Is it possible to add a new individual in an existing dataset in order
> to make a prediction?
> 
> 
> 
> Afrae Hassouni
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list