Description Usage Arguments Value
if a set of individuals have been matched to two different controls, this functions can combine these sets of clusterings to a single clustering
1 | comb_match(x, y, id, cl, tr, tr.value = 1, progress = FALSE)
|
x |
first matching, must contain an id-, a cluster-, and a treatment variable |
y |
second matching, must contain same things as x |
id |
name of id variable, if different in x and y, supply a vector |
cl |
name of cluster variable, if different in x and y, supply a vector |
tr |
name of treatment variable, if different in x and y, supply a vector |
tr.value |
value in tr indicating treatment, if different in x and y, supply a vector |
a list of data frames; clust 1 and 2 are the old clusters mapped to the new; id 1 and 2 are the data set id:s mapped onto the new cluster; new.cluster contains info on number of cases and controls; data contains all individuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.