Displaying 1 result from an estimated 1 matches for "logba".
Did you mean:
lgba
2013 Mar 19
1
Lars package
...<- as.matrix(lars.input[c(1:152)])
y <- lars.input[,c(149)]
larsdata <- as.data.frame(cbind(y,x))
attach(larsdata)
lars.model <- lars(x,y)
fit <- predict.lars(lars.model,x)$fit
plot(y ~ fit[,ncol(fit)])
#so far, so good
fit2 <- predict.lars(lars.model,withhold)$fit
plot(withhold$logBA ~ fit2[,ncol(fit2)])
#this is when the mess shows up
Thanks!
_______________________________________________________________
Giovanni Giacomin
Estudante de Engenharia de Agrimensura e Cartográfica - Universidade Federal de Viçosa
Science Without Borders Student - Geography with emphasis in GI...