[vsni.co.uk] Contact us
Author Message
Post new topic

  ASReml  ~  No more multiple prediction in asreml-r version 3?

kwstat
Posted: Thu Jul 09, 2009 7:11 pm Reply with quote
Joined: 18 Aug 2008 Posts: 22 Location: U.S.
In asreml-r version 2, it was possible to do multiple predict statements at the same time by making 'classify' to be a list:
Code:
p2 <- predict(m2, classify=list("hyb", "hyb:enc"),
              present=list(hyb=c("hyb","enc"),
                "hyb:enc"=c("loc","enc")),
              ignore=list(hyb=c("hyb:year","hyb:year:enc"),
                "hyb:enc"=c("hyb:year","hyb:year:enc")))

The predictions were then extracted using the name from 'classify':
Code:
p2$predictions$hyb
p2$predictions$"hyb:enc"

Has this ability been deprecated for version 3? Only one predict is allowed at a time? If so, it seems like a good move. The original functionality made things harder more often than it made things easier.

The example above was a proof-of-concept for me to figure out how to do multiple predictions and not something I ever actually used in practice. The big change is that I often wrote things like
Code:
p2$predictions$"hyb:enc"$pvals

which now will simplify to become
Code:
p2$predictions$pvals


Any other major changes to watch out for?

Kevin Wright
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
Post new topic

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum