Learn R Programming

GGIR (version 3.2-0)

correctOlderMilestoneData: Corrects milestone data from g.part1 generated in older GGIR versions

Description

Some older versions of GGIR stored the milestone data in part 1 as factor. This function identifies when that occurs and convert the affected columns to the appropriate class (e.g., numeric).

Usage

correctOlderMilestoneData(x)

Value

Data frame with the class fixed in the appropriate columns (i.e., light and temperature columns)

Arguments

x

Data frame with metashort or metalong data as generated in g.part1

Examples

Run this code
  if (FALSE) {
    correctOlderMilestoneData(x)
  }

Run the code above in your browser using DataLab