meltWideData: Melt our data sets

View source: R/fileRead.R

meltWideDataR Documentation

Melt our data sets

Description

melts our specific format

Usage

meltWideData(wideData, resultTypes, stateGroups = list(),
  splitColumn = NULL, splitFunction = NULL)

Arguments

wideData

a data.frame with columns of the same valueKind

resultTypes

a data.frame with columns:

DataColumn

the string that will match column names of wideData

Kind

the valueKind of each row

Units

the unit of that row

Conc

the tested concentration of that row

ConcUnits

the tested concenration unit of that row

stateGroups

definitions for how to group states (see genericDataParserConfiguration.R), passed to splitFunction

splitColumn

the column name in wideData to split groups on

splitFunction

a function to use in secondary splitting of rows

Details

resultTypes should not have a factor in DataColumn- order breaks


mcneilco/racas documentation built on April 19, 2024, 1:12 p.m.