plot_mixtureReg: Plot Fit and Mixing Probability of a mixtureReg Object

View source: R/mixtureReg.R

plot_mixtureRegR Documentation

Plot Fit and Mixing Probability of a mixtureReg Object

Description

S3 plot method for class 'mixtureReg'.

Usage

plot_mixtureReg(mixtureModel, which = 1:2, xName = NULL,
  yName = NULL, xlab = NULL, ylab = NULL, ...)

Arguments

mixtureModel

mixtureReg object, typically result from 'mixtureReg()'.

which

numeric; choose which plot to display. '1' gives a plot of fit; '2' gives a plot of mixing probability.

xName

character; Name used to pick x variable from data.

yName

character; Name used to pick y variable from data.

xlab

character; label that should be put on the x axis.

ylab

character; label that should be put on the y axis.

...

Further graphical parameters.


zcslab/CSMR documentation built on Jan. 12, 2023, 7:39 a.m.