Skip to contents

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

Usage

# S3 method for 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)
}
#> No non-linear parameter.  No fixed effects of distance -
#> 
#> =====================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:  41.6 %  (95% CL:  31.2 63.1 )
#>  
#> P-value (2-sided):  0.006879064