Package confidence. July 2, 2017

Similar documents
Package labelvector. July 28, 2018

Package datasets.load

Package ECctmc. May 1, 2018

Package lumberjack. R topics documented: July 20, 2018

Package fastdummies. January 8, 2018

Package catenary. May 4, 2018

Package profvis. R topics documented:

Package covr. October 18, 2018

Package edfreader. R topics documented: May 21, 2017

Package meme. November 2, 2017

Package docxtools. July 6, 2018

Package WordR. September 7, 2017

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package eply. April 6, 2018

Package rgho. R topics documented: January 18, 2017

Package meme. December 6, 2017

Package jdx. R topics documented: January 9, Type Package Title 'Java' Data Exchange for 'R' and 'rjava'

Package canvasxpress

Package reval. May 26, 2015

Package robotstxt. November 12, 2017

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package GetITRData. October 22, 2017

Package Rspc. July 30, 2018

Package kdtools. April 26, 2018

Package pdfsearch. July 10, 2018

Package diagis. January 25, 2018

Package postgistools

Package kirby21.base

Package svalues. July 15, 2018

Package zebu. R topics documented: October 24, 2017

Package labelled. December 19, 2017

Package splithalf. March 17, 2018

Package bisect. April 16, 2018

Package quickreg. R topics documented:

Package shinyhelper. June 21, 2018

Package spelling. December 18, 2017

Package benchmarkme. R topics documented: February 26, Type Package Title Crowd Sourced System Benchmarks Version 0.2.

Package githubinstall

Package barcoder. October 26, 2018

Package htmlwidgets. July 10, 2017

Package dalmatian. January 29, 2018

Package stapler. November 27, 2017

Package opencage. January 16, 2018

Package nngeo. September 29, 2018

Package RWildbook. April 6, 2018

Package skynet. December 12, 2018

Package loggit. April 9, 2018

Package editdata. October 7, 2017

Package BiocManager. November 13, 2018

Package gtrendsr. August 4, 2018

Package epitab. July 4, 2018

Package tfruns. February 18, 2018

Package readxl. April 18, 2017

Package lvec. May 24, 2018

Package MatchIt. April 18, 2017

Package table1. July 19, 2018

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package RODBCext. July 31, 2017

Package ASICS. January 23, 2018

Package LaF. November 20, 2017

Package smapr. October 20, 2017

Package simtool. August 29, 2016

Package comparedf. February 11, 2019

Package jstree. October 24, 2017

Package validara. October 19, 2017

Package taskscheduler

Package fingertipsr. May 25, Type Package Version Title Fingertips Data for Public Health

Package condformat. October 19, 2017

Package rvest. R topics documented: August 29, Version Title Easily Harvest (Scrape) Web Pages

Package vdiffr. April 27, 2018

Package bannercommenter

Package htmlwidgets. February 25, 2016

Package scraep. November 15, Index 6

Package tidylpa. March 28, 2018

Package scraep. July 3, Index 6

Package EpiSignalDetection

Package facerec. May 14, 2018

Package infer. July 11, Type Package Title Tidy Statistical Inference Version 0.3.0

Package customlayout

Package edgarwebr. December 22, 2017

Package FastImputation

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package tabulizer. June 7, 2018

Package SEMrushR. November 3, 2018

Package restorepoint

Package AdhereR. June 15, 2018

Package intcensroc. May 2, 2018

Package optimus. March 24, 2017

Package bestnormalize

Package gridgraphics

Package goodpractice

Package rprojroot. January 3, Title Finding Files in Project Subdirectories Version 1.3-2

Package calpassapi. August 25, 2018

Package remotes. December 21, 2017

Package liftr. R topics documented: May 14, Type Package

Package CorporaCoCo. R topics documented: November 23, 2017

Package modmarg. R topics documented:

Package vinereg. August 10, 2018

Package dat. January 20, 2018

Package incidence. August 24, Type Package

Transcription:

