monitor_toTidy: Convert mts_monitor data to a tidy format

View source: R/monitor_toTidy.R

monitor_toTidyR Documentation

Convert mts_monitor data to a tidy format

Description

Changes mts_monitor formatted data into a 'mts_tidy' format that is useful for 'tidyverse' functions. If the given data is already in tidy format, it is returned as is.

Usage

monitor_toTidy(monitor = NULL)

Arguments

monitor

mts_monitor object.

Value

Tidy formatted mts_monitor data.

Examples

library(AirMonitorPlots)

monitor <-
  AirMonitor::NW_Megafires %>%
  AirMonitor::monitor_select(
    c('450d08fb5a3e4ea0_530470009', '123035bbdc2bc702_530470010_04')
  )

mts_tidy <- monitor_toTidy(monitor)


MazamaScience/AirMonitorPlots documentation built on May 8, 2024, 6:16 a.m.