is_mrca_prior {beautier} | R Documentation |
Determine of the object is an empty (NA
) or valid MRCA prior.
Description
Determine of the object is an empty (NA
) or valid MRCA prior.
Usage
is_mrca_prior(mrca_prior)
Arguments
mrca_prior |
a Most Recent Common Ancestor prior,
as returned by |
Value
TRUE if x
is an MRCA prior, FALSE otherwise
Author(s)
Richèl J.C. Bilderbeek
Examples
check_empty_beautier_folder()
# TRUE
is_mrca_prior(create_mrca_prior())
# Also 'NA' is a valid MRCA prior,
# denoting that there no MRCA priors
is_mrca_prior(NA)
# FALSE
is_mrca_prior(NULL)
is_mrca_prior("nonsense")
check_empty_beautier_folder()
[Package beautier version 2.6.12 Index]