Learn R Programming

hatchR (version 0.3.2)

summarize_temp: Summarize temperature data to daily values

Description

The summarize_temp function is used to summarize sub-daily temperature measurements to obtain mean daily temperature.

Usage

summarize_temp(data, dates, temperature)

Value

A data.frame with summarized daily temperature values.

Arguments

data

A data.frame, or data frame extension (e.g. a tibble).

dates

Column representing the date of temperature measurements.

temperature

Column representing temperature values.

Examples

Run this code
library(hatchR)
summarize_temp(
  data = idaho,
  dates = date,
  temperature = temp_c
)

Run the code above in your browser using DataLab