|
7 | 7 | #' from every single study and the pooled dimension of the object by summing up the individual |
8 | 8 | #' dimensions returned from each study. |
9 | 9 | #' |
10 | | -#' In \code{checks} parameter is suggested that checks should only be undertaken once the |
11 | | -#' function call has failed. |
12 | | -#' |
13 | 10 | #' Server function called: \code{dimDS} |
14 | | -#' |
15 | | -#' @param x a character string providing the name of the input object. |
16 | | -#' @param type a character string that represents the type of analysis to carry out. |
| 11 | +#' |
| 12 | +#' @param x a character string providing the name of the input object. |
| 13 | +#' @param type a character string that represents the type of analysis to carry out. |
17 | 14 | #' If \code{type} is set to \code{'combine'}, \code{'combined'}, \code{'combines'} or \code{'c'}, |
18 | | -#' the global dimension is returned. |
19 | | -#' If \code{type} is set to \code{'split'}, \code{'splits'} or \code{'s'}, |
| 15 | +#' the global dimension is returned. |
| 16 | +#' If \code{type} is set to \code{'split'}, \code{'splits'} or \code{'s'}, |
20 | 17 | #' the dimension is returned separately for each study. |
21 | 18 | #' If \code{type} is set to \code{'both'} or \code{'b'}, both sets of outputs are produced. |
22 | | -#' Default \code{'both'}. |
23 | | -#' @param checks logical. If TRUE undertakes all DataSHIELD checks (time-consuming). |
24 | | -#' Default FALSE. |
| 19 | +#' Default \code{'both'}. |
| 20 | +#' @param classConsistencyCheck logical. If TRUE, checks that the input object has the same |
| 21 | +#' class across all studies. Default TRUE. |
25 | 22 | #' @param datasources a list of \code{\link[DSI]{DSConnection-class}} |
26 | 23 | #' objects obtained after login. If the \code{datasources} argument is not specified |
27 | 24 | #' the default set of connections will be used: see \code{\link[DSI]{datashield.connections_default}}. |
|
68 | 65 | #' # Calculate the dimension |
69 | 66 | #' ds.dim(x="D", |
70 | 67 | #' type="combine", #global dimension |
71 | | -#' checks = FALSE, |
72 | | -#' datasources = connections)#all opal servers are used |
| 68 | +#'#' datasources = connections)#all opal servers are used |
73 | 69 | #' ds.dim(x="D", |
74 | 70 | #' type = "both",#separate dimension for each study |
75 | 71 | #' #and the pooled dimension (default) |
76 | | -#' checks = FALSE, |
77 | | -#' datasources = connections)#all opal servers are used |
| 72 | +#'#' datasources = connections)#all opal servers are used |
78 | 73 | #' ds.dim(x="D", |
79 | 74 | #' type="split", #separate dimension for each study |
80 | | -#' checks = FALSE, |
81 | | -#' datasources = connections[1])#only the first opal server is used ("study1") |
| 75 | +#'#' datasources = connections[1])#only the first opal server is used ("study1") |
82 | 76 | #' |
83 | 77 | #' # clear the Datashield R sessions and logout |
84 | 78 | #' datashield.logout(connections) |
|
0 commit comments