Skip to contents

summary.CRTanalysis generates a summary of a CRTanalysis including the main results

Usage

# S3 method for class 'CRTanalysis'
summary(object, ...)

Arguments

object

an object of class "CRTanalysis"

...

other arguments used by summary

Value

No return value, writes text to the console.

Examples

{example <- readdata('exampleCRT.txt')
exampleT <- CRTanalysis(example, method = "T")
summary(exampleT)
}
#> 
#> =====================CLUSTER RANDOMISED TRIAL ANALYSIS =================
#> Analysis method:  T 
#> Link function:  logit 
#> Model formula:  arm + (1 | cluster) 
#> No modelling of spillover 
#> Estimates:       Control: 0.364 (95% CL: 0.286 0.451)
#>             Intervention: 0.21 (95% CL: 0.147 0.292)
#>                 Efficacy: 0.423 (95% CL: 0.208 0.727)
#> Coefficient of variation: 48.425 (95% CL: 35.969 75.865)
#>  
#> P-value (2-sided):  0.006879064