Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lines.etm

Lines method for 'etm' objects


Description

Lines method for etm objects

Usage

## S3 method for class 'etm'
lines(x, tr.choice, col = 1, lty,
      conf.int = FALSE, level = 0.95, ci.fun = "linear",
      ci.col = col, ci.lty = 3, ...)

Arguments

x

An object of class etm.

tr.choice

character vector of the form c("from to","from to") specifying which transitions should be plotted. By default, all the direct transition probabilities are plotted

col

Vector of colours. Default is black.

lty

Vector of line type. Default is 1:number of transitions

conf.int

Logical specifying whether to plot confidence intervals. Default is FALSE.

level

Level of the confidence interval. Default is 0.95.

ci.fun

Transformation applied to the confidence intervals. It could be different for all transition probabilities, though if length(ci.fun) != number of transitions, only ci.fun[1] will be used. Possible choices are "linear", "log", "log-log" and "cloglog". Default is "linear".

ci.col

Colours of the confidence intervals. Default value is the same as col.

ci.lty

Line types for the confidence intervals. Default is 3.

...

Further arguments for lines.

Value

No value returned.

Author(s)

Arthur Allignol, arthur.allignol@gmail.com

See Also


etm

Empirical Transition Matrix

v1.1.1
MIT + file LICENSE
Authors
Mark Clements [aut, cre], Arthur Allignol [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.