| check_formula | R Documentation | 
Check that formula is actually a 
formula and that the
response and predictor variables are all included in data.
check_formula(data, formula)
| data | 
 | 
| formula | 
 | 
An error message is thrown if formula is not proper,
else NULL.
  data(rodents)
  document_term_table <- rodents$document_term_table
  document_covariate_table <- rodents$document_covariate_table
  LDA_models <- LDA_set(document_term_table, topics = 2)[[1]]
  data <- document_covariate_table
  data$gamma <- LDA_models@gamma
  check_formula(data, gamma ~ 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.