inst/tests/Gls.s

library(rms)
library(nlme)
set.seed(1) 
d <- data.frame(x = rnorm(50), y = rnorm(50)) 
gls(y ~ x, data=d, correlation = corARMA(p=2))
Gls(y ~ x, data=d, correlation = corARMA(p=2), B=10)

Try the rms package in your browser

Any scripts or data that you put into this service are public.

rms documentation built on Sept. 12, 2023, 9:07 a.m.