showGetData | R Documentation |
Use an expression to provide a definition of a subset of the data, reshape the data to either inter- or intra-class analysis, possibly print these subset and return it.
showGetData(fmddf, expr = NULL, resh = NULL, showData = TRUE)
fmddf |
A data frame containing FMD data. |
expr |
An expression defining the subset of data. If left at the default NULL, no subset of the data is created, but he data is merely reshaped. |
resh |
Character length one. What type of reshape should be applied to the output. Possible values are 'inter' (default) and 'intra'. |
showData |
Logical If the resulting data frame should be printed. Defaults to TRUE. |
Use 'colnames(object)' to determine the name of the columns in the data frame. (Of course.)
A data frame with the subset of data, reshaped for either inter- or intra-class analysis.
## Not run: fmddf <- importData() expr <- expression(Patient_ID == "Pat#2") showGetData(fmddf, expr) expr <- expression(Patient_ID == "Pat#2" & Therapist_ID != "Ther#4") showGetData(fmddf, expr) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.