as.data.frame.knnst: Convert a 'knnst' object to a 'data.frame'

View source: R/knnst_helpers.R

as.data.frame.knnstR Documentation

Convert a knnst object to a data.frame

Description

knnst objects can be converted to data.frames. When doing so, the disaggregated monthly data are combined with the simulation number, and the index years, are repeated for each month. The rownames of the disaggregated data (yyyy-mm) format are kept, and additional columns are added for year and month, by themselves.

Usage

## S3 method for class 'knnst'
as.data.frame(x, ...)

Arguments

x

A knnst object.

...

additional arguments to be passed to or from methods.


rabutler-usbr/knnstdisagg documentation built on Sept. 14, 2023, 2:47 p.m.