summarySD: Summary of data

Usage Arguments

View source: R/general_tools.r

Usage

1
2
summarySD(data = NULL, measurevar, groupvars, error = "sd", na.rm = FALSE,
  conf.interval = 0.95, .drop = TRUE)

Arguments

data

A data frame containing the data to be summarised.

measurevar

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

groupvars

A vector containing names of columns that contain grouping variables.

error

Error type (sd, se or ci) to be used. Defaults to sd.

na.rm

A boolean that indicates whether to ignore NA's

conf.interval

The percent range of the confidence interval (default is 95

A data frame containing the summarised data. Summarises a data frame, based on levels of a specified factor.


robbriers/mytools documentation built on Dec. 12, 2020, 1:14 p.m.