Learn R Programming

SensMixed (version 2.1-0)

plot.conjoint: plots the post-hoc for the conjoint object

Description

plots the least squares means and differences of least squares means together with the confidence intervals for the fixed effects

Usage

# S3 method for conjoint
plot (x, main = NULL, cex = 1.4, 
                           which.plot = c("LSMEANS", "DIFF of LSMEANS"),
                           test.effs = NULL, ...)

Arguments

x

object of class conjoint

main

string. Title for the plots

cex

A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default

which.plot

type of plot to be drawn

test.effs

name of the effext for which to draw the plots

other potential arguments.

Value

returns NULL

Examples

Run this code
# NOT RUN {
#convert some variables to factors in Tham
response <- c("Liking")
fixed <- list(Product=c("Product", "Information"), Consumer="Gender")
random <- c("Consumer")
facs <- c("Consumer", "Product", "Information", "Gender")

res.ham <- conjoint(structure=3, ham, response, fixed, random, facs)
# }

Run the code above in your browser using DataLab