Skip to content

Commit 7761ed1

Browse files
committed
Fix return and export
1 parent ca5274b commit 7761ed1

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Generated by roxygen2: do not edit by hand
22

3-
export(computeWeightedMeans)
43
export(ds.Boole)
54
export(ds.abs)
65
export(ds.asCharacter)

R/computeWeightedMeans.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
#' @param variables character name of the variable(s) to focus on. The variables must be in the data.table
1010
#' @param weight character name of the data.table column that contains a weight.
1111
#' @param by character vector of the columns to group by
12+
#' @return Returns a data table object with computed weighted means.
13+
#'
1214
#' @import data.table
1315
#' @importFrom stats as.formula na.omit ts weighted.mean
14-
#' @export
16+
#' @keywords internal
1517
computeWeightedMeans <- function(data_table, variables, weight, by) {
1618

1719
if (is.null(weight)) {

man/computeWeightedMeans.Rd

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/ds.forestplot.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)