splitplot: Plot dimension description visually

Description Usage Arguments Value Examples

Description

Function takes MFA object and plots either the quali, quanti or combined metrics of the dimension description

Usage

1
2
splitplot(mfa, dim = 6, type = c("combined", "quali", "quanti")[3],
  grid = c(2, 3), specific = F)

Arguments

mfa

MFA object from FactoMineR

dim

number of dimensions to plot

type

type of plot to return

grid

grid to use for plotting (default is c(2,3))

specific

whether you are plotting specific dimensions and not the range of dimensions

Value

Plot containing correlations and v.tests

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
load_pkg("FactoMineR")

data(wine)

mfa <- MFA(wine, group=c(2,5,3,10,9,2), type=c("n",rep("s",5)),
          ncp=5, name.group=c("orig","olf","vis","olfag","gust","ens"),
          num.group.sup=c(1,6), graph = F)

splitplot(mfa, dim = 5, type = "quanti")

# Wine example does not contain any qualitative examples
#splitplot(mfa, dim = 5, type = "quali")

splitplot(mfa, dim = 5, type = "combined")

splitplot(mfa, dim = c(1:2), type = "combined", grid = c(1,2), specific = T)

HanjoStudy/quotidieR documentation built on May 5, 2019, 6:13 p.m.