generate_response: Simulate the response data given covariates, beta and DGP...

Description Usage Arguments Value

View source: R/response.R

Description

Simulate the response data given covariates, beta and DGP specification.

Usage

1

Arguments

X

matrix; data containing the covariates

beta

numeric vector; coefficients of the linear predictors.

family

family object; see "?family" for more details.

f

function; transformation for the covariates.

Value

a dataframe; the simulated data.


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