Description Usage Arguments Note Author(s) Examples
Use this function to specify latent associations and other variables 
of special significance in the data. Beside latents, typical values are:
mainentity subentity complaint oa_positive oa_negative 
statement_categorical statement_metric etc. You can also (auto) look for common
associations.
1 2 3  | set_association(survey, ..., common = FALSE)
get_association(srv, association)
 | 
survey | 
 A survey object.  | 
... | 
 The latent associations you would like to set. See examples.  | 
common | 
 If set to   | 
Use none to remove latent association. See examples.
Kristian D. Olsen
1 2 3 4  | x <- survey(data.frame("test" = 1, stringsAsFactors = FALSE))
x <- x %>% add_mm() %>% set_association(mainentity = "q1", complaint = "q17") 
x %>% add_entities() %>% add_weights()
x %>% set_association(none = "q1") # to remove
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.