Learn R Programming

MLCM (version 0.0-2)

plot.mlcm: Plot an mlcm Object

Description

Plots the conjoint measurement scale(s) as a function of stimulus level.

Usage

## S3 method for class 'mlcm':
plot(x, standard.scale = FALSE, transpose = FALSE, ...)

Arguments

x
mlcm object, typically result of mlcm
standard.scale
logical indicating whether the plotted scales should be normalized so that the maximum scale value is 1
transpose
logical, indicating whether to transpose the matrix of the perceptual scale, when the full model is fit. Not defined if there are more than 2 dimensions.
...
other parameters to be passed through to the plotting function

Details

This function uses matplot so its help page should be examined for information on additional parameters that can be specified.

See Also

matplot

Examples

Run this code
plot(mlcm(BumpyGlossy), type = "b")

bg.full <- mlcm(BumpyGlossy, model = "full")
par(mfrow = c(1, 2), pty = "s")
plot(bg.full, type = "b", 
	xlab = "Gloss Level",
	ylab = "Bumpiness Model Estimates")
plot(bg.full, transpose = TRUE, type = "b",
	xlab = "Bumpiness Level",
	ylab = "Glossiness Model Estimates")

Run the code above in your browser using DataLab