On Monday 26 October 2009, Frank E Harrell Jr wrote:
Dylan Beaudette wrote:
Hi,
Using the latest rms package I am able to make nice plots of model
predictions +/- desired confidence intervals like this:
# need this
library(rms)
# setup data
d - data.frame(x=rnorm(100),
Hi,
Using the latest rms package I am able to make nice plots of model predictions
+/- desired confidence intervals like this:
# need this
library(rms)
# setup data
d - data.frame(x=rnorm(100), y=rnorm(100))
dd - datadist(d)
options(datadist='dd')
# fit model
l - ols(y ~ rcs(x), data=d)
#
Dylan Beaudette wrote:
Hi,
Using the latest rms package I am able to make nice plots of model predictions
+/- desired confidence intervals like this:
# need this
library(rms)
# setup data
d - data.frame(x=rnorm(100), y=rnorm(100))
dd - datadist(d)
options(datadist='dd')
# fit model
l -
3 matches
Mail list logo