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.00729 0.00223  0.00659 0.00463 0.0130 0.00566 0.00841
#> 2 Median Abs. Diff. 0.00569 0.00230  0.00573 0.00245 0.0109 0.00377 0.00687
#> 3 Pearson           1.000   0.000323 1.000   0.999   1.000  0.999   1.000  
#> 4 Bray-Curtis       0.0109  0.00334  0.00988 0.00694 0.0194 0.00849 0.0126