Learn R Programming

embryogrowth (version 6.2)

GenerateAnchor: Generate a set of anchored parameters

Description

Generate a set of anchored parameters. It is important that the anchors (i.e. the temperatures used as anchors) encompass the highest and lowest temperatures that are present in nests.

Usage

GenerateAnchor(temperatures = NULL, nests = NULL, parameters = NULL, number.anchors = 7)

Arguments

temperatures
A vector with temperatures to serve as anchors
nests
Formated nest data or result object obtained from searchR()
parameters
A set of parameters value
number.anchors
Number of anchors

Value

A vector with parameters

Details

GenerateAnchor Generate a set of anchored parameters

Examples

Run this code
## Not run: 
# # Example to generate anchored parameters
# newp <- GenerateAnchor()
# newp <- GenerateAnchor(temperatures=seq(from=20, 
#   to=35, length.out=7))
# newp <- GenerateAnchor(number.anchors=7)
# data(nest)
# formated <- FormatNests(nest, previous=NULL)
# newp <- GenerateAnchor(nests=formated)
# newp <- GenerateAnchor(nests=formated, number.anchors=10)
# data(resultNest_4p)
# newp <- GenerateAnchor(nests=resultNest_4p, number.anchors=7)
# newp <- GenerateAnchor(nests=resultNest_4p, temperatures=seq(from=20,
#  to=35, length.out=10))
# newp <- GenerateAnchor(nests=resultNest_4p, number.anchors=7)
# newp <- c(newp, Scale=1)
# ## End(Not run)

Run the code above in your browser using DataLab