Skip to contents

The rict function classifies observed environmental values.

Usage

rict(
  data = NULL,
  year_type = "multi",
  store_eqrs = FALSE,
  area = NULL,
  crs = NULL,
  seed = TRUE
)

Arguments

data

Dataframe of observed environmental values for example of input data see demo_observed_values or demo_gis_values_log.

SITE

Site identifier

Waterbody

Water body identifier

...

...

year_type

"single" or "multi" depending if multi-year classification required - default is "multi".

store_eqrs

TRUE/FALSE if set to TRUE function will return simulate EQRs.

area

Area is by detected by default from the NGR, but you can provide the area parameter either 'iom', 'gb, 'ni' for testing purposes.

crs

optionally set crs to `29903` for Irish projection system.

seed

Use seed as setup in RICT2 Azure as default, useful for testing only.

Value

Dataframe of classification results (and simulated EQRs if store_eqrs = TRUE).

See also

rict_predict to run prediction (not classification)

Examples

if (FALSE) { # \dontrun{
results <- rict(demo_observed_values)
} # }