summarySE: Summarizes data.

Usage Arguments

Usage

1
2
summarySE(data = NULL, measurevar, groupvars = NULL, na.rm = FALSE,
  conf.interval = 0.95, .drop = TRUE, pce_less_than_zero = FALSE)

Arguments

data

a data frame.

measurevar

the name of a column that contains the variable to be summariezed

groupvars

a vector containing names of columns that contain grouping variables

na.rm

a boolean that indicates whether to ignore NA's

conf.interval

the percent range of the confidence interval (default is 95

\item

pce_less_than_zeroif TRUE, function will report the percentage of observation that is < 0

Gives count, mean, standard deviation, standard error of the mean, and confidence interval (default 95 ## Not run: data("SegData") summarySE(SegData, measurevar = "income", na.rm = T) ## End(Not run)

Hui Lin, longqiman@gmail.com


happyrabbit/DataScienceR documentation built on May 17, 2019, 2:41 p.m.