as_fhx {burnr}R Documentation

Cast data frame or list-like to fhx object

Description

Cast data frame or list-like to fhx object

Usage

as_fhx(x)

Arguments

x

A data frame or list-like object to cast. Must have named elements for "year", "series", and "rec_type".

Value

x cast to an fhx object.

See Also

Examples

data(lgr2)
example_dataframe <- as.data.frame(lgr2)
back_to_fhx <- as_fhx(example_dataframe)


[Package burnr version 0.6.1 Index]