Learn R Programming

tramnet (version 0.0-8)

plot.tramnet: plot method for class "tramnet"

Description

plot method for class "tramnet"

Usage

# S3 method for tramnet
plot(x, newdata, type = c("distribution", "survivor",
  "density", "logdensity", "hazard", "loghazard", "cumhazard", "quantile",
  "trafo"), q = NULL, prob = 1:(K - 1)/K, K = 50, col = rgb(0.1,
  0.1, 0.1, 0.1), lty = 1, add = FALSE, ...)

Value

None

Arguments

x

object of class "tramnet"

newdata

data used to predict and plot

type

type of plot produced

q

vector of quantiles

prob

vector of probabilities

K

number of data points to plot

col

see plot

lty

see plot

add

see plot

...

additional options to plot

Author

Lucas Kook