ing)
predict(lm1, subset(test, z %in% lm1$x$z) ) # get prediction for
good level only
1
0.4225204
Original-Nachricht
Datum: Wed, 25 Nov 2009 00:48:59 -0500
Von: David Winsemius
An: Andreas Wittmann
CC: r-help@r-project.org
Betreff: Re: [R] predict: remove colu
lm1 <- lm(x ~ ., data=training)
predict(lm1, subset(test, z %in% lm1$x$z) ) # get prediction for
good level only
1
0.4225204
Original-Nachricht
Datum: Wed, 25 Nov 2009 00:48:59 -0500
Von: David Winsemius
An: Andreas Wittmann
CC: r-help@r-project.org
Betreff: Re
-- Original-Nachricht
Datum: Wed, 25 Nov 2009 00:48:59 -0500
Von: David Winsemius
An: Andreas Wittmann
CC: r-help@r-project.org
Betreff: Re: [R] predict: remove columns with new levels automatically
On Nov 24, 2009, at 2:24 PM, Andreas Wittmann wrote:
Dear R-users,
in
> Betreff: Re: [R] predict: remove columns with new levels automatically
>
> On Nov 24, 2009, at 2:24 PM, Andreas Wittmann wrote:
>
> > Dear R-users,
> >
> > in the follwing thread
> >
> > http://tolstoy.newcastle.edu.au/R/help/03b/3322.html
> >
> &g
On Nov 24, 2009, at 2:24 PM, Andreas Wittmann wrote:
Dear R-users,
in the follwing thread
http://tolstoy.newcastle.edu.au/R/help/03b/3322.html
the problem how to remove rows for predict that contain levels which
are not in the model.
now i try to do this the other way round and want to r
Dear R-users,
in the follwing thread
http://tolstoy.newcastle.edu.au/R/help/03b/3322.html
the problem how to remove rows for predict that contain levels which are
not in the model.
now i try to do this the other way round and want to remove columns
(variables) in the model which will be lat
6 matches
Mail list logo