| define_criteria | R Documentation |
Bundles the human-readable inclusion criteria a review uses into an object that can be rendered into the paper's standard screening prompt.
define_criteria(
scope,
inclusions,
exclusion_notes = NULL,
clarifications = NULL
)
scope |
A one-sentence description of what the review is about. Used at the top of the LLM prompt so the model has orienting context. |
inclusions |
A character vector of numbered inclusion criteria.
Order matters — criterion 1 is scored first, criterion |
exclusion_notes |
Optional list of the same length as |
clarifications |
Optional character vector of general clarifications
(e.g. definitions of terms) rendered as a block after the criteria.
|
An object of class screenllm_criteria.
criteria <- define_criteria(
scope = "Field-based coral reef restoration and performance",
inclusions = c(
"The study is conducted at a field-based coral reef restoration site.",
"The study describes a project with an explicit restoration goal.",
"The study describes an active restoration intervention.",
"The study monitors at least one restoration-performance metric."
)
)
print(criteria)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.