Assertions to Check Properties of Variables


[Up] [Top]

Documentation for package ‘assertive.properties’ version 0.0-4

Help Pages

are_same_length Are the inputs the same length/dimension?
are_same_length_legacy Are the inputs the same length/dimension?
assert_all_are_same_length Are the inputs the same length/dimension?
assert_all_are_same_length_legacy Are the inputs the same length/dimension?
assert_any_are_same_length Are the inputs the same length/dimension?
assert_any_are_same_length_legacy Are the inputs the same length/dimension?
assert_are_same_length Are the inputs the same length/dimension?
assert_has_all_attributes Does the input have the specified attributes?
assert_has_any_attributes Does the input have the specified attributes?
assert_has_colnames Does the input have names?
assert_has_cols Does the input have rows/columns?
assert_has_dimnames Does the input have names?
assert_has_dims Does the input have dimensions?
assert_has_duplicates Does the input have duplicates?
assert_has_elements Is the input empty/scalar?
assert_has_names Does the input have names?
assert_has_no_duplicates Does the input have duplicates?
assert_has_rownames Does the input have names?
assert_has_rows Does the input have rows/columns?
assert_has_slot Does the S4 input have a slot?
assert_have_same_dims Are the inputs the same length/dimension?
assert_is_atomic Is the input atomic/recursive/vector?
assert_is_empty Is the input empty/scalar?
assert_is_monotonic_decreasing Is the vector monotonically increasing or decreasing?
assert_is_monotonic_increasing Is the vector monotonically increasing or decreasing?
assert_is_nested Is the input atomic/recursive/vector?
assert_is_non_empty Is the input empty/scalar?
assert_is_non_nested Is the input atomic/recursive/vector?
assert_is_non_scalar Is the input empty/scalar?
assert_is_not_null Is the input (not) null?
assert_is_null Is the input (not) null?
assert_is_of_dimension Is the input empty/scalar?
assert_is_of_length Is the input empty/scalar?
assert_is_recursive Is the input atomic/recursive/vector?
assert_is_scalar Is the input empty/scalar?
assert_is_unsorted Is the input unsorted?
assert_is_vector Is the input atomic/recursive/vector?
DIM Get the dimensions of an object
has_any_attributes Does the input have any attributes?
has_attributes Does the input have the specified attributes?
has_colnames Does the input have names?
has_cols Does the input have rows/columns?
has_dimnames Does the input have names?
has_dims Does the input have dimensions?
has_duplicates Does the input have duplicates?
has_elements Is the input empty/scalar?
has_names Does the input have names?
has_no_attributes Does the input have any attributes?
has_no_duplicates Does the input have duplicates?
has_rownames Does the input have names?
has_rows Does the input have rows/columns?
has_slot Does the S4 input have a slot?
have_same_dims Are the inputs the same length/dimension?
is_atomic Is the input atomic/recursive/vector?
is_empty Is the input empty/scalar?
is_monotonic Is the vector monotonically increasing or decreasing?
is_monotonic_decreasing Is the vector monotonically increasing or decreasing?
is_monotonic_increasing Is the vector monotonically increasing or decreasing?
is_nested Is the input atomic/recursive/vector?
is_non_empty Is the input empty/scalar?
is_non_nested Is the input atomic/recursive/vector?
is_non_scalar Is the input empty/scalar?
is_not_null Is the input (not) null?
is_null Is the input (not) null?
is_of_dimension Is the input empty/scalar?
is_of_length Is the input empty/scalar?
is_recursive Is the input atomic/recursive/vector?
is_scalar Is the input empty/scalar?
is_unsorted Is the input unsorted?
is_vector Is the input atomic/recursive/vector?
n_elements Get the number of elements