SEM_psi_matrix: Matrix with psi parameters for SEM representation

SEM_psi_matrixR Documentation

Matrix with psi parameters for SEM representation

Description

Matrix with psi parameters for SEM representation

Usage

SEM_psi_matrix(psis, timestamps_n, features_n)

Arguments

psis

double vector with psi parameter values

timestamps_n

number of time stamps (e.g. years)

features_n

number of features (e.g. population size, investment rate)

Value

A matrix with timestamps_n rows and (timestamps_n - 1) * feature_n columns. Psis are filled in row by row in a block manner, i.e. blocks of size feature_n are placed next to each other

Examples

SEM_psi_matrix(1:30, 4, 5)

bdsm documentation built on April 4, 2025, 1:06 a.m.