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

View source: R/correctOlderMilestoneData.R

correctOlderMilestoneDataR Documentation

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)

Arguments

x

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

Value

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

Examples

  ## Not run: 
    correctOlderMilestoneData(x)
  
## End(Not run)

GGIR documentation built on Oct. 17, 2023, 1:12 a.m.