Summary method for the randomizer function

# S3 method for randomizer
summary(object, dec = 3, ...)

Arguments

object

Return value from randomizer

dec

Number of decimals to show

...

further arguments passed to or from other methods

Details

See https://radiant-rstats.github.io/docs/design/randomizer.html for an example in Radiant

See also

randomizer to generate the results

Examples

randomizer(rndnames, "Names", conditions = c("test", "control")) %>% summary()
#> Random assignment (simple random) #> Data : rndnames #> Variables : Names #> Conditions : test control #> Probabilities: 0.5 0.5 #> Random seed : 1234 #> Duplicates : Based on selected variables, no duplicate rows exist #> #> Assigment frequencies: #> #> test control Sum #> 50 50 100 #> #> Assigment proportions: #> #> test control #> 0.5 0.5