plot.DNPROCreg: Default DNPROCreg plotting

Description Usage Arguments Author(s) See Also Examples

Description

Takes a fitted DNPROCreg object produced by DNPROCreg() and plots the covariate-specific ROC curve and associated AUC.

Usage

1
2
## S3 method for class 'DNPROCreg'
plot(x, ask = TRUE, ...)

Arguments

x

an object of class DNPROCreg as produced by DNPROCreg()

ask

a logical value. If TRUE, the default, the user is asked for confirmation, before a new figure is drawn

...

further arguments passed to or from other methods.

Author(s)

Maria Xose Rodriguez-Alvarez and Javier Roca-Pardinas

See Also

See Also DNPROCreg, summary.DNPROCreg.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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))
summary(m0)				
plot(m0)

npROCRegression documentation built on May 2, 2019, 5:17 a.m.