Description Usage Arguments Value See Also Examples
Allocate clinical data to a MRIaggr
object.
1 2 3 | ## S4 replacement method for signature 'MRIaggr'
allocClinic(object, add = FALSE,
overwrite = FALSE, verbose = optionsMRIaggr("verbose")) <- value
|
object |
an object of class |
value |
the clinical data. A one row data.frame. REQUIRED. |
add |
should |
overwrite |
if clinical parameters with the same names are already stored in |
verbose |
should the execution of the function be traced ? logical. |
None.
selectClinic
to extract the clinical data.
1 2 3 4 5 6 7 8 9 10 | ## load a MRIaggr object
data("MRIaggr.Pat1_red", package = "MRIaggr")
## allocate clinical data
allocClinic(MRIaggr.Pat1_red) <- data.frame(Age = 32, Sex = "Male", NIHSS_H0 = "5")
selectClinic(MRIaggr.Pat1_red, param = "Age")
## add a new parameter
allocClinic(MRIaggr.Pat1_red, add = TRUE, overwrite = TRUE) <- data.frame(City = "Lyon")
selectClinic(MRIaggr.Pat1_red)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.