layers2vector: Convert Layer Structure to Vector

Description Usage Arguments Details Value

Description

These functions are used to reorganize the state vector state-wise resp. layer-wise.

Usage

1
2
3
4
5
arrangeStateWise(x, nstates, nlayers)

arrangeLayerWise(x, nstates, nlayers)

layers2vector(x)

Arguments

x

state vector resp. state matrix

nstates

number of state variables

nlayers

number of layers

Details

Functions arrangeStateWise and arrangeLayerWise rearrange state vectors from layer wise (ABCABCABC) to state wise (AAABBBCCC) and vice versa, function layers2vector creates a state vector from a matrix (layers x variables).

Value

rearranged vector of state variables



Search within the rSALMO package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.