summarySE: Summarize data

View source: R/summarySE.R

summarySER Documentation

Summarize data

Description

Gives count, mean, standard deviation, standard error of the mean, and confidence interval (default 95\%).

Usage

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

Arguments

data

a data frame.

measurevar

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

groupvars

a vector containing names of columns that contain grouping variables

na.rm

a boolean that indicates whether to ignore NA's, defaults to FALSE.

conf.interval

the percent range of the confidence interval (default is 95\%)

.drop

passed to ddply

Value

A data.frame of summary statistics of each variable by grouping variables


CeresBarros/ToolsCB documentation built on Aug. 23, 2024, 4:22 p.m.