Natural scale data is converted to a base 2 log scale before model fitting. This function reverses that transformation and may be useful if working directly with fitted parameters. This function does not modify the provided data.table in-place, but returns a transformed copy.

convert_log2_scale_inverse(dt_in, vars_to_transform)

Arguments

dt_in

data.table containing data to be transformed from base 2 log to natural scale.

vars_to_transform

Names of columns to apply the transformation to.

Value

A data.table, identical to the input data but with specified columns transformed.