Learn R Programming

dualScale (version 1.0.0)

plot_data: 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"), ...)

Value

A dataframe with the data used

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

Examples

Run this code
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))

Run the code above in your browser using DataLab