reduce_data_weights: Reduce the weights such that it rounds to 'nice' numbers.

Description Usage Arguments Details

View source: R/beta_coefficients.R

Description

Reduce the weights such that it rounds to 'nice' numbers.

Usage

1
reduce_data_weights(data_model_obj, N, by = 1, choose = "random", family)

Arguments

data_model_obj

An object from 'generate_response_with_ratio'.

N

Number of weights to be trimmed.

by

Integer; desired decrement for each weight.

choose

One of 'random' and 'top'. If 'random', the function reduces a random set of N weights. If 'top', the function reduces the heaviest N weights.

family

GLM family, see "?family" for details.

Details

Not for external users.


kcf-jackson/glmSimData documentation built on May 20, 2019, 8:15 a.m.