specs(fit, ...) ## S3 method for class 'Design': specs(fit, long=FALSE, ...) ## S3 method for class 'specs.Design': print(x, ...)
Design
library in effect
specs
TRUE
, causes the plotting and estimation limits to be printed for
each factor
Frank Harrell
Department of Biostatistics, Vanderbilt University
f.harrell@vanderbilt.edu
set.seed(1) blood.pressure <- rnorm(200, 120, 15) dd <- datadist(blood.pressure) options(datadist='dd') L <- .03*(blood.pressure-120) sick <- ifelse(runif(200) <= plogis(L), 1, 0) f <- lrm(sick ~ rcs(blood.pressure,5)) specs(f) # find out where 5 knots are placed g <- glmD(sick ~ rcs(blood.pressure,5), family=binomial) specs(g,long=TRUE) options(datadist=NULL)