From d81550d0cccae824cc748de48e7fd50ea8d8033a Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 16 Apr 2020 18:02:18 +0200 Subject: Make na.rm = FALSE the default for geomean() This makes more sense and is in line with mean() from base R. Adapt tests and update docs. --- man/endpoint.Rd | 40 ++++++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 12 deletions(-) (limited to 'man/endpoint.Rd') diff --git a/man/endpoint.Rd b/man/endpoint.Rd index 204905b..2b66c21 100644 --- a/man/endpoint.Rd +++ b/man/endpoint.Rd @@ -8,23 +8,39 @@ \alias{soil_sorption} \title{Retrieve endpoint information from the chyaml field of a chent object} \usage{ -endpoint(chent, medium = "soil", type = c("degradation", "sorption"), - lab_field = c(NA, "laboratory", "field"), redox = c(NA, "aerobic", - "anaerobic"), value = c("DT50ref", "Kfoc", "N"), - aggregator = geomean, raw = FALSE, signif = 3) +endpoint( + chent, + medium = "soil", + type = c("degradation", "sorption"), + lab_field = c(NA, "laboratory", "field"), + redox = c(NA, "aerobic", "anaerobic"), + value = c("DT50ref", "Kfoc", "N"), + aggregator = geomean, + raw = FALSE, + signif = 3 +) -soil_DT50(chent, aggregator = geomean, signif = 3, - lab_field = "laboratory", value = "DT50ref", redox = "aerobic", - raw = FALSE) +soil_DT50( + chent, + aggregator = geomean, + signif = 3, + lab_field = "laboratory", + value = "DT50ref", + redox = "aerobic", + raw = FALSE +) -soil_Kfoc(chent, aggregator = geomean, signif = 3, value = "Kfoc", - raw = FALSE) +soil_Kfoc(chent, aggregator = geomean, signif = 3, value = "Kfoc", raw = FALSE) soil_N(chent, aggregator = mean, signif = 3, raw = FALSE) -soil_sorption(chent, values = c("Kfoc", "N"), aggregators = c(Kfoc = - geomean, Koc = geomean, N = mean), signif = c(Kfoc = 3, N = 3), - raw = FALSE) +soil_sorption( + chent, + values = c("Kfoc", "N"), + aggregators = c(Kfoc = geomean, Koc = geomean, N = mean), + signif = c(Kfoc = 3, N = 3), + raw = FALSE +) } \arguments{ \item{chent}{The chent object to get the information from} -- cgit v1.2.1