Small helpers that the entry points of a package share with hypothesis_BF_model(). hypothesis_alias_label() is the name under which the rows of a hypothesis table show a tested parameter: the first alias of the parameter other than its own name, or the parameter. hypothesis_unique_named_warnings() drops repeated warnings of a table (the same text for the same row).

hypothesis_alias_label(aliases, parameter)

hypothesis_unique_named_warnings(warnings)

Arguments

aliases

a list named by aliases, each element the parameter the alias names.

parameter

the name of the tested parameter.

warnings

a character vector of warnings, named by the rows of a hypothesis table they belong to.

Value

hypothesis_alias_label() returns a string. hypothesis_unique_named_warnings() returns the unique, nonempty warnings, or NULL without any.