extract-method: 'extract' methods for some objects.

extractR Documentation

extract methods for some objects.

Description

extract method for slseFit objects created by the estSLSE function.

extract method for cslse objects created by the causalSLSE function.

extract method for altCausal objects created by the functions in the list of alternative methods: altCausal.

Usage

## S4 method for signature 'slseFit'
extract(
  model,
  include.rsquared = TRUE,
  include.adjrs = TRUE, 
  include.nobs = TRUE,
  include.fstatistic = FALSE,
  include.rmse = FALSE,
  ...)

## S4 method for signature 'cslse'
extract(
    model,
    include.nobs = TRUE,
    include.nknots = TRUE,
    include.numcov = TRUE,
    include.rsquared = TRUE,
    include.adjrs=TRUE,
    separated.rsquared = FALSE,    
    which = c("ALL","ACE","ACT","ACN","ACE-ACT","ACE-ACN","ACT-ACN"),
    ...)

## S4 method for signature 'altCausal'
extract(
    model,
    include.nobs = TRUE,
    ...)

Arguments

model

A model object.

include.nobs

Report the number of obervations?

include.nknots

Report the total number of knots for each group?

include.numcov

Report the total number of covariates (including interactions is any) per group?

include.rsquared

Report the R-squared of the final regression estimation

include.adjrs

Report the adjusted R-squared of the final regression estimtion

separated.rsquared

Should we print the R-squared separately for each group? This applies as well to the adjusted R-squared.

which

Which causal effect measures should be printed?

include.fstatistic

Report the F-statistics?

include.rmse

Report the RMSE?

...

Custom parameters, which are handed over to subroutines. Currently not in use.

Value

It returns an object of class texreg.


causalSLSE documentation built on Aug. 28, 2025, 3 a.m.