|
1 | 1 | #' @title completeCasesDS: an assign function called by ds.completeCases |
2 | 2 | #' @description Identifies and strips out all rows of a data.frame, |
3 | 3 | #' matrix or vector that contain NAs. |
4 | | -#' @details In the case of a data.frame or matrix, {completeCasesDS} identifies |
| 4 | +#' @details In the case of a data.frame or matrix, \code{completeCasesDS} identifies |
5 | 5 | #' all rows containing one or more NAs and deletes those |
6 | 6 | #' rows altogether. Any one variable with NA in a given row will lead |
7 | | -#' to deletion of the whole row. In the case of a vector, {completeCasesDS} |
| 7 | +#' to deletion of the whole row. In the case of a vector, \code{completeCasesDS} |
8 | 8 | #' acts in an equivalent manner but there is no equivalent to a 'row' |
9 | 9 | #' and so it simply strips out all observations recorded as NA. |
10 | | -#' {ds.completeCASES} is analogous to the {complete.cases} function |
| 10 | +#' \code{ds.completeCASES} is analogous to the \code{complete.cases} function |
11 | 11 | #' in native R. Limited additional information can therefore be found |
12 | 12 | #' under help("complete.cases") in native R. |
13 | 13 | #' @param x1.transmit This argument determines the input data.frame, |
14 | 14 | #' matrix or vector from which rows with NAs are to be stripped. |
15 | 15 | #' The <x1.transmit> argument is fully specified by the <x1> argument |
16 | | -#' of the {ds.completeCases} function. |
| 16 | +#' of the \code{ds.completeCases} function. |
17 | 17 | #' @return a modified data.frame, matrix or vector from which |
18 | 18 | #' all rows containing at least one NA have been deleted. This |
19 | 19 | #' modified object is written to the serverside in each source. |
|
24 | 24 | #' ds.completeCases also returns any studysideMessages that can help |
25 | 25 | #' explain the error in creating |
26 | 26 | #' the full output object. As well as appearing on the screen at run time,if you wish to |
27 | | -#' see the relevant studysideMessages at a later date you can use the {ds.message} |
| 27 | +#' see the relevant studysideMessages at a later date you can use the \code{ds.message} |
28 | 28 | #' function. If you type ds.message("newobj") it will print out the relevant |
29 | 29 | #' studysideMessage from any datasource in which there was an error in creating <newobj> |
30 | 30 | #' and a studysideMessage was saved. If there was no error and <newobj> was created |
|
0 commit comments