diff --git a/R/ds.asCharacter.R b/R/ds.asCharacter.R index 623e43db..dfc68ee5 100644 --- a/R/ds.asCharacter.R +++ b/R/ds.asCharacter.R @@ -44,7 +44,8 @@ #' # Converting the R object into a class character #' ds.asCharacter(x.name = "D$LAB_TSC", #' newobj = "char.obj", -#' datasources = connections[1]) #only the first Opal server is used ("study1") +#' datasources = connections[1]) #only the first Opal server +#' #is used ("study1") #' #' # Clear the Datashield R sessions and logout #' datashield.logout(connections) diff --git a/R/ds.asDataMatrix.R b/R/ds.asDataMatrix.R index bdfa9fdd..a49edce4 100644 --- a/R/ds.asDataMatrix.R +++ b/R/ds.asDataMatrix.R @@ -43,7 +43,8 @@ #' # Converting the R object into a matrix #' ds.asDataMatrix(x.name = "D", #' newobj = "mat.obj", -#' datasources = connections[1]) #only the first Opal server is used ("study1") +#' datasources = connections[1]) #only the first Opal server +#' #is used ("study1") #' #' # Clear the Datashield R sessions and logout #' datashield.logout(connections) diff --git a/R/ds.asInteger.R b/R/ds.asInteger.R index 0e9670df..b2457de7 100644 --- a/R/ds.asInteger.R +++ b/R/ds.asInteger.R @@ -57,7 +57,8 @@ #' # Converting the R object into an integer #' ds.asInteger(x.name = "D$LAB_TSC", #' newobj = "int.obj", -#' datasources = connections[1]) #only the first Opal server is used ("study1") +#' datasources = connections[1]) #only the first Opal server +#' #is used ("study1") #' ds.class(x = "int.obj", datasources = connections[1]) #' #' # Clear the Datashield R sessions and logout diff --git a/R/ds.asNumeric.R b/R/ds.asNumeric.R index 803a6308..f24fc76b 100644 --- a/R/ds.asNumeric.R +++ b/R/ds.asNumeric.R @@ -57,7 +57,8 @@ #' # Converting the R object into a numeric class #' ds.asNumeric(x.name = "D$LAB_TSC", #' newobj = "num.obj", -#' datasources = connections[1]) #only the first Opal server is used ("study1") +#' datasources = connections[1]) #only the first Opal server +#' #is used ("study1") #' ds.class(x = "num.obj", datasources = connections[1]) #' #' # Clear the Datashield R sessions and logout diff --git a/R/ds.completeCases.R b/R/ds.completeCases.R index 107f70de..5cd3b572 100644 --- a/R/ds.completeCases.R +++ b/R/ds.completeCases.R @@ -55,13 +55,16 @@ #' newobj = "D.completeCases", # name for the output object #' # that is stored in the Opal servers #' datasources = connections) # All Opal servers are used -#' # (see above the connection to the Opal servers) +#' # (see above the connection to +#' # the Opal servers) #' -#' ds.completeCases(x1 = "D$LAB_TSC", #vector (variable) of the data frames in the Opal servers +#' ds.completeCases(x1 = "D$LAB_TSC", #vector (variable) of the data frames in +#' #the Opal servers #' #(see above the connection to the Opal servers) #' newobj = "LAB_TSC.completeCases", #name for the output variable #' #that is stored in the Opal servers -#' datasources = connections[2]) #only the second Opal server is used ("study2") +#' datasources = connections[2]) #only the second Opal server +#' #is used ("study2") #' #' # Clear the Datashield R sessions and logout #' datashield.logout(connections) diff --git a/R/ds.dataFrame.R b/R/ds.dataFrame.R index ccd671c4..3e222ccc 100644 --- a/R/ds.dataFrame.R +++ b/R/ds.dataFrame.R @@ -80,7 +80,8 @@ #' completeCases = TRUE, #only rows with not missing values are selected #' DataSHIELD.checks = FALSE, #' newobj = "df1", -#' datasources = connections[1], #only the first Opal server is used ("study1") +#' datasources = connections[1], #only the first Opal server +#' #is used ("study1") #' notify.of.progress = FALSE) #' #' diff --git a/R/ds.dataFrameSort.R b/R/ds.dataFrameSort.R index f8fc52f7..60a5bbdf 100644 --- a/R/ds.dataFrameSort.R +++ b/R/ds.dataFrameSort.R @@ -70,7 +70,8 @@ #' sort.descending = TRUE, #' sort.method = "numeric", #' newobj = "df.sort", -#' datasources = connections[1]) #only the first Opal server is used ("study1") +#' datasources = connections[1]) #only the first Opal server +#' #is used ("study1") #' #' # Clear the Datashield R sessions and logout #' datashield.logout(connections) diff --git a/R/ds.densityGrid.R b/R/ds.densityGrid.R index d617dd73..23e88658 100644 --- a/R/ds.densityGrid.R +++ b/R/ds.densityGrid.R @@ -69,10 +69,11 @@ #' ds.densityGrid(x="D$LAB_TSC", #' y="D$LAB_HDL", #' type="split" -#' datasources = connections[1])#only the first Opal server is used ("study1") +#' datasources = connections[1])#only the first Opal server +#' #is used ("study1") #' -#' # Example3: generate a grid density object where the number of intervals is set to 15, for -#' each study separately +#' # Example3: generate a grid density object where the number of intervals is set to 15, +#' # for each study separately #' ds.densityGrid(x="D$LAB_TSC", #' y="D$LAB_HDL", #' type="split",