Skip to contents

[Experimental]

Help function summarizes the statistics as needed.

Usage

h_summarize(x, conf.level = 0.95)

Arguments

x

(numeric)
input numeric vector.

conf.level

(numeric)
significance level, default is 0.95.

Value

a verctor contains several statistics, such as n, mean, median, min, max, q25, q75, sd, se, limit of agreement of limit and confidence interval .

Examples

h_summarize(1:50)
#>       n mean median min max    q1    q3       sd       se  limit_lr limit_ur
#> [1,] 50 25.5   25.5   1  50 13.25 37.75 14.57738 2.061553 -3.071139 54.07114
#>         ci_lr    ci_ur
#> [1,] 21.45943 29.54057