Package 'tetraclasse'

Title: Satisfaction Analysis using Tetraclasse Model and Llosa Matrix
Description: The satisfaction Analysis using the tetraclasse model from Sylvie Llosa. Llosa (1997) <http://www.jstor.org/stable/40592578>.
Authors: vincent guyader
Maintainer: vincent guyader <[email protected]>
License: GPL-3
Version: 0.1.21
Built: 2024-11-13 04:14:32 UTC
Source: https://github.com/cran/tetraclasse

Help Index


gen_avis

Description

generate some random data

Usage

gen_avis(N)

Arguments

N

number of person

Examples

base <- gen_avis(50)

gen_llosa

Description

plot the Llosa matrix

Usage

gen_llosa(dataset, borne = FALSE, annotate = TRUE,
  annotatetext = c("Secondaire", " Plus", "Basique", "Clef"))

Arguments

dataset

the dataset to use

borne

booleen do you want xlim and ylim

annotate

booleen do you want annotation

annotatetext

annotation text

Examples

library(tetraclasse)
gen_avis(100) %>%
  prepare_base() %>%
  gen_llosa()

gen_llosa

Description

hack CA objet

Usage

Llosa(BID)

Arguments

BID

CA objet to hack


prepare_base

Description

reshape the base

Usage

prepare_base(base, satis_col = "satis")

Arguments

base

the base to reshape

satis_col

satisfaction column name

Examples

base <- gen_avis(150)
prepare_base(base)

tetraclasse

Description

Satisfaction Analysis - Tetraclasse Model And Llosa Matrix.

Examples

library(tetraclasse)


# generate an example dataset with 150 respondant
base <- gen_avis(150)

#prepare the dataset
base <- prepare_base(base)

# construct the Llosa matrix
gen_llosa(base)
 if(require("dplyr")){
gen_avis(5000) %>%
  sample_n(50,replace = TRUE)%>%
  prepare_base() %>%
  gen_llosa()



gen_avis(500) %>%
  prepare_base() %>%
  gen_llosa()

}