View source: R/convert_pir_out_to_long.R
convert_pir_out_to_long | R Documentation |
pir_out
to its long formA pir_out
is a table with
columns tree
(for true or twin tree), a column
inference_model
(for generative or candidate) and columns named
error_1
, error_2
, etcetera, containing the inference errors.
convert_pir_out_to_long(pir_out, verbose = FALSE)
pir_out |
the output of pir_run |
verbose |
if TRUE, show more output |
Converting this to a long form, results in a tibble like this:
tree_and_model: either true_generative
,
or twin_generative
, or true_candidate
,
or twin_candidate
error_value: inference errors
the pir_out
in long form
Richèl J.C. Bilderbeek, Giovanni Laudanno
# Check cleanup by other functions
beastier::check_empty_beaustier_folders()
pir_out <- create_test_pir_run_output(
add_twin = TRUE,
add_best = TRUE
)
convert_pir_out_to_long(pir_out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.