Learn R Programming

bdsm (version 0.1.1)

SEM_psi_matrix: Matrix with psi parameters for SEM representation

Description

Matrix with psi parameters for SEM representation

Usage

SEM_psi_matrix(psis, timestamps_n, features_n)

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

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)

Examples

Run this code
SEM_psi_matrix(1:30, 4, 5)

Run the code above in your browser using DataLab