ReadTempScape: ReVuePro: ReadTempScape

Description Usage Arguments Examples

View source: R/ReadTempScape_function.R

Description

A function to read in .CSV TempScape files, produced using the Temp_Scape, or Temp_ScapeET functions.

Usage

1
ReadTempScape(file, manip = NULL, plot = "FALSE")

Arguments

file

The path to a .CSV "TempScape" file, or list of .CSV "TempScape" files. There is no default input.

manip

The type of manipulation/calculation you wish to apply to the "Temperature" column of the .CSV "TempScape" file. Options include: "dist2Tmax" = distance in pixels to the coordinate with maximum temperature in absolute value form, "dist2Tmin" = distance in pixels to the coordinate with minimum temperature in absolute value form, "dist2xmax" = distance in pixels to the x coordinate with maximum temperature in absolute value form, "dist2xmin" = distance in pixels to the x coordinate with minumum temperature in absolute value form, "dist2ymax" = distance in pixels to the y coordinate with maximum temperature in absolute value form, "dist2ymin" = distance in pixels to the y coordinate with minimum temperature in absolute value form, "diff2Tmax" = difference in degrees Celsius of a given coordinate to the maximum temperature, "diff2Tmin" = difference in degrees Celsius of a given coordinate to the minimum temperature, "diff2xmax" = equivalent to "dist2xmax" but not in absolute value form, "diff2xmin" = equivalent to "dist2xmin" but not in absolute value form, "diff2ymax" = equivalent to "dist2ymax" but not in absolute value form, "diff2ymin" = equivalent to "dist2ymin" but not in absolute value form. All manipulation outputs will be assigned to a new column in the .CSV input file. Multiple arguments must be placed in list form. Default is NULL.

plot

A TRUE or FALSE argument, determining whether a three-dimensional plot is to be produced using your "TempScape" file; whereby the z axis is "Temperature". Default is "FALSE".

Examples

1
2
setwd("C:/Users/Tabby/Desktop/Chickadees")
MyTempScape<-ReadTempScape("BirdTempScape.csv", manip = list("dist2Tmax", "diff2xmin"), plot = "TRUE")

joshuakrobertson/R-Package_ReVuePro documentation built on June 2, 2020, 8:23 p.m.