Learn R Programming

stremr (version 0.4)

StratifiedModel: R6 class for fitting and predicting with several stratified models for a single outcome variable (conditional on some covariate values)

Description

This R6 class defines and fits a conditional probability model P(A[j]|W,...) for a summary A[j]. This class inherits from GenericModel class. The stratification criteria is determined by the R expression in the field subset_exprs.

Usage

StratifiedModel

Arguments

Format

An R6Class generator object

Methods

Active Bindings

Details

  • reg - .
  • outvar - .
  • subset_exprs - .