gp_as_df: Transform the state matrix into a data frame

Description Usage Arguments Examples

View source: R/dynamics_gp.R

Description

Transform the state matrix into a data frame

Usage

1
gp_as_df(state, method = NULL)

Arguments

state

can be both a vector (one sample) or an ensemble qxk

Examples

1
2
3
4
gp_data <- gp_simulate(q=100)
xb <- gp_ens0(20, gp_data)
(xb_df <- gp_as_df(xb))
(xtrue_df <- gp_as_df(gp_data$x))

robertsy/assimilr documentation built on May 27, 2019, 10:33 a.m.