Learn R Programming

embryogrowth (version 5.0)

GenerateConstInc: 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

Value

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

Details

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

Examples

Run this code
temp_cst <- GenerateConstInc(durations=c(150000, 100100, 100000),
	temperatures=c(28, 30.5, 30.6),
	names=c("T28", "T30.5", "T30.6"))

Run the code above in your browser using DataLab