Displaying 1 result from an estimated 1 matches for "diextra".
Did you mean:
dextra
2011 Jan 29
1
data extrapolation function
Readers,
Data was imported using the read csv command:
dataimport<-read.csv("/path/to/dataimport.csv")
10,2000
12,2001
13,2002
15,2003
17,2004
Using the help contents for 'predict.lm' (i.e. ?predict.lm) a new data
frame was created
dataimportextra<-data.frame(x=seq(1990,2010,1))
predict(lm(dataimport),dataimportextra[,2],se.fit=TRUE)