Learn R Programming

embryogrowth (version 5.1)

plot.tsd: Plot results of tsd() that best describe temperature-dependent sex determination

Description

Plot the estimates that best describe temperature-dependent sex determination

Usage

## S3 method for class 'tsd':
plot(x, ..., se = NULL, l = 0.05, males.freq = TRUE,
  las.x = 1, las.y = 1, lab.PT = "Pivotal temperature",
  lab.TRT = paste0("Transitional range of temperatures l=", l * 100, "\%"),
  col.TRT = "gray", col.TRT.CI = rgb(0.8, 0.8, 0.8, 0.5),
  col.PT.CI = rgb(0.8, 0.8, 0.8, 0.5), show.CI = TRUE, replicate = 1000,
  range.CI = 0.95, limit.low.TRT.minimum = 5, limit.high.TRT.maximum = 90,
  print = TRUE)

Arguments

x
A result file generated by tsd()
...
Parameters for plot()
se
Standard error for parameters
l
The limit to define TRT (see Girondot, 1999)
males.freq
Should the graph uses males frequency [TRUE] or females [FALSE]
las.x
las parameter for x axis
las.y
las parameter for y axis
lab.PT
Label to describe pivotal temperature
lab.TRT
Label to describe transitional range of temperature
col.TRT
The color of TRT
col.TRT.CI
The color of CI of TRT based on range.CI
col.PT.CI
The color of CI of PT based on range.CI
show.CI
Do the CI for the curve should be shown
replicate
Number of replicate to estimate SE of TRT
range.CI
The range of confidence interval for estimation, default=0.95
limit.low.TRT.minimum
Minimum lower limit for TRT
limit.high.TRT.maximum
Maximum higher limit for TRT
print
Do the results must be printed at screen? TRUE or FALSE

Value

  • A list the pivotal temperature, transitional range of temperatures and their SE

Details

plot.tsd plot result of tsd() that best describe temperature-dependent sex determination

References

Girondot, M. 1999. Statistical description of temperature-dependent sex determination using maximum likelihood. Evolutionary Ecology Research, 1, 479-486.

Godfrey, M.H., Delmas, V., Girondot, M., 2003. Assessment of patterns of temperature-dependent sex determination using maximum likelihood model selection. Ecoscience 10, 265-272.

Hulin, V., Delmas, V., Girondot, M., Godfrey, M.H., Guillon, J.-M., 2009. Temperature-dependent sex determination and global change: are some species at greater risk? Oecologia 160, 493-506.

Girondot M., Submited. On the concept of embryological thermosensitive period for sex determination in reptiles.

Examples

Run this code
CC_AtlanticSW <- subset(STSRE_TSD, RMU=="Atlantic, SW" &
                          Species=="Caretta caretta" & Sexed!=0)
par(mar=c(4,4,5,1)+0.1)
tsdL <- with (CC_AtlanticSW, tsd(males=Males, females=Females,
                                 temperatures=Incubation.temperature-Correction.factor,
                                 equation="logistic"))
plot(tsdL)

Run the code above in your browser using DataLab