dydt.linear: Return the derivative of the linear function

Description Usage Arguments Details Value Author(s) Examples

View source: R/Linear.R

Description

Return the derivative of the linear function
dydt.linear(t, size, parms)

Usage

1
dydt.linear(t, size, parms)

Arguments

t

The time in any unit

size

The current size

parms

A vector with alpha being c(alpha=x1, K=x2). Only alpha is used.

Details

dydt.Linear returns the derivative of the linear function.

Value

A list with the derivative

Author(s)

Marc Girondot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
library(embryogrowth)
data(nest)
formated <- FormatNests(nest)
# The initial parameters value can be:
# "T12H", "DHA",  "DHH", "Rho25"
# Or
# "T12L", "DT", "DHA",  "DHH", "DHL", "Rho25"
x <- structure(c(306.174998729436, 333.708348843241, 299.856306141849,  
	149.046870203155), .Names = c("DHA", "DHH", "T12H", "Rho25"))
# K or rK are not used for dydt.linear or dydt.exponential
resultNest_4p_linear <- searchR(parameters=x, fixed.parameters=NULL,  
	temperatures=formated, derivate=dydt.linear, M0=1.7,  
	hatchling.metric=c(Mean=39.33, SD=1.92))

## End(Not run)

embryogrowth documentation built on June 4, 2021, 9:05 a.m.