Description Usage Format Details Methods Active Bindings

This R6 class can request, store and manage the design matrix Xmat, as well as the binary outcome Bin for the logistic regression P(Bin|Xmat). Can also be used for converting data in wide format to long when requested, e.g., when pooling across binary indicators (fitting one pooled logistic regression model for several indicators) The class has methods that perform queries to data storage R6 class DatNet.sWsA to get appropriate data columns & row subsets

1 |

An `R6Class`

generator object

bin_names - Names of the bins.

ID - Vector of observation IDs,

`1:n`

, used for pooling.pooled_bin_name - Original name of the continuous covariate that was discretized into bins and then pooled.

nbins - Number of bins.

outvar - Outcome name.

predvars - Predictor names.

pool_cont - Perform pooling of bins?

outvars_to_pool - Outcome bin indicators to pool?

subset_expr - Defines the subset which would be used for fitting this model (logical, expression or indices).

subset_idx - Subset

`subset_expr`

converted to logical vector.

`new(reg)`

Uses

`reg`

R6`RegressionClass`

object to instantiate a new storage container for a design matrix and binary outcome.`show()`

Print information on outcome and predictor names used in this regression model

`newdata()`

...

`define.subset_idx(...)`

...

`setdata()`

...

`logispredict()`

...

`setdata.long()`

...

`logispredict.long()`

...

`emptydata`

...

`emptyY`

...

`emptySubset_idx`

...

`emptyN`

...

`getXmat`

...

`getY`

...

tmlenet documentation built on May 29, 2017, 2:22 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.