Nothing
## get some data
attach(longley)
## try the function
md <- glmModelData(y=as.numeric(Employed > 64),
X=cbind(GNP, Armed.Forces),
family=binomial)
## look at the results
str(md)
## try again with cubic splines
md <- glmModelData(y=as.numeric(Employed > 64),
X=cbind(GNP, Armed.Forces),
nKnots=10L,
splineType="cubic",
family=binomial)
## look at the results
str(md)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.