Skip to content

Commit 9054949

Browse files
committed
Fixed typos in example code
1 parent fe2d7b8 commit 9054949

14 files changed

+20
-20
lines changed

R/ds.boxPlot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#' ## Version 6, for version 5 see the Wiki
2222
#'
2323
#' ### Please ensure you have a training Virtual Machine running,
24-
#' or that you have a live connection to a server.
24+
#' # or that you have a live connection to a server.
2525
#'
2626
#' # Connecting to the Opal servers
2727
#'

R/ds.densityGrid.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@
6666
#' # Example2: generate a grid density object for each study separately
6767
#' ds.densityGrid(x="D$LAB_TSC",
6868
#' y="D$LAB_HDL",
69-
#' type="split"
69+
#' type="split",
7070
#' datasources = connections[1])#only the first Opal server is used ("study1")
7171
#'
7272
#' # Example3: generate a grid density object where the number of intervals is set to 15, for
73-
#' each study separately
73+
#' # each study separately
7474
#' ds.densityGrid(x="D$LAB_TSC",
7575
#' y="D$LAB_HDL",
7676
#' type="split",

R/ds.heatmapPlot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
#' datasources = connections[1]) #only the first server is used (study1)
134134
#'
135135
#' # Example 3: Plot a combined heat map plot using the method 'deterministic' centroids of each
136-
#' k = 7 nearest neighbours for numints = 40
136+
#' # k = 7 nearest neighbours for numints = 40
137137
#' ds.heatmapPlot(x = 'D$LAB_TSC',
138138
#' y = 'D$LAB_HDL',
139139
#' numints = 40,

R/ds.histogram.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
#' datasources = connections) #all studies are used
121121
#'
122122
#' # Example 2: generate a combined histogram with the default small cells counts
123-
#' suppression rule
123+
#' # suppression rule
124124
#' ds.histogram(x = 'D$PM_BMI_CONTINUOUS',
125125
#' method = 'smallCellsRule',
126126
#' type = 'combine',

R/ds.matrixDiag.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
#' datasources = connections)
113113
#'
114114
#' #Example 2: Create a square matrix with the server-side scalar as all diagonal values
115-
#' and all the other values = 0
115+
#' #and all the other values = 0
116116
#'
117117
#' #Create a scalar in the server-side
118118
#'
@@ -152,7 +152,7 @@
152152
#' datasources = connections)
153153
#'
154154
#' #Example 4: Create a square matrix with the client-side vector as a diagonal
155-
#' and all the other values = 0
155+
#' #and all the other values = 0
156156
#'
157157
#' ds.matrixDiag(x1 = c(2,6,9,10),
158158
#' aim = "clientside.vector.2.matrix",
@@ -161,7 +161,7 @@
161161
#' datasources = connections)
162162
#'
163163
#' #Example 5: Create a square matrix with the client-side scalar as all diagonal values
164-
#' and all the other values = 0
164+
#' #and all the other values = 0
165165
#'
166166
#' ds.matrixDiag(x1 = 4,
167167
#' aim = "clientside.scalar.2.matrix",

R/ds.recodeValues.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
#' values2replace.vector = c(1,2),
7070
#' new.values.vector = c(1,2),
7171
#' missing = 99,
72-
#' newobj = 'bmi_recoded'
72+
#' newobj = 'bmi_recoded',
7373
#' datasources = connections)
7474
#'
7575
#' # Clear the Datashield R sessions and logout

R/ds.table2D.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
#' # Example 2: generate a two dimensional table, outputting study specific contingency tables
5757
#' ds.table2D(x='D$DIS_DIAB', y='D$GENDER', type='split')
5858
#' # display the 5 results items, one at a time to avoid having too much information displayed
59-
#' at the same time
59+
#' # at the same time
6060
#' output$counts
6161
#' output$rowPercent
6262
#' output$colPercent

man/ds.boxPlot.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/ds.densityGrid.Rd

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

man/ds.heatmapPlot.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)