input_manual_process: Input Manual Process

Description Usage Arguments Value Examples

View source: R/input_manual_process.R

Description

Preprocesses the data generated by input_manual_simple or input_manual_nested.

Usage

1

Arguments

data

list generated by input_manual_simple or input_manual_nested with complete data.

Value

List containing formatted data including center distances for item_chart, facet_chart, and nested_chart.

@seealso input_manual_simple input_manual_nested

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# these RSES data can also be seen in self_confidence, the example data of
# this package
mydata <- input_manual_simple(
test_name = "RSES",
facet_names = c("Ns", "Ps"),
items_per_facet = 5,
item_names = c(2, 5, 6, 8, 9,
              1, 3, 4, 7, 10),
general_loadings = c(.5806, .5907, .6179, .5899, .6559,
                    .6005, .4932, .4476, .5033, .6431),
correlated_loadings = c(.6484, .6011, .6988, .6426, .6914,
                       .6422, .5835, .536, .5836, .6791),
correlation_matrix = matrix(data = c(1, .69,
                                    .69, 1),
                           nrow = 2,
                           ncol = 2))
mydata
input_manual_process(mydata)

NilsPetras/IPV documentation built on Dec. 7, 2018, 8:55 a.m.