mc_states_delete: Delete sensor states (tags)

View source: R/states.R

mc_states_deleteR Documentation

Delete sensor states (tags)

Description

This function removes states (tags) defined by locality ID, sensor name, or tag value, or any combination of these three.

Usage

mc_states_delete(data, localities = NULL, sensors = NULL, tags = NULL)

Arguments

data

cleaned myClim object see myClim-package

localities

locality ids where delete states (tags). If NULL then all. (default NULL)

sensors

sensor names where delete states (tags). If NULL then all. (default NULL)

tags

specific tag to be deleted. If NULL then all. (default NULL)

Value

myClim object in the same format as input, with deleted sensor states

Examples

data <- mc_states_delete(mc_data_example_clean, localities="A1E05",
                         sensors=c(mc_const_SENSOR_Dendro_T, mc_const_SENSOR_Dendro_raw))

myClim documentation built on Oct. 21, 2024, 5:07 p.m.