Type Package Package confidence July 2, 2017 Title Confidence Estimation of Environmental State Classifications Functions for estimating and reporting multi-year averages and corresponding confidence intervals and distributions. A potential use case is reporting the chemical and ecological status of surface waters according to the European Water Framework Directive. Version 1.1-2 Date 2017-07-01 Depends R (>= 3.0.0), tcltk Imports knitr, markdown, plyr, table, ggplot2 Suggests testthat VignetteBuilder knitr License GPL (>= 3) RoygenNote 6.0.1 NeedsCompilation no Author Willem van Loon [aut, cph], Dennis Walvoort [aut, cre] Maintainer Dennis Walvoort <dennis.walvoort@wur.nl> Repository CRAN Date/Publication 2017-07-01 23:55:43 UTC R topics documented: confidence-package..................................... 2 backtransform........................................ 2 conf............................................. 3 conf_input.......................................... 4 DCA............................................. 5 EQR............................................. 5 metal............................................ 6 mya............................................. 7 1

2 backtransform sanitize........................................... 7 strip_spaces......................................... 8 transform.......................................... 8 Inde 9 confidence-package Confidence Estimation of Environmental State Classifications This package can be used to estimate the confidence of state classifications (e.g., with the classification bad, moderate, good ) produced using environmental indicators and associated targets. The implementation closely follows Baggelaar et al. (2010) where the confidence intervals for the estimated multiyear averages are derived by assuming a Student s t distribution for the errors. For more information about the package see the package-vignette (type: vignette("confidence") at the R-prompt to view the vignette.). @seealso conf and the package vignette mentioned above. @author Willem M.G.M. van Loon and Dennis J.J. Walvoort @references Baggelaar, P., O. van Tongeren, R. Knoben, and W. van Loon, 2010. Rapporteren van de betrouwbaarheid van KRW-beoordelingen (in Dutch, English translation: Reporting the confidence of WFD-assessments). H2O 16: 21 25 Author(s) Maintainer: Dennis Walvoort <dennis.walvoort@wur.nl> Authors: Willem van Loon <willem.van.loon@rws.nl> [copyright holder] backtransform Back-transformations Performs inverse log or logit transformations. Back-transformations Performs inverse log or logit transformations. backtransform(, type = c("identity", "log", "logit", "none", NA_character_)) type value to back-transform type of transform (log, logit).

conf 3 backtransformed value conf Perform Confidence Run This function starts the confidence tool. The results will be stored in a subdirectory in the current working directory. See details section below. conf( = NULL, tmpdir = tempfile(pattern = "confidence"), browse = TRUE) tmpdir browse name of the input file or a data.frame containing the input. If = NULL (the default) a file dialog will appear for interactive selection of an input file. See the package vignette for details about the file format. directory to store temporary files (for debugging only) load resulting report directly in a browser? TRUE or FALSE Details This function will create a subdirectory in the same directory as, in case is a filename or in the current working directory (see getwd), in case is a data.frame. The computer should have write permission to this directory, if not an error message will be raised. The subdirectory contains an HTML-report with all analysis results. For convenience, the results are also stored in CSV-format (tables) and png-format (figures) for further processing. See Also confidence and the package vignette (vignette("confidence")).

4 conf_input conf_input Check Confidence data This function checks data.frames to be used by the confidence package. The format has been specified in Van Loon (2014) and should contain the following columns: OBJECTID: water body code, e.g., NL89_os; PAR: parameter, e.g., Cadmium; DATE: date according to ISO 8601 (YYYY-mm-dd) for point values or year YYYY for annual means; VALUE: numerical value. TARGET: target value for the European Water Framework Directive; UNIT: measurement unit of PAR. This unit should be the same for all records with the same PAR and is the same for both VALUE and TARGET; transform: data transformation, i.e., log, logit, NA. conf_input() data.frame to be checked Details The function performs the following tasks: checks availablitity of required columns (case insensitive); make column names case-insensitive; removes redundant spaces; checks on missing values in required columns; checks if DATE-field adheres to ISO 8601 (YYYY-mm-dd) or YYYY; checks mitures of annual averages and point values for a each year; checks if measurement units are the same for a specific OBJECTID-PAR-pair; checks if TARGET-value is the same for a specific OBJECTID-PAR-pair; checks if transform is one of log, logit, NA in transform column; checks that the EQR-column contains identical values fo each OBJECTID-PAR combination. data.frame that has passed all checks

