load_dataframe: Returns an av_state for data loaded from a data.frame

View source: R/load_dataframe.r

load_dataframeR Documentation

Returns an av_state for data loaded from a data.frame

Description

This function constructs an object of class av_state based on a given data.frame.

Usage

load_dataframe(df, net_cfg, log_level = 0)

Arguments

df

a data.frame with features in columns and measurements in rows.

net_cfg

a net_cfg object providing metadata about the networks

log_level

sets the minimum level of output that should be shown (a number between 0 and 3). A lower level means more verbosity. Specify a log_level of 3 to hide messages about the data set that was loaded.

Value

This function returns the newly created av_state object.

Examples

av_state <- load_dataframe(generate_test_data(),new_net_cfg())
print(av_state)

roqua/autovar documentation built on Jan. 21, 2023, 7:37 p.m.