View source: R/GenerateAnchor.R
GenerateAnchor | R Documentation |
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.
The value for each anchor is R * 1E5. The 1E5 factor allows to value to be close to unity.
GenerateAnchor(
temperatures = NULL,
nests = NULL,
parameters = NULL,
number.anchors = 7
)
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 |
GenerateAnchor Generate a set of anchored parameters
A vector with parameters
Marc Girondot
## 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_SSM)
newp <- GenerateAnchor(nests=resultNest_4p_SSM, number.anchors=7)
newp <- GenerateAnchor(nests=resultNest_4p_SSM, temperatures=seq(from=20,
to=35, length.out=10))
newp <- GenerateAnchor(nests=resultNest_4p_SSM, number.anchors=7)
newp <- c(newp, Scale=1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.