grid_results: Generate grid with results

View source: R/grid_results.R

grid_resultsR Documentation

Generate grid with results

Description

Taking into account thermal gradient plate corner temperatures this function return a data frame with day and night temperatures for each petri dish, their average temperature, the temperature fluctuation or the final germination %. Using the "precise" method returns a more accurate estimate of temperatures across the thermal plate, while with the adjust parameter is possible to estimate the temperature at the center of each Petri dish

Usage

grid_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"
)

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

use "adjust=TRUE" to adjust temperature to Petri dish center.

Value

A data frame with day and night temperatures, average temperature and temperature fluctuation for each Petri dish

Examples

data<-tg_example
grid_results(data, 0,3,40,38,0,38,2,39, petri=13)



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