copm | R Documentation |
Canadian Occupational Performance Measure calculation given study variables
copm(id, performance1, satisfaction1, performance2, satisfaction2)
id |
patient id: there can be max 5 rows per id, or an error is thrown |
performance1 |
performance self assessment at first evaluation |
satisfaction1 |
satisfaction self assessment at first evaluation |
performance2 |
performance self assessment at re-evaluation |
satisfaction2 |
satisfaction self assessment at re-evaluation |
set.seed(1)
id <- gl(2,5)
perf1 <- sample(1:10, replace = TRUE)
perf2 <- sample(1:10, replace = TRUE)
sat1 <- sample(1:10, replace = TRUE)
sat2 <- sample(1:10, replace = TRUE)
data.frame(id, perf1, sat1, perf2, sat2)
copm(id, perf1, sat1, perf2, sat2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.