data(ImbrieKipp)
data(SumSST)
## default plot
caterpillar(ImbrieKipp, SumSST)
## customisation
opttol <-
caterpillar(ImbrieKipp, SumSST, col = "red2",
bg = "yellow", lcol = "blue",
xlab = expression(Summer ~ Sea ~ Surface ~
Temperature~(degree*C)))
## invisibly returns the optima and tolerances
head(opttol)
Run the code above in your browser using DataLab