factor_score_trajectory function

Plotting figures for factor score trajectory.

Plotting figures for factor score trajectory.

This function is used to visualize results of factor score trajectories.

factor_score_trajectory( factor_score_matrix, factor_index, person_index, trajectory_title, cex_main = 1 )

Arguments

  • factor_score_matrix: A matrix of dimension (q, k, n), used to store results for factor scores.
  • factor_index: A numeric scalar. Index of the factor of interest.
  • person_index: A numeric scalar. Index of the person of interest.
  • trajectory_title: A character. Title for the factor trajectory plot.
  • cex_main: A numeric scalar. Text size of the title.

Returns

Trajectory of the designated person-factor.

Examples

# See examples in vignette vignette("bsfadgp_regular_data_example", package = "DGP4LCF")
  • Maintainer: Jiachen Cai
  • License: MIT + file LICENSE
  • Last published: 2025-03-08

Useful links