> 
> My modelmatrix is of dimension  28x4
> 
> Then I want to make use of the function predict because there 
> confidence.intervals are include.
> 
> My idea was:
> 
> mod <- lm(y~Worktime+Vacation+Illnes+Bankholidays)
> 
> newdate=data.frame(x=c(324,123,0.9,0.1))


Perhaps you want to specify newdate like this

newdate=data.frame(Worktime = 324, Vacation = 123, Illness = 0.9, Bankholidays 
= 0.1))?



Best regards

Frede Aakmann Tøgersen
Scientist


UNIVERSITY OF AARHUS
Faculty of Agricultural Sciences
Dept. of Genetics and Biotechnology
Blichers Allé 20, P.O. BOX 50
DK-8830 Tjele

Phone:   +45 8999 1900
Direct:  +45 8999 1878

E-mail:  [EMAIL PROTECTED]
Web:       http://www.agrsci.org                                

This email may contain information that is confidential.
Any use or publication of this email without written permission from Faculty of 
Agricultural Sciences is not allowed.
If you are not the intended recipient, please notify Faculty of Agricultural 
Sciences immediately and delete this email.

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to