Summary method for the single_mean function

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

Arguments

object

Return value from single_mean

dec

Number of decimals to show

...

further arguments passed to or from other methods

Details

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

See also

single_mean to generate the results

plot.single_mean to plot results

Examples

result <- single_mean(diamonds, "price") summary(result)
#> Single mean test #> Data : diamonds #> Variable : price #> Confidence: 0.95 #> Null hyp. : the mean of price = 0 #> Alt. hyp. : the mean of price is not equal to 0 #> #> mean n n_missing sd se me #> 3,907.186 3,000 0 3,956.915 72.243 141.651 #> #> diff se t.value p.value df 2.5% 97.5% #> 3907.186 72.243 54.084 < .001 2999 3765.535 4048.837 *** #> #> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
diamonds %>% single_mean("price") %>% summary()
#> Single mean test #> Data : . #> Variable : price #> Confidence: 0.95 #> Null hyp. : the mean of price = 0 #> Alt. hyp. : the mean of price is not equal to 0 #> #> mean n n_missing sd se me #> 3,907.186 3,000 0 3,956.915 72.243 141.651 #> #> diff se t.value p.value df 2.5% 97.5% #> 3907.186 72.243 54.084 < .001 2999 3765.535 4048.837 *** #> #> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1