plot.mrrr | R Documentation |
Plots a Multinomial Reduced Rank Model
## S3 method for class 'mrrr'
plot(
x,
dims = c(1, 2),
ycol = "darkgreen",
xcol = "darkblue",
ocol = "grey",
markersize = 2.5,
labelsize = 3,
...
)
x |
an object of type mrrr |
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 |
determines the size of the markera |
labelsize |
determines the size of the labels |
... |
additional arguments to be passed. |
Plot of the results obtained from mrrr
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.