plot.nproc: Plot the nproc band(s).

Description Usage Arguments See Also Examples

View source: R/plot.nproc.R

Description

Plot the nproc band(s).

Usage

1
2
## S3 method for class 'nproc'
plot(x, ...)

Arguments

x

fitted nproc object using nproc.

...

additional arguments.

See Also

npc, nproc

Examples

1
2
3
4
5
6
n = 1000
x = matrix(rnorm(n*2),n,2)
c = 1+3*x[,1]
y = rbinom(n,1,1/(1+exp(-c)))
fit = nproc(x, y, method = 'lda')
plot(fit)

statcodes/nproc documentation built on Jan. 4, 2018, 6:51 p.m.