plot.tramnet: plot method for class '"tramnet"'

View source: R/methods.R

plot.tramnetR Documentation

plot method for class "tramnet"

Description

plot method for class "tramnet"

Usage

## S3 method for class '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, ...)

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

Value

None

Author(s)

Lucas Kook


tramnet documentation built on April 1, 2023, 12:20 a.m.