Package: arkhe 1.9.0
arkhe: Tools for Cleaning Rectangular Data
A dependency-free collection of simple functions for cleaning rectangular data. This package allows to detect, count and replace values or discard rows/columns using a predicate function. In addition, it provides tools to check conditions and return informative error messages.
Authors:
arkhe_1.9.0.tar.gz
arkhe_1.9.0.tar.gz(r-4.5-noble)arkhe_1.9.0.tar.gz(r-4.4-noble)
arkhe_1.9.0.tgz(r-4.4-emscripten)arkhe_1.9.0.tgz(r-4.3-emscripten)
arkhe.pdf |arkhe.html✨
arkhe/json (API)
NEWS
# Install 'arkhe' in R: |
install.packages('arkhe', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tesselle/arkhe/issues
Pkgdown site:https://packages.tesselle.org
Last updated 17 days agofrom:44d52c1941. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 10 2024 |
R-4.5-linux | OK | Dec 10 2024 |
Exports:%+%%||%append_columnappend_rownamesassert_colnamesassert_constantassert_countassert_decreasingassert_dimassert_dimensionsassert_emptyassert_evenassert_filledassert_functionassert_greaterassert_increasingassert_infiniteassert_lengthassert_lengthsassert_lowerassert_missingassert_namesassert_ncolassert_negativeassert_nrowassert_oddassert_packageassert_positiveassert_rownamesassert_scalarassert_squareassert_symmetricassert_typeassert_uniqueassert_wholeassign_colnamesassign_rownamesbootstrapcheck_classclean_whitespacecompactcompact_colscompact_columnscompact_rowsconfidence_binomialconfidence_meanconfidence_multinomialcountdescribedetectdiscarddiscard_colsdiscard_columnsdiscard_rowsget_columnsget_rowshas_colnameshas_duplicateshas_infinitehas_lengthhas_missinghas_nameshas_rownamesinterval_credibleinterval_hdris_atomicis_characteris_constantis_decreasingis_doubleis_emptyis_erroris_evenis_greateris_increasingis_integeris_listis_logicalis_loweris_messageis_negativeis_numericis_oddis_positiveis_scalar_atomicis_scalar_characteris_scalar_doubleis_scalar_integeris_scalar_listis_scalar_logicalis_scalar_numericis_scalar_vectoris_squareis_symmetricis_uniqueis_vectoris_warningis_wholeis_zerojackknifekeepkeep_colskeep_columnskeep_rowslabel_percentmath_gcdmath_lcmneedsremove_constantremove_emptyremove_Infremove_NAremove_zeroreplace_emptyreplace_Infreplace_NAreplace_zeroscale_midpointscale_rangeseek_columnsseek_rowssparsityvalidate
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Add a (Named) Vector as a Column | append_column append_column,data.frame-method append_column-method |
Convert Row Names to an Explicit Column | append_rownames append_rownames,data.frame-method append_rownames-method |
Check Numeric Trend | assert_constant assert_decreasing assert_increasing |
Check Object Dimensions | assert_dim assert_ncol assert_nrow |
Check Object Filling | assert_empty assert_filled |
Check Infinite Values | assert_infinite |
Check Object Length(s) | assert_length assert_lengths |
Check Numeric Relations | assert_greater assert_lower |
Check Missing Values | assert_missing |
Check Object Names | assert_colnames assert_names assert_rownames |
Check Numeric Values | assert_count assert_even assert_negative assert_numeric assert_odd assert_positive assert_whole |
Check the Availability of a Package | assert_package needs |
Check Matrix | assert_square assert_symmetric |
Check Data Types | assert_function assert_scalar assert_type |
Check Duplicates | assert_unique |
Assign a Specific Row/Column to the Column/Row Names | assign assign_colnames assign_colnames,data.frame-method assign_colnames-method assign_rownames assign_rownames,data.frame-method assign_rownames-method |
Bootstrap Estimation | bootstrap bootstrap,numeric-method bootstrap-method |
Remove Leading/Trailing Whitespace | clean_whitespace clean_whitespace,data.frame-method clean_whitespace,matrix-method clean_whitespace-method |
Remove Empty Rows/Columns | compact compact,ANY-method compact-method compact_columns compact_columns,ANY-method compact_columns-method compact_rows compact_rows,ANY-method compact_rows-method |
Concatenate | %+% concat |
Confidence Interval for Binomial Proportions | confidence_binomial confidence_binomial,numeric-method confidence_binomial-method |
Confidence Interval for a Mean | confidence_mean confidence_mean,numeric-method confidence_mean-method |
Confidence Interval for Multinomial Proportions | confidence_multinomial confidence_multinomial,numeric-method confidence_multinomial-method |
Count Values Using a Predicate | count count,data.frame-method count,matrix-method count-method |
Data Description | describe describe,ANY-method describe-method |
Find Rows/Columns Using a Predicate | detect detect,ANY-method detect-method |
Remove Rows/Columns Using a Predicate | discard discard,ANY-method discard-method discard_columns discard_columns,ANY-method discard_columns-method discard_rows discard_rows,ANY-method discard_rows-method |
Get Rows/Columns by Name | get get_columns get_columns,ANY-method get_columns-method get_rows get_rows,ANY-method get_rows-method |
Bayesian Credible Interval | interval_credible interval_credible,numeric-method interval_credible-method |
Highest Density Regions | interval_hdr interval_hdr,numeric,missing-method interval_hdr,numeric,numeric-method interval_hdr-method |
Scalar Type Predicates | is_scalar is_scalar_atomic is_scalar_character is_scalar_double is_scalar_integer is_scalar_list is_scalar_logical is_scalar_numeric is_scalar_vector |
Jackknife Estimation | jackknife jackknife,numeric-method jackknife-method |
Keep Rows/Columns Using a Predicate | keep keep,ANY-method keep-method keep_columns keep_columns,ANY-method keep_columns-method keep_rows keep_rows,ANY-method keep_rows-method |
Greatest Common Divisor | math_gcd math_gcd,numeric,numeric-method math_gcd-method |
Least Common Multiple | math_lcm math_lcm,numeric,numeric-method math_lcm-method |
Default value for NULL | %||% null |
Attributes Predicates | has_length is_empty predicate-attributes |
Utility Predicates | has_duplicates has_infinite has_missing is_unique predicate-data |
Matrix Predicates | is_square is_symmetric predicate-matrix |
Names Predicates | has_colnames has_names has_rownames predicate-names |
Numeric Predicates | is_even is_negative is_odd is_positive is_whole is_zero predicate-numeric |
Numeric Trend Predicates | is_constant is_decreasing is_greater is_increasing is_lower predicate-trend |
Type Predicates | is_atomic is_character is_double is_error is_integer is_list is_logical is_message is_numeric is_vector is_warning predicate-type |
Remove Constant Columns | remove_constant remove_constant,ANY-method remove_constant-method |
Remove Rows/Columns with Empty String | remove_empty remove_empty,ANY-method remove_empty-method |
Remove Rows/Columns with Infinite Values | remove_Inf remove_Inf,ANY-method remove_Inf-method |
Remove Rows/Columns with Missing Values | missing remove_NA remove_NA,ANY-method remove_NA-method |
Remove Rows/Columns with Zeros | remove_zero remove_zero,ANY-method remove_zero-method zero |
Replace Empty String | replace_empty replace_empty,data.frame-method replace_empty,matrix-method replace_empty-method |
Replace Infinite Values | replace_Inf replace_Inf,data.frame-method replace_Inf,matrix-method replace_Inf-method |
Replace Missing Values | replace_NA replace_NA,data.frame-method replace_NA,matrix-method replace_NA-method |
Replace Zeros | replace_zero replace_zero,data.frame-method replace_zero,matrix-method replace_zero-method |
Rescale Continuous Vector (minimum, midpoint, maximum) | scale_midpoint |
Rescale Continuous Vector (minimum, maximum) | scale_range |
Search Rows/Columns by Name | seek seek_columns seek_columns,data.frame-method seek_columns,matrix-method seek_columns-method seek_rows seek_rows,data.frame-method seek_rows,matrix-method seek_rows-method |
Sparsity | sparsity sparsity,data.frame-method sparsity,matrix-method sparsity-method |
Validate a Condition | validate |