paper_mean_functions: paper_mean_functions

Description Usage Value

View source: R/paper_mean_functions.R

Description

Generates the four different mean functions used for simulations in the paper.

Usage

1

Value

List of four functions that take in a matrix and output a vector of means:

constant_mu

Vector of zeroes

linear_mu

The matrix multiplied by a random vector.

sign_mu

Literally sign(x_mat[, 1])

non_linear_mu

Messy non-linear function of the data matrix


rzgross/uRbanmatching documentation built on Dec. 22, 2021, 8:20 p.m.