factor_score_trajectory {DGP4LCF}R Documentation

Plotting figures for factor score trajectory.

Description

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

Usage

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.

Value

Trajectory of the designated person-factor.

Examples

# See examples in vignette
vignette("bsfadgp_regular_data_example", package = "DGP4LCF")


[Package DGP4LCF version 1.0.0 Index]