back_trans {mbr}R Documentation

Back-transformation

Description

Transform the reconstructed values back to the flow space and convert to data.table

Usage

back_trans(hat, years, mus, sigmas, log.trans, N, season.names)

Arguments

hat

A vector of estimated flow in the transformed space.

years

A vector of all years in the study period

mus

A vector of means, one for each target.

sigmas

A vector of the standard deviations, one for each target.

log.trans

A vector containing the indices of the columns to be log-transformed.

N

The number of targets (number of seasons plus one for the annual reconstruction).

season.names

A character vector containing the names of the seasons

Value

A data.table with three columns: Q (the back-transformed streamflow), season, and year.


[Package mbr version 0.0.1 Index]