DCA 5 DCA Annual Average 1,2-dichloroethane Concentration Annual arithmetic average concentration of 1,2-dichloroethane (DCA) in a specific water body (µg/l), based on Baggelaar et al., (2010) DCA Format An object of class data.frame with 3 rows and 10 columns. Details The columns represent the following information: OBJECTID: water body code PAR: parameter, in this case 1,2-dichloroethane; color: colors in density function; DATE: year; VALUE: annual arithmetic average concentration TARGET: target according to the European Water Framework Directive; UNIT: measurement unit (µg/l). @source Baggelaar, P., O. van Tongeren, R. Knoben, & W. van Loon, 2010. Rapporteren van de betrouwbaarheid van KRW-beoordelingen. H2O 16, p.21 25 EQR Annual Average Environmental Quality Ratio for Macrofauna. Annual artithmetic average environmental quality ratio s (EQR) for Macrofauna in a specific water body, based on Baggelaar et al., (2010) EQR

6 metal Format An object of class data.frame with 3 rows and 11 columns. Details The columns represent the following information: OBJECTID: water body code PAR: parameter, in this case EQR; color: colors in density function; DATE: year; VALUE: annual arithmetic average EQR TARGET: target EQR; transfrom: applied transform @source Baggelaar, P., O. van Tongeren, R. Knoben, & W. van Loon, 2010. Rapporteren van de betrouwbaarheid van KRW-beoordelingen. H2O 16, p.21 25 metal Simulated Metal Contents A data set with two time-series of simulated metal contents. These data have mainly been used to test the package. Users may find this dataset convenient as an eample to construct their own data sets. The columns represent the following information: metal OBJECTID: water body code, e.g., NL89_os; PAR: parameter, e.g., Cadmium; color: colors in density function; DATE: date according to ISO 8601 (YYYY-mm-dd) for point values or year YYYY for annual means; VALUE: numerical value. TARGET: e.g., the target value for the European Water Framework Directive; UNIT: measurement unit of PAR. This unit should be the same for all records with the same PAR and is the same for both VALUE and TARGET; transfrom: data transformation, i.e., log, logit, NA. Format An object of class data.frame with 8 rows and 8 columns.

mya 7 mya Multi-Year Average Estimates the multi-year average of environmental properties and associated confidence intervals. mya(,...) See Also object of class conf_input or a data.frame that can be coerced to an instance of class conf_input.... further arguments to be passed to other methods a data.frame with the following columns: conf MYA: the multi-year arithmetic average; PROB_LTT: the probability that MYA is less than the target value specified; PROB_GTT: the probability that MYA is greater than the target value specified; q05: the lowerbound of the 90% confidence interval of MYA q95: the upperbound of the 90% confidence interval of MYA sanitize Sanitize Tet to Give Proper Filenames Sanitize Tet to Give Proper Filenames sanitize() character vector to sanitize

8 transform sanitized character vector strip_spaces Remove Redundant Spaces This function removes redundant spaces from character vectors strip_spaces() character vector character vector without trailing or multiple spaces Eamples stopifnot(confidence:::strip_spaces(" Hello World ") == "Hello World") transform Transformations Performs log or logit transformations. Transformations Performs log or logit transformations. transform(, type = c("identity", "log", "logit", "none", NA_character_)) type value to transform type of transform (log, logit). transformed value

Inde Topic datasets DCA, 5 EQR, 5 metal, 6 backtransform, 2 conf, 2, 3, 7 conf_input, 4, 7 confidence, 3 confidence (confidence-package), 2 confidence-package, 2 data.frame, 3, 7 DCA, 5 EQR, 5 getwd, 3 metal, 6 mya, 7 NULL, 3 sanitize, 7 strip_spaces, 8 transform, 8 9