tests/testthat/_snaps/analysis_class.md

show works for Analysis

Code
  show(object)
Output
  Analysis Object

  Outcome model: OutcomeSurvExponential 
  Outcome variables: time cnsr

  Borrowing method: Full borrowing 
  External flag: ext

  Treatment variable: trt

  Covariates: cov1 cov2

  Data: Matrix with 500 observations 
      -  50  internal controls
      -  350  external controls 
      -  100  internal experimental

  Not ready to sample yet.

show works without covariates

Code
  show(object)
Output
  Analysis Object

  Outcome model: OutcomeSurvExponential 
  Outcome variables: time cnsr

  Borrowing method: Full borrowing 
  External flag: ext

  Treatment variable: trt

  Data: Matrix with 500 observations 
      -  50  internal controls
      -  350  external controls 
      -  100  internal experimental

  Not ready to sample yet.

show works with no borrowing

Code
  show(object)
Output
  Analysis Object

  Outcome model: OutcomeSurvExponential 
  Outcome variables: time cnsr

  Borrowing method: No borrowing 
  External flag: ext

  Treatment variable: trt

  Data: Matrix with 500 observations 
      -  50  internal controls
      -  350  external controls  (ignored in this analysis)
      -  100  internal experimental

  Not ready to sample yet.


Try the psborrow2 package in your browser

Any scripts or data that you put into this service are public.

psborrow2 documentation built on April 4, 2025, 12:37 a.m.