Learn R Programming

MLCM (version 0.4.4)

plot.mlcm: Plot an mlcm Object

Description

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

Usage

# S3 method for mlcm
plot(x, standard.scale = FALSE, transpose = FALSE, SD.scale = FALSE, ...)
# S3 method for mlcm
lines(x, standard.scale = FALSE, transpose = FALSE, SD.scale = FALSE, ...)
# S3 method for mlcm
points(x, standard.scale = FALSE, transpose = FALSE, SD.scale = 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.

SD.scale

logical indicating whether to plot results in units of d', the signal detection measure of signal strength in which the variance for each stimulus level is unity. Ignored if standard.scale = TRUE.

...

other parameters to be passed through to the plotting function.

Author

Kenneth Knoblauch

Details

These functions use matplot, matlines and matpoints so their help page should be examined for information on additional parameters that can be specified.

See Also

Examples

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

bg.full <- mlcm(BumpyGlossy, model = "full")
opar <- 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")
par(opar)

Run the code above in your browser using DataLab