condense.data: Condenses a table of data to provide mean and standard...

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Takes a data frame of uncondensed data (ie. individuals rather than mean) and returns the mean and standard deviation of the data. Given data should have 3 levels of grouping (eg. group, strain and individual), with "individual" being essential. Should also have columns for "variable" and "value", as returned when melting data.

Usage

1

Arguments

data

a data frame containing the data to be condensed

Value

a matrix of the condensed data


jameshay218/mcmcJH documentation built on May 18, 2019, 11:20 a.m.