plotReg {MSwM}R Documentation

Comparative plots of response and explanatory variables with regime specifications.

Description

Creates a plot with the response and the explanatory variables with the smoothed probabilities of a specific regime.

Usage

plotReg(x, expl, regime = 1)

Arguments

x

an object of class "MSM.lm" or "MSM.glm".

expl

a character vector containing the names of the covariates of the model to show. If it is missing, all the variables are plotted.

regime

a numeric value indicating which regime has to be shown. By defect the value is 1.

Author(s)

Jose A. Sanchez-Espigares, Alberto Lopez-Moreno

See Also

Overview: MSwM-package
Classes : MSM.lm, MSM.glm, MSM.fitted
Methods : msmFit,summary,AIC,intervals,msmResid
Plot : plot,plotProb,plotReg,plotDiag


[Package MSwM version 1.5 Index]