arkhe 1.11.0
New classes and methods
- Add resample_uniform()andresample_multinomial()to draw random samples.
- Add confidence_bootstrap()to compute bootstrap
confidence intervals.
Enhancements
arkhe 1.10.0
Internals
arkhe 1.9.0
Enhancements
- Allow NULLor empty values inassert_length()andassert_type().
Bugfixes & changes
- seek_rows()to- seek_columns()return- NULLif there is nothing to look for.
arkhe 1.8.0
New classes and methods
- Add append_column()to add a named vector as a column
in adata.frame.
- Add assert_nrow()andassert_ncol()to
check the number of rows/columns.
Enhancements
- Translate into French.
- seek_rows()and- seek_columns()gained a
new- namesargument.
- assert_type()gained new- allow_emptyand- allow_nullarguments.
arkhe 1.7.0
New classes and methods
- Add scale_midpointto rescale a continuous vector to
have specified minimum, midpoint and maximum.
Internals
- Reexport %||%from base on newer versions of R to avoid
conflict messages.
Breaking changes
- Move palette_*()functions to
khroma.
arkhe 1.6.0
New classes and methods
- Add describe()to quickly describe amatrix-like object.
- Add sparsity()to computes data sparsity (proportion of
zeros).
arkhe 1.5.0
New classes and methods
- Add palette_color_continuous()andpalette_color_discrete()for color mapping.
- Add palette_shape()andpalette_size()for
symbol shape and size mapping.
- Add clean_whitespace()to remove leading/trailing white
space.
- Add seek_*()andget_*()to find and get
rows/columns by names in adata.frame.
Enhancements
- compact()and- remove_*()gained a new- verboseargument to report extra information on
progress.
Bugfixes & changes
- Rename needs()toassert_package().
arkhe 1.4.0
New classes and methods
- Add %||%to replaceNULLwith a default
value.
- Add %+%to concatenate character vectors.
- Add scale_rangeto rescale a continuous vector to have
specified minimum and maximum.
Bugfixes & changes
- Remove deprecated methods.
- Remove na.rmargument of numeric predicates (so that
the length of the output equals the length of the input).
arkhe 1.3.0
New classes and methods
- Add remove_constant()to remove constant columns.
- Add remove_empty()to remove empty strings in amatrix-like object.
- Add replace_empty()to replace empty strings in amatrix-like object.
Bugfixes & changes
- Remove deprecated methods.
- Deprecate to_long()andwide_to_long().
Internals
- Use tinytest instead of
testthat.
arkhe 1.2.0
New classes and methods
- Add math_lcm()andmath_gcd()to compute
the lowest common multiple and the greatest common divisor.
- Add interval_hdr()andinterval_credible()to compute the credible intervals.
Bugfixes & changes
- jackknife()gained a new argument to apply a function
on the leave-one-out values (- f).
Internals
- Add with_seed()to evaluate an expression with a
temporarily seed.
arkhe 1.1.0
New classes and methods
- Add needs()to check for the availability of a
package.
Bugfixes & changes
- Remove deprecated methods.
- Remove unused argument in assert_unique().
arkhe 1.0.0
New classes and methods
- Add append_rownames()to convert row names to an
explicit column.
- Add assert_positive(),assert_negative(),assert_odd(),assert_even(),assert_constant(),assert_decreasing(),assert_increasing(),assert_lower()andassert_greater()to checknumericvectors.
- Add bootstrap()for bootstrap estimation.
- Add compact()to remove empty columns/rows in an
array-like object.
- Add discard()andkeep()remove/keep
rows/columns in an array-like object using a predicate function.
- Add to_long()to transform amatrixto a
longdata.frame.
Bugfixes & changes
- Export all predicate functions.
- Deprecate as_long(),assert_numeric(),assert_trend(),assert_relation(),assert_matrix()andremove_empty().
Breaking changes
- Remove all *Matrixclasses and methods.
- Rename compact()todiscard().
arkhe 0.5.0
New classes and methods
- Add assign_rownames()andassign_colnames()to make a specific row/column the
column/row names of adata.frame.
- Add assert_count()to validate count data (absolute
frequencies/integer).
- Add count()to count values by rows/columns according
to a given predicate.
- Add detect()to find rows/columns in an array-like
object according to a given predicate.
- Add compact()to remove rows/columns in an array-like
object according to a given predicate.
- Add jackknife()for jackknife estimation.
- Add confidence()to compute confidence interval for the
mean.
arkhe 0.4.0
New classes and methods
- Add replace_Inf()to replace infinite values in amatrix-like object.
- Add replace_zero()to replace zero in amatrix-like object.
- Add remove_Inf()to remove infinite values in amatrix-like object.
- Add assert_*()andvalidate()to validate
objects.
- Add get_dates(),set_dates()<-to
extract/replacedatesslot.
- Add get_terminus(),set_terminus()<-,get_tpq(),set_tpq()<-,get_taq(),set_taq()<-to extract/replacetpqandtaqslots.
- Add summary()forAbundanceMatrixobjects.
Internals
- AbundanceMatrixclass gained a new slot to store the
sample sizes (- totals).
- AbundanceMatrixclass gained two new slots to store
chronological information (- dates,- tpq,- taq).
- Add AbundanceSummaryclass to store summary of anAbundanceMatrixobject.
arkhe 0.3.1
Bugfixes & changes
- Fix warning “data length differs from size of matrix” in examples
(R-devel).
arkhe 0.3.0
New classes and methods
- Add replace_NA()to replace missing values.
- Add remove_NA(),remove_zero()andremove_empty()to remove missing values, zeros and empty
rows/columns in amatrix.
- Add get_samples(),set_samples()<-,get_groups()andset_groups()<-to
extract/replacesamplesandgroupsslots.
Bugfixes & changes
- Change OccurrenceMatrixinheritance (fromNumericMatrixtoIntegerMatrix).
- Rename AbundanceMatrix(ambiguous) toCompositionMatrix.
- Deprecate as_abundance().
- Remove SimilarityMatrixclass.
- as_long()gained a new- reverseargument.
arkhe 0.2.2
Bugfixes & changes
- CRAN package check error has been fixed (random error with
testthat).
- CRAN package check warnings have been fixed (remove
nomnoml from suggested packages).
arkhe 0.2.1
Bugfixes & changes
- CRAN package check warnings have been fixed (“documented arguments
not in ” in the r-devel checks).
arkhe 0.2.0
arkhe 0.1.0