Skip to contents

Print Reliability Analysis Results

Usage

# S3 method for class 'tna_reliability'
print(x, summary_metrics, ...)

Arguments

x

A tna_reliability object.

summary_metrics

A character vector of metrics to display.

...

Arguments passed to the generic print method.

Value

x (invisibly).

Examples

# Small number of iterations for CRAN
model <- tna(engagement)
rel <- reliability(model, iter = 20)
print(rel)
#> Reliability summary
#> # A tibble: 4 × 8
#>   metric               mean       sd  median     min    max     q25     q75
#>   <chr>               <dbl>    <dbl>   <dbl>   <dbl>  <dbl>   <dbl>   <dbl>
#> 1 Mean Abs. Diff.   0.00757 0.00237  0.00734 0.00344 0.0120 0.00591 0.00885
#> 2 Median Abs. Diff. 0.00586 0.00244  0.00588 0.00272 0.0120 0.00376 0.00759
#> 3 Pearson           1.000   0.000318 1.000   0.999   1.000  0.999   1.000  
#> 4 Bray-Curtis       0.0113  0.00355  0.0110  0.00517 0.0180 0.00886 0.0133