plot.AnalyseBinQmet: Graphical representation of the results of the statistical...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plot.AnalyseBinQmet.R

Description

Draws the graphs provided by the statistical analysis of binary Q-methodology data. Tunning parameters such as the colors representing the 'representative of the concept' and 'not representative of the concept' areas or the axis of MFA to be plotted can be specified. The function also allows to plot interactive outputs realized with plotly.

Usage

1
plot.AnalyseBinQmet(res, choice = "all", interact = FALSE, col.pos.ratings = NULL, col.neg.ratings = NULL, col.clust.part = NULL, axis = c(1, 2), ext.dev.Rstudio = FALSE)

Arguments

res

An object of class AnalyseBinQmet returned by the function AnalyseBinQmet.

choice

A character element specifying the graphs to be plotted ('stim' for the concept representation mapping, 'part.seg' for the representation of the segmentation process of the participants (dendrogram + partitioning if a consolidation process has been implemented), 'part.mul' for the multidimensional representation of the structure of disagreement (PCA) among the panel of participants, 'all' for all representations. By default, all representations are plotted.)

interact

A boolean specifying if the graphical outputs should be interactive (with plotly) or not.

col.pos.ratings

A color element that can be specified by a character such as "blue" or by a hexadecimal code such as "#0D10D5". All hexadecimal codes can be found at http://htmlcolorcodes.com. By default, no color is specified and default color is used.

col.neg.ratings

A color element that can be specified by a character such as "blue" or by a hexadecimal code such as "#0D10D5". All hexadecimal codes can be found at http://htmlcolorcodes.com. By default, no color is specified and default color is used.

col.clust.part

A vector with as many color as clusters of participants. Colors can be specified by a character such as "blue" or by a hexadecimal code such as "#0D10D5". All hexadecimal codes can be found at http://htmlcolorcodes.com. By default, no colors are specified and default colors are used.

axis

A length 2 numeric vector specifying the MFA components to be plotted. By default, the first 2 components are plotted.

ext.dev.Rstudio

A boolean specifying if the graphical outputs should be plotted in the Rstudio plot pane or not.

Value

Returns the graphical representations.

Author(s)

Margot Brard margot.brard@agrocampus-ouest.fr

See Also

AnalyseBinQmet

Examples

1
2
3
4
5
6
# Small pedagogic data set
data(pedagdata)
res.pedag <- AnalyseBinQmet(pedagdata, id.info.stim = 21 : ncol(pedagdata), type.info.stim = c(rep("cont", 4), "cat"), id.info.part = 9 : nrow(pedagdata), type.info.part = c(rep("cat", 2), "cont"))
plot.AnalyseBinQmet(res.pedag, choice = "stim", col.pos.ratings = "orange")
plot.AnalyseBinQmet(res.pedag, choice = "stim", interact = TRUE, col.pos.ratings = "orange")
plot.AnalyseBinQmet(res.pedag, choice = "part.mul", interact = TRUE)

MargotBr/BinQmet documentation built on May 29, 2019, 10:52 a.m.