Learn R Programming

nproc (version 2.1.5)

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

Description

Plot the nproc band(s).

Usage

# S3 method for nproc
plot(x, ...)

Arguments

x

fitted nproc object using nproc.

...

additional arguments.

See Also

npc, nproc

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab