parcelMe: Parcels a dataframe with item columns

View source: R/parcelMe.R

parcelMeR Documentation

Parcels a dataframe with item columns

Description

The function accepts a data frame containing items and generates parcels, e.g. for Structural Equation Modelling, according to the parameters specified below.

Usage

parcelMe(
  data,
  nParcels = 3,
  parcelName = "parcel",
  parallelizedBy = "loadings"
)

Arguments

data

Matrix / DataFrame with items in columns. For parallelizedBy =="IAT", data must be a logfile prepared for the cleanIAT() function of the IAT package.

nParcels

Number of parcels to build. Default is 3.

parcelName

Name stem of parcel names to which the parcelnumber will be added. Default is "parcel".

parallelizedBy

Method to build parallel parcels. Can be "loadings", "discrimination" or "IAT". Factor loadings are computed by a PAF with oblique rotation. Default is "loadings". For "IAT" the data must be a logfile prepeared for the use of the cleanIAT() function of the IAT package.

Value

Returns a data frame containing the parcels.

Author(s)

Axel Zinkernagel zinkernagel@uni-landau.de

Examples

# Axel: fix me


axzinker/axBoost documentation built on July 4, 2024, 9:14 p.m.