plot_data: Obtain the data used in the graphs

View source: R/plot.R

plot_dataR Documentation

Obtain the data used in the graphs

Description

Obtain the data used in the graphs

Usage

plot_data(x, dim1 = 1, dim2 = 2, type = c("Asy1", "Asy2", "Sub", "Ite"), ...)

Arguments

x

A Dual Scale object

dim1

Component for the horizontal axis. Default dimension 1

dim2

Component for the vertical axis. Default dimension 2

type

Graph type

Asy1

Assymetric graph for projected options versus normed subjects (default)

Asy2

Assymetric graph for normed options versus projected subjects

Sub

Only subjects graph

Ite

Only items graph

...

Arguments to be passed to methods

Value

A dataframe with the data used

Examples

plot_data(ds_cf(curricula))
plot_data(ds_mc(singaporean))
plot_data(ds_mcf(singaporean, crit = 1))
plot_data(ds_pc(christmas))
plot_data(ds_ro(goverment))

dualScale documentation built on Nov. 9, 2023, 9:07 a.m.