GenerateConstInc: Generate a data.frame with constant incubation temperature...

View source: R/GenerateConstInc.R

GenerateConstIncR Documentation

Generate a data.frame with constant incubation temperature and incubation duration

Description

Generate a data.frame from constant incubation temperature and incubation duration

Usage

GenerateConstInc(
  durations = stop("At least one incubation length must be provided"),
  temperatures = stop("At least one incubation temperature must be provided"),
  names = NULL
)

Arguments

durations

A vector with incubation durations

temperatures

A vector with incubation temperatures

names

A vector of column names

Details

GenerateConstInc generates a data.frame with constant incubation temperature and incubation duration

Value

A date.frame that can be used with FormatNests()

Author(s)

Marc Girondot

Examples

## Not run: 
temp_cst <- GenerateConstInc(durations=c(150000, 100100, 100000), 
temperatures=c(28, 30.5, 30.6), 
	names=c("T28", "T30.5", "T30.6"))

## End(Not run)

embryogrowth documentation built on Oct. 24, 2023, 5:07 p.m.