View source: R/print.DNPROCreg.R
print.DNPROCreg | R Documentation |
Print method for DNPROCreg objects
## S3 method for class 'DNPROCreg'
print(x, ...)
x |
an object of class |
... |
further arguments passed to or from other methods. Not yet implemented |
Maria Xose Rodriguez-Alvarez and Javier Roca-Pardinas
See Also as DNPROCreg
.
data(endosim)
# Fit a model including the interaction between age and gender.
m0 <- DNPROCreg(marker = "bmi", formula.h = "~ gender + s(age) + s(age, by = gender)",
formula.ROC = "~ gender + s(age) + s(age, by = gender)",
group = "idf_status",
tag.healthy = 0,
data = endosim,
control = list(card.P=50, kbin=30, step.p=0.02),
ci.fit = FALSE,
test.partial = NULL,
newdata = NULL)
m0
summary(m0)
plot(m0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.