check_Phi {powRICLPM}R 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)

[Package powRICLPM version 0.1.1 Index]