cmp_ccc_help: Combo Completeness Extended Class Properties

View source: R/cmp_ccc.R

cmp_ccc_helpR Documentation

Combo Completeness Extended Class Properties

Description

Combinations of completeness and extended class properties.

Usage

cmp_ccc_help()

cmp_ccc(x, ccc, ...)

cmp_ccc_funs()

cmp_ccc_props()

cmp_arr(x, ...)

cmp_dtf(x, ...)

cmp_gen(x, ...)

cmp_mat(x, ...)

cmp_mvc(x, ...)

cmp_scl(x, ...)

cmp_vec(x, ...)

cmp_vls(x, ...)

Arguments

x

An R object.

ccc

A character scalar single xclass property from ccc_props().

...

Arguments passed on to meets

Value

A character vector

cmp_ccc_funs

A logical scalar

⁠cmp_{ccc}, cmp_ccc⁠

Functions

  • cmp_ccc(): Checks x for completeness plus the extended class in ccc subject to count and/or value restrictions in .... Returns a logical scalar.

  • cmp_ccc_funs(): Lists all completeness plus extended class property checking functions. Returns a character vector.

  • cmp_ccc_props(): Lists all completeness plus extended class properties.

  • cmp_arr(): Checks x for completeness and array-ness subject to count and/or value restrictions in .... Returns a logical scalar.

  • cmp_dtf(): Checks x for completeness and data.frame-ness subject to count and/or value restrictions in .... Returns a logical scalar.

  • cmp_gen(): Checks x for completeness and generic-ness subject to count and/or value restrictions in .... Returns a logical scalar.

  • cmp_mat(): Checks x for completeness and matrix-ness subject to count and/or value restrictions in .... Returns a logical scalar.

  • cmp_mvc(): Checks x for completeness and multivec-ness subject to count and/or value restrictions in .... Returns a logical scalar.

  • cmp_scl(): Checks x for completeness and scalar-ness subject to count and/or value restrictions in .... Returns a logical scalar.

  • cmp_vec(): Checks x for completeness and vec-ness subject to count and/or value restrictions in .... Returns a logical scalar.

  • cmp_vls(): Checks x for completeness and vector-list-ness subject to count and/or value restrictions in .... Returns a logical scalar.

Specifying count and value restrictions

Specifying restrictions in ... is optional. The full set of recognized arguments names are defined in the following table along with the properties each specifies:

  ⁠.max, .maxr, .maxc⁠   Scalar maximum valid numbers of elements, rows, and columns, respectively.
   
  ⁠.min, .minr, .minc⁠ Scalar minimum valid numbers of elements, rows, and columns, respectively.
   
  ⁠.lt, .le, .ge, .gt⁠ Complete sortable scalar less-than, less-than-or-equal, greater-than-or-equal, and greater-than bounds, respectively.
   
  ⁠.n, .nr, .nc⁠ A vector of valid numbers of elements, rows, and columns, respectively.
   
  .vals A vector of valid values.

See Also

Other properties: as_mmm(), bbb_ccc_help(), bbb_help(), bbb_mmm_prop_funs(), ccc_help(), cls(), cmp_mmm_ccc_help(), cmp_mmm_help(), compatible(), ddd_prop_funs(), eee_help(), iii_help(), meets(), mmm_ccc_help(), mmm_help(), ppp_fast_help(), ppp_help(), sss_ccc_help(), sss_prop_funs(), unq_ccc_prop_funs(), unq_mmm_ccc_help(), unq_mmm_help()

Examples

cmp_ccc_funs()
cmp_ccc(letters, "mvc")
cmp_ccc(1, "scl")
cmp_ccc(NA, "gen")
cmp_mvc(letters)
cmp_scl(1)


j-martineau/uj documentation built on Sept. 14, 2024, 4:40 a.m.