check_Phi: Check Interpretation 'Phi' Argument

View source: R/user-help.R

check_PhiR Documentation

Check Interpretation Phi Argument

Description

Write a textual interpretation of the values in Phi. This can be used to check if Phi has been correctly specified.

Usage

check_Phi(Phi)

Arguments

Phi

A matrix, with standardized autoregressive effects (on the diagonal) and cross-lagged effects (off-diagonal) in the population. Columns represent predictors and rows represent outcomes.

Value

No return value, called for side effects.

Examples

# Correctly specified `Phi`
Phi1 <- matrix(c(.4, .1, .2, .3), ncol = 2, byrow = TRUE)
check_Phi(Phi1)

# `Phi` with too large standardized effects
Phi2 <- matrix(c(.6, .5, .4, .7), ncol = 2, byrow = TRUE)
Phi2 <- check_Phi(Phi2)

powRICLPM documentation built on Oct. 26, 2024, 5:14 p.m.