summarySE {ggiraphExtra}R Documentation

Summarize a continuous variable by groups with mean, sd and SE

Description

Summarize a continuous variable by groups with mean, sd and SE

Usage

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

Arguments

data

A data.frame

measurevar

A name of variable to measure a mean and sd

groupvars

Name(s) of variable used as a grouping variables

conf.interval

confidence interval

na.rm

A logical value indicating whether or not remove NA values

.drop

should combinations of variables that do not appear in the input data be preserved (FALSE) or dropped (TRUE, default)

Value

A data.frame summarized a continuous variable by groups with mean, sd and SE


[Package ggiraphExtra version 0.3.0 Index]