Learn R Programming

trajeR (version 0.9.0.5)

plotrajeR.Trajectory.CNORM: plot CNORM trajectory

Description

plot CNORM trajectory

Usage

# S3 method for Trajectory.CNORM
plotrajeR(
  Obj,
  plotcov = NULL,
  col = "black",
  Y = NULL,
  A = NULL,
  Risk = NULL,
  mean = FALSE,
  alpha = 1,
  ...
)

Arguments

Obj

an object of class "Trajectory.CNORM".

plotcov

an optionnal vector or matrix with the same length as the time period. Default value is NULL.

col

an optionnal vector. The vecotr of colors. It must contain a color for each trajectory and each points of groups. Its length is the double of the number of group. Default valme is a grayscale.

Y

Matrix. A matrix containing the variables in the model.

A

Matrix. A matrix containing the time variable data.

Risk

Matrix. An optional matrix that modify the probability of belong to group. By default its value is a matrix with one column with value 1.

mean

an optional logicial. Indicate if the mean of ech group and time value must be draw.

alpha

on optionnal real. Indiciate the alpha channel of the points color.

...

optional parameters

Value

a graphic.