R script for determination of temperature response types