plot.INPROCreg: Default INPROCreg plotting

Description Usage Arguments Details Author(s) See Also Examples

Description

Default INPROCreg plotting (see details)

Usage

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

Arguments

x

an object of class INPROCreg as produced by INPROCreg().

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.

Details

The function produces the following plots:

(a)

the estimated regression and variance functions in both the healthy and diseased populations.

(b)

the covariate-specific ROC curve and AUC.

(c)

the covariate-adjusted ROC curve (AROC).

(d)

(optionally) the Youden Index (YI) or the value for which the TPF and the TNF coincides (EQ).

(e)

(optionally) the optimal thresholds based on these criteria (TH).

Author(s)

Maria Xose Rodriguez-Alvarez and Javier Roca-Pardinas

See Also

See Also INPROCreg.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(endosim)
# Evaluate the effect of age on the accuracy of the body mass index for males
m0.men <- INPROCreg(marker = "bmi", covariate = "age", group = "idf_status", 
						tag.healthy = 0, 
						data = subset(endosim, gender == "Men"), 
						ci.fit = FALSE, test = FALSE, 
						accuracy = c("EQ","TH"),
						accuracy.cal="AROC", 
						control=controlINPROCreg(p=1,kbin=30,step.p=0.01), 
						newdata = data.frame(age = seq(18,85,l=50)))
summary(m0.men)
plot(m0.men)						

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