diff --git a/NAMESPACE b/NAMESPACE index a41b8f0af..289592525 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -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) diff --git a/R/ds.boxPlot.R b/R/ds.boxPlot.R index 84d7a2790..7d86a79b1 100644 --- a/R/ds.boxPlot.R +++ b/R/ds.boxPlot.R @@ -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) #' #' } #' diff --git a/R/subsetHelper.R b/R/subsetHelper.R index 025a06803..82eae7271 100644 --- a/R/subsetHelper.R +++ b/R/subsetHelper.R @@ -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{ #' diff --git a/docs/404.html b/docs/404.html index 76de734e6..c37c451a9 100644 --- a/docs/404.html +++ b/docs/404.html @@ -32,7 +32,7 @@ dsBaseClient - 6.3.5-9000 + 6.3.5 diff --git a/docs/LICENSE.html b/docs/LICENSE.html index e721df6e3..b18449a17 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -17,7 +17,7 @@ dsBaseClient - 6.3.5-9000 + 6.3.5 diff --git a/docs/authors.html b/docs/authors.html index ea2155cdc..827877cec 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -17,7 +17,7 @@ dsBaseClient - 6.3.5-9000 + 6.3.5 @@ -102,12 +102,12 @@

Citation

Burton P, Wilson R, Butters O, Ryser-Welch P, Westerberg A, Abarrategui L, Villegas-Diaz R, Avraam D, Marcon Y, Bishop T, Gaye A, Escribà-Montagut X, Wheater S (????). dsBaseClient: 'DataSHIELD' Client Side Base Functions. -R package version 6.3.5-9000. +R package version 6.3.5.

@Manual{,
   title = {dsBaseClient: 'DataSHIELD' Client Side Base Functions},
   author = {Paul Burton and Rebecca Wilson and Olly Butters and Patricia Ryser-Welch and Alex Westerberg and Leire Abarrategui and Roberto Villegas-Diaz and Demetris Avraam and Yannick Marcon and Tom Bishop and Amadou Gaye and Xavier Escribà-Montagut and Stuart Wheater},
-  note = {R package version 6.3.5-9000},
+  note = {R package version 6.3.5},
 }

Gaye A, Marcon Y, Isaeva J, LaFlamme P, Turner A, Jones E, Minion J, Boyd A, Newby C, Nuotio M, Wilson R, Butters O, Murtagh B, Demir I, Doiron D, Giepmans L, Wallace S, Budin-Ljøsne I, Schmidt C, Boffetta P, Boniol M, Bota M, Carter K, deKlerk N, Dibben C, Francis R, Hiekkalinna T, Hveem K, Kvaløy K, Millar S, Perry I, Peters A, Phillips C, Popham F, Raab G, Reischl E, Sheehan N, Waldenberger M, Perola M, van den Heuvel E, Macleod J, Knoppers B, Stolk R, Fortier I, Harris J, Woffenbuttel B, Murtagh M, Ferretti V, Burton P (2014). “DataSHIELD: taking the analysis to the data, not the data to the analysis.” diff --git a/docs/index.html b/docs/index.html index f76381f01..b3d66be0a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -12,7 +12,7 @@ - +