numSummary {webr} | R Documentation |
Numerical Summary
Description
Numerical Summary
Usage
numSummary(x, ..., digits = 2, lang = "en")
numSummary1(x, ..., digits = 2, lang = "en")
numSummary2(x, ..., digits = 2, lang = "en")
Arguments
x |
A numeric vector or a data.frame or a grouped_df |
... |
further arguments to be passed |
digits |
integer indicating the number of decimal places |
lang |
Language. choices are one of c("en","kor") |
Functions
-
numSummary1
: Numerical Summary of a data.frame or a vector -
numSummary2
: Numerical Summary of a grouped_df
Examples
require(moonBook)
require(magrittr)
require(dplyr)
require(rrtable)
require(webr)
require(tibble)
numSummary(acs)
numSummary(acs$age)
numSummary(acs,age,EF)
acs %>% group_by(sex) %>% numSummary(age,BMI)
acs %>% group_by(sex) %>% select(age) %>% numSummary
acs %>% group_by(sex) %>% select(age,EF) %>% numSummary
acs %>% group_by(sex,Dx) %>% select(age,EF) %>% numSummary
acs %>% group_by(sex,Dx) %>% select(age) %>% numSummary
#acs %>% group_by(sex,Dx) %>% numSummary(age,EF,lang="kor")
[Package webr version 0.1.5 Index]