Estimate the parameters that best describe the sexualisation thermal reaction norm within the TSP.
The sexratio parameter is a character string which can be:
TSP.TimeWeighted.sexratio.mean
Sex ratio based on average temperature during the TSP
TSP.GrowthWeighted.sexratio.mean
Sex ratio based on average temperature weighted by the actual growth during the TSP
TSP.TimeWeighted.GrowthRateWeighted.sexratio.mean
Sex ratio based on average temperature weighted by the growth rate during the TSP
TSP.TimeWeighted.STRNWeighted.sexratio.mean
Sex ratio based on average temperature weighted by the thermal reaction norm of sexualization during the TSP
TSP.GrowthWeighted.STRNWeighted.sexratio.mean
Sex ratio based on average temperature weighted by the actual growth and thermal reaction norm of sexualization during the TSP
TSP.TimeWeighted.GrowthRateWeighted.STRNWeighted.sexratio.mean
Sex ratio based on average temperature weighted by the growth rate and the thermal reaction norm of sexualization during the TSP
MiddleThird.TimeWeighted.sexratio.mean
Sex ratio based on average temperature during the middle third incubation
MiddleThird.GrowthWeighted.sexratio.mean
Sex ratio based on average temperature weighted by actual growth during the middle third incubation
MiddleThird.TimeWeighted.GrowthRateWeighted.sexratio.mean
Sex ratio based on average temperature weighted by growth rate during the middle third incubation
TimeWeighted.sexratio.mean
Sex ratio based on average temperature during all incubation
GrowthWeighted.sexratio.mean
Sex ratio based on average temperature weighted by actual growth during all incubation
TimeWeighted.GrowthRateWeighted.sexratio.mean
Sex ratio based on average temperature weighted by growth rate during all incubation
TSP.PM.TimeWeighted.mean
Average sex ratio based on temperature during the TSP
TSP.PM.GrowthWeighted.mean
Average sex ratio based on temperature weighted by the actual growth during the TSP
TSP.PM.TimeWeighted.GrowthRateWeighted.mean
Average sex ratio based on temperature weighted by the growth rate during the TSP
If information for sex is not known for some timeseries, set NA for Sexed.
Sexed, Males and Females must be vectors with names. The names must be the same as
the names of timeseries of temperatures in EmbryoGrowthTRN.
Only two of these 3 parameters are required: Males, Females and Sexed
Note: four species have predefined embryo stages. embryo.stages parameter can take the values:
Caretta caretta.SCL
Chelonia mydas.SCL
Emys orbicularis.SCL
Emys orbicularis.mass
Podocnemis expansa.SCL
Lepidochelys olivacea.SCL
Generic.ProportionDevelopment
A fifth name fitted
must be used when limits of TSP are fitted using BeginTSP
and EndTSP
parameters.
The parameters that can be used in STRN are:
BeginTSP
, EndTSP
are the logit of the proportion of development;
To ensure that BeginTSP
< EndTSP
, it is better to use:
BeginTSP
, LengthTSP
and then EndTSP
is estimated using BeginTSP
+ abs(LengthTSP)
DHA
, DHH
, T12H
are the SSM parameters of sexualisation thermal reaction norm;
dbeta_mu
, dbeta_v
are the beta mean and variance of the impact of sexualisation according to TSP progress.
Or any parameter that can be used in a TSD model.
STRN(
EmbryoGrowthTRN = stop("Embryo Growth Thermal Reaction Norm must be provided"),
Initial_STRN = NULL,
fixed.parameters = NULL,
TSP.borders = NULL,
embryo.stages = NULL,
TSP.begin = 0,
TSP.end = 0.5,
tsd = NULL,
equation = "logistic",
Sexed = NULL,
Males = NULL,
Females = NULL,
sexratio = "TSP.TimeWeighted.GrowthRateWeighted.STRNWeighted.sexratio.mean",
fill = 60,
parallel = TRUE,
itnmax = 1000,
method = c("Nelder-Mead", "BFGS"),
control = list(trace = 1, REPORT = 10),
zero = 1e-09,
verbose = FALSE,
hessian = TRUE
)
The list with object return by optim()
The Embryo Growth Thermal Reaction Norm obtained with searchR()
Values for initial model of Sexualisation Thermal Reaction Norm or tsd model
Value for Sexualisation Thermal Reaction Norm or tsd model that will not be changed
The limits of TSP in stages. See embryo.stages parameter.
The embryo stages. At least TSP.borders stages must be provided to estimate TSP borders. See note.
Where TSP begin during the stage of beginning? In relative proportion of the stage.
Where TSP begin during the stage of ending? In relative proportion of the stage.
The model used to predict sex ratio, obtained from tsd()
If tsd parameter is not provided, equation and parameters in Initial_STRN for tsd model must be provided.
The number of sexed embryos with names identifying timeseries
The number of males embryos with names identifying timeseries
The number of females embryos with names identifying timeseries
The sex ratio to be used
See info.nests()
Should parallel computing for info.nests() be used
Maximum number of iterations for each method; if 0, just return the likelihood
Methods to be used with optimx
List for control parameters for optimx
The value to replace a null sex ratio
If TRUE, will show all intermediate parameters during fit
If TRUE, the Hessian approximation is estimated atthe end of the fit.
Marc Girondot marc.girondot@gmail.com
STRN estimates the parameters that best describe the sexualisation thermal reaction norm within the TSP