Learn R Programming

SensMixed (version 2.1-0)

plot: function creates plots for the sensmixed object

Description

function creates barplots for the square roots of F statistics and square roots of chi square values for all attributes

Usage

# S3 method for sensmixed
plot (x, mult = FALSE, dprime = FALSE, sep = FALSE, 
                             cex = 2,  interact.symbol = ":",
                             isRand = TRUE, isScaling = TRUE, stacked = TRUE, ...)

Arguments

x

object of class sensmixed

mult

logical. Should multiple plots be plotted, that is barplots for each effect in a separate plot

dprime

logical. Should multiattribute plot for product effects use average squared dprimes instead of square root of F statistics

sep

logical. If TRUE then separate plot is plotted for each effect (mult argument should be then also TRUE)

cex

The magnification to be used

interact.symbol

The symbol to be used for the interaction effects

isRand

logical. Whether to plot tests of the random effects

isScaling

logical. Whether to plot the scaling factor if present

stacked

logical. Whether bars should be stacked

other potential arguments.

Value

NULL is returned

Examples

Run this code
# NOT RUN {
res <- sensmixed(c("Coloursaturation", "Colourbalance", "Noise"),
                  prod_effects=c("TVset", "Picture"), 
                  assessor="Assessor", data=TVbo, MAM=TRUE, 
                  control=list(reduce.random=FALSE))
plot(res, isRand = TRUE)
plot(res, isRand = FALSE)
plot(res, stacked = FALSE, mult = TRUE)
plot(res, isRand = FALSE, stacked = FALSE, interact.symbol = " x ")
# }

Run the code above in your browser using DataLab