plotLCTSplits: Plot the class means or conditinal probabilities of every...

Description Usage Arguments

Description

Produce a figure for every split of the tree

Usage

1
2
3
plotLCTSplits(resTree, rYlim = c(0, 1), doPlot = FALSE, nameTree = "",
  dev = "png", doEq = FALSE, idxSP = NULL, ylab = "Mean score",
  xlab = "Classes", lwd = 1)

Arguments

resTree

A Latent Class Tree object

rYlim

the ylim of a plot of a continuous variable. By default for categorical variables c(0, 1) is used.

doPlot

Logical, does the object need to be printed to a file as indicated by dev

nameTree

if doPlot is TRUE (default), a folder called Levels'nameTree' will be created. In this folder of every level of the tree a plot is created, which is called 'nameTree', followed by the name of the split at hand

dev

device to create a plot, either "png", or "pdf"


MattisvdBergh/LCT documentation built on May 8, 2019, 9:50 a.m.