fit_two_factor_model: Fit a two-factor model as per Tolochko and Boomgaarden

Description Usage Arguments Value

View source: R/metrics.R

Description

This function fits a two-factor model of text complexity as per Tolochko and Boomgaarden (2019).

Usage

1
fit_two_factor_model(raw_scores, rotate = "oblimin")

Arguments

raw_scores

raw_scores extracted by calculate_textplex()

rotate

which rotation to use. The original implementation uses "oblimin". Please consult ?psych::fa for other options.

Value

a psych::principal fit.


chainsawriot/textplex documentation built on March 19, 2020, 3:39 a.m.