From a0adb712d74eb2cefd4ddad82279a72801b84ece Mon Sep 17 00:00:00 2001 From: Romain Francois Date: Fri, 1 Feb 2019 13:13:37 +0100 Subject: [PATCH] import dplyr::n() --- NAMESPACE | 1 + R/stats.R | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NAMESPACE b/NAMESPACE index 05e3bcd..e9d9da3 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -27,6 +27,7 @@ export(z.stats) export(z.stats_quantile) import(ggplot2) importFrom(dplyr,group_by) +importFrom(dplyr,n) importFrom(dplyr,summarise) importFrom(ggplot2,aes) importFrom(ggplot2,coord_cartesian) diff --git a/R/stats.R b/R/stats.R index 5a5c350..2f98379 100644 --- a/R/stats.R +++ b/R/stats.R @@ -14,7 +14,7 @@ #' @param correlation identifier. Can be "HY", "DAK", "DPR" "N10", "SH" #' @param pprRange low (lp) or high (hp) chart area of the Standing-Katz chart #' @param interval quality of the Ppr scale. Coarse: every 1.0; Fine: every 0.5 -#' @importFrom dplyr group_by summarise +#' @importFrom dplyr group_by summarise n #' @rdname z.stats #' @export #' @examples