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.


changwn/RMR documentation built on March 29, 2025, 3:15 p.m.