necessary_causes | R Documentation |
Necessary causes are component causes, which are part of every sufficient cause and, therefore, have to be present in order for the outcome to occur.
necessary_causes(scc, output = c("id", "desc", "desc_no_start"))
scc |
An object of class |
output |
A single element of type character determining the type of output. Either |
A character vector containing all necessary causes. Depending on the value of output
, the vector contains either step IDs
(output = "id"
), step descriptions (output = "desc"
), or step descriptions but with the "Start: " in the beginning removed
(output = "desc_no_start"
).
necessary_causes(scc_rain)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.