Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export(ds.unList)
export(ds.unique)
export(ds.var)
export(ds.vectorCalc)
export(subsetHelper)
import(DSI)
import(data.table)
importFrom(stats,as.formula)
Expand Down
18 changes: 9 additions & 9 deletions R/ds.boxPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,37 +48,37 @@
#' symbol = "D")
#'
#' ## Create a boxplot of one variable
#' ds.boxPlot("D", "LAB_HDL", datasources = connections)
#' ds.boxPlot("D", "LAB_HDL", datasources = connections)
#'
#' ## Create a boxplot that is split by study:
#' ds.boxPlot("D", "LAB_HDL", type= "split", datasources = connections)
#' ds.boxPlot("D", "LAB_HDL", type= "split", datasources = connections)
#'
#' ## Create a boxplot of two variables variable
#' ds.boxPlot("D", c("LAB_HDL", "LAB_TRIG", type="pooled",
#' datasources = connections)
#' ds.boxPlot("D", c("LAB_HDL", "LAB_TRIG"), type="pooled",
#' datasources = connections)
#' # only one plot is created (of the aggregated results of all servers)
#'
#' ## Create a boxplot of two variables, which are split by a factor
#' ds.boxPlot("D", c("LAB_HDL", "LAB_TRIG"), group = "GENDER",
#' ds.boxPlot("D", c("LAB_HDL", "LAB_TRIG"), group = "GENDER",
#' datasources = connections)
#'
#' ## Create a boxplot with x- and y-axis labels
#' ds.boxPlot("D", c("LAB_HDL", "LAB_TRIG"), group = "GENDER",
#' ds.boxPlot("D", c("LAB_HDL", "LAB_TRIG"), group = "GENDER",
#' xlabel = "Variable", ylabel = "Measurement", datasources = connections)
#'
#' ## Improve the presentation of ds.boxplot output using ggplot:
#' ### User must save the output, which is in a ggplot format already:
#' a <- ds.boxPlot("D", c("LAB_HDL", "LAB_TRIG"), group = "GENDER",
#' a <- ds.boxPlot("D", c("LAB_HDL", "LAB_TRIG"), group = "GENDER",
#' xlabel = "Variable", ylabel = "Measurement", datasources = connections)
#'
#' ### Then customise output "a" using ggplot tools:
#' a + ggplot2::scale_fill_discrete(name = "Gender", labels = c("Male", "Female"))
#'
#' ### Or use an alternative way, to maintain the aesthetics:
#' a + ggplot2::scale_fill_brewer(name = "Gender", labels = c("Male", "Female"))
#' a + ggplot2::scale_fill_brewer(name = "Gender", labels = c("Male", "Female"))
#'
#' # Clear the Datashield R sessions and logout
#' datashield.logout(connections)
#' datashield.logout(connections)
#'
#' }
#'
Expand Down
1 change: 1 addition & 0 deletions R/subsetHelper.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#' @keywords internal
#' @return \code{subsetHelper} returns a message or the class of the object if the
#' object has the same class in all studies.
#' @export
#' @examples
#' \dontrun{
#'
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ pandoc: 3.1.3
pkgdown: 2.2.0
pkgdown_sha: ~
articles: {}
last_built: 2025-11-14T05:59Z
last_built: 2025-12-21T15:51Z
2 changes: 1 addition & 1 deletion docs/reference/checkClass.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/colPercent.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion docs/reference/computeWeightedMeans.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/dot-pool_md_patterns.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.Boole.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.abs.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.asCharacter.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.asDataMatrix.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.asFactor.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.asFactorSimple.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.asInteger.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.asList.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.asLogical.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.asMatrix.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.asNumeric.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.assign.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ds.auc.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading