plot.mru: Plots a Multinomial Restricted MDU model

View source: R/plot.mru.R

plot.mruR Documentation

Plots a Multinomial Restricted MDU model

Description

Plots a Multinomial Restricted MDU model

Usage

## S3 method for class 'mru'
plot(
  x,
  dims = c(1, 2),
  class.regions = FALSE,
  ycol = "darkgreen",
  xcol = "darkblue",
  ocol = "grey",
  markersize = 2.5,
  labelsize = 3,
  ...
)

Arguments

x

an object of type mru

dims

which dimensions to visualize

class.regions

whether a voronoi diagram with classification regions should be included

ycol

colour for representation of response variables

xcol

colour for representation of predictor variables

ocol

colour for representation of row objects

markersize

size of points

labelsize

size of labels

...

additional arguments to be passed.

Value

Plot of the results obtained from mru

Examples

## Not run: 
data(dataExample_mru)
y = as.matrix(dataExample_mru[ , 1])
X = as.matrix(dataExample_mru[ , 2:6])
output = mru(y = y, X = X, S = 2)
plot(output)

## End(Not run)


lmap documentation built on April 3, 2025, 5:47 p.m.

Related to plot.mru in lmap...