Re: predict with asreml-R

From: Juan Burgueño <juanb_at_COLPOS.MX>
Date: Tue, 11 Dec 2007 17:03:24 -0600

Dear

With this instructions you obtain the predicted value at x=4.5

aa<-predict(asr, classify="x", levels=list("x"=list("x" =c(4.5))))

Predicted value and standar error are saved in:

aa$predictions$x

Dr. Juan Burgueño
Colegio de Postgraduados
México, (595-9520200 ext. 1416
Km. 36.5 Carretera México-Texcoco
Montecillo. Edo. de México
C.P. 56230

On Tue, 11 Dec 2007 15:19:28 +0000
  iwhite_at_STAFFMAIL.ED.AC.UK wrote:
> Dear asreml-list,
>
> x <- c(1,2,3,4,5)
> y <- c(2,3,5,6,8)
> asr <- asreml(y ~ x)
>
> Now I want to predict y at x = 4.5. How? classify=? levels=?
> (I have read the manual).
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
Received on Sat Dec 11 2007 - 17:03:24 EST

This webpage is part of the ASReml-l discussion list archives 2004-2010. More information on ASReml can be found at the VSN website. This discussion list is now deprecated - please use the VSN forum for discussion on ASReml. (These online archives were generated using the hypermail package.)