Learn R Programming

NMAR (version 0.1.2)

scale_coefficients: Map unscaled coefficients to scaled space

Description

Map unscaled coefficients to scaled space

Usage

scale_coefficients(beta_unscaled, recipe, columns)

Value

numeric vector of coefficients in the scaled space, ordered by columns.

Arguments

beta_unscaled

named numeric vector of coefficients for the response model on the original scale, including an intercept named "(Intercept)".

recipe

Scaling recipe of class nmar_scaling_recipe, or NULL.

columns

character vector of column names (order) for the scaled design matrix (including intercept).