View source: R/filterNAValue.R
filterNAValue | R Documentation |
Assign NA values to scores not in the group for each data set
filterNAValue(list_score, dataset, group)
list_score |
A list of scores extracted in the analysis |
dataset |
A list of datasets used in the analysis |
group |
A list of group assignments |
A list of scores by assigning NA to scores not in groups
x = list(matrix(c(1 : 4), nrow = 2), matrix(c(1 : 4), nrow = 2))
y = list(matrix(c(1 : 4), nrow = 2), matrix(c(1 : 4), nrow = 2))
list_score = list(x, y)
dataset = c(1, 2)
group = list(c(1), c(2))
filterNAValue(list_score, dataset, group)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.