powered by
Provides three levels of detail regarding descriptive statistics for a data frame. Based on describe() function from psych package
varDescribe(Data, Detail = 2, Digits=2)
a data frame
Indicates level of detail for descriptives, 1=minimal, 2=typical (default), 3= detailed
Number of decimal places to display; NULL = display all sig digits. Default =2.
Returns table with descriptive statistics rounded to digits.
describe lm.describeGroups describe.by
# NOT RUN { ##NOT RUN ##varDescribe(BAC) ##varDescribe(BAC, Detail=3) ##varDescribe(BAC, Detail=2, Digits=1) # }
Run the code above in your browser using DataLab