Skip to contents

update() modifies the arguments of a lazy test pipeline without changing the method variant or engine.

Usage

# S3 method for class 'test_lazy'
update(object, ...)

Arguments

object

A test_lazy object.

...

Named arguments to update.

Value

The modified test_lazy object.

Examples

sleep |>
    define_model(extra ~ group) |>
    prepare_test(TTEST) |>
    update(.paired = TRUE) |>
    conclude()
#> 
#> == Model ======================================================================= 
#> 
#> Model ID : formula 
#> Args : extra ~ group 
#>     left_var : 1 
#>     right_var : 1 
#> 
#> == T-Test ====================================================================== 
#> 
#> -- Summary ---------------------------------------------------------------------
#> 
#> ───────────────────────────────────────────────────────
#>   groups     type     est_type   est    t-stat  pval   
#> ───────────────────────────────────────────────────────
#>   group   two sample  mu_diff   -1.580  -1.861  0.079  
#> ───────────────────────────────────────────────────────
#> 
#> 
#> -- Confidence Interval ---------------------------------------------------------
#> 
#> ──────────────────────────────────────────
#>   groups     type     lower_95  upper_95  
#> ──────────────────────────────────────────
#>   group   two sample   -3.365    0.205    
#> ──────────────────────────────────────────
#> 
#>