WISEsummary: WISEsummmary

Description Usage Arguments Value Examples

View source: R/summarising.R

Description

Within-subject Error Summary

Usage

1
2
WISEsummary(data, dependentvars, betweenvars = NULL, withinvars = NULL,
  idvar = NULL, CI_width = 0.95, na.rm = FALSE)

Arguments

data

A data frame

dependentvars

Character vector giving the dependent variable

betweenvars

Character vector giving the between subject variables

withinvars

Character vector giving the within subject variables

idvar

Character vector giving the name of the column holding subject identifiers

CI_width

Numeric vector giving the confidence level for computing the confidence interval boundaries. Must be between 0 and 1, non-inclusive.

na.rm

a logical value indicating whether NA values should be removed from the Dependent Variables.

Value

A data frame

Examples

1
2
3
4
5
6
7
library(whoppeR)
head(MemoryDrugs)
collapsed <- WISEsummary(MemoryDrugs,
                         dependentvars = "Recall",
                         idvar = "Subject",
                         betweenvars = c("Gender", "Dosage"),
                         withinvars = c("Task", "Valence"))

wjhopper/whoppeR documentation built on May 4, 2019, 7:33 a.m.