Learn R Programming

lmap (version 0.2.4)

plot.lmdu: Plots a Logistic MDU model

Description

Plots a Logistic MDU model

Usage

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

Value

Plot of the results obtained from lmdu

Arguments

x

an object of type lmdu

dims

which dimensions to visualize

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.

Examples

Run this code
if (FALSE) {
data(dataExample_lmdu)
Y = as.matrix(dataExample_lmdu[ , 1:8])
X = as.matrix(dataExample_lmdu[ , 9:13])
# unsupervised
output = lmdu(Y = Y, S = 2)
plot(output)
}

Run the code above in your browser using DataLab