plot_results: Plots thermal gradient temperature for each Petri dish

View source: R/plot_results.R

plot_resultsR Documentation

Plots thermal gradient temperature for each Petri dish

Description

Similar to tempgrad(), this function outputs a plot representing average temperature or temperature fluctuation for each petri dish

Usage

plot_results(
  x = "Template with cumulative germination data",
  dayBL = "Diurnal bottom left temperature",
  dayBR = "Diurnal bottom right temperature",
  dayTL = "Diurnal top left temperature",
  dayTR = "Diurnal top right temperature",
  nightBL = "Nocturnal bottom left temperature",
  nightBR = "Nocturnal bottom right temperature",
  nightTL = "Nocturnal top left temperature",
  nightTR = "Nocturnal top right temperature",
  petri = "Number of petri in a column or row",
  method = "average corners temperature or use these independently",
  adjust = "adjust temperature to center of Petri dish",
  toplot = "show average temperature or temperature fluctuation"
)

Arguments

x

germination data template

dayBL

Average diurnal temperature at the bottom left side of the thermal gradient plate

dayBR

Average diurnal temperature at the bottom left side of the thermal gradient plate

dayTL

Average diurnal temperature at the bottom left side of the thermal gradient plate

dayTR

Average diurnal temperature at the bottom left side of the thermal gradient plate

nightBL

Average diurnal temperature at the bottom left side of the thermal gradient plate

nightBR

Average diurnal temperature at the bottom left side of the thermal gradient plate

nightTL

Average diurnal temperature at the bottom left side of the thermal gradient plate

nightTR

Average diurnal temperature at the bottom left side of the thermal gradient plate

petri

Number of Petri dishes in a column or a row.

method

Leave blank to use average corner temperature values or use "precise" to create a temperature gradient based in individual corner temperatures

adjust

adjust temperature to center of Petri dish

toplot

Decides between plotting average Petri dish temperature (="average") or fluctuation (="fluctuation")

Value

A graph with average Petri dish temperature, temperature fluctuation or germination

Examples

data<-tg_example
plot_results(data,0,1,39,40,1,39,3,38,petri=13,method="precise",adjust=TRUE,toplot = "nighttemp")
plot_results(data,5,8,39,40,1,39,3,38,petri=13,adjust=TRUE,toplot = "fluctuation")


pgomba/thermgRad documentation built on Sept. 4, 2022, 8:15 a.m.