Add as.alternative parameter to frequencyQuery method
And also rename "tokens" to the more generic "total" in the result
tibble.
Change-Id: Iae2ec16307f993e5b95792f2f66c6a38dc9ff67d
diff --git a/man/KorAPQuery-class.Rd b/man/KorAPQuery-class.Rd
index 2f343f6..7749151 100644
--- a/man/KorAPQuery-class.Rd
+++ b/man/KorAPQuery-class.Rd
@@ -34,7 +34,7 @@
verbose = kqo@korapConnection@verbose)
\S4method{frequencyQuery}{KorAPConnection}(kco, query, vc = "",
- conf.level = 0.95, ...)
+ conf.level = 0.95, as.alternatives = FALSE, ...)
\method{format}{KorAPQuery}(x, ...)
@@ -79,6 +79,8 @@
\item{conf.level}{confidence level of the returned confidence interval (passed throgh \code{\link{ci}} to \code{\link{prop.test}}).}
+\item{as.alternatives}{LOGICAL that specifies if the query terms should be treated as alternatives. If \code{as.alternatives} is TRUE, the sum over all query hits, instead of the respective vc token sizes is used as total for the calculation of relative frequencies.}
+
\item{...}{further arguments passed to or from other methods}
\item{x}{KorAPQuery object}