Rcompadre 1.4.0
- Added a function mpm_elementwise_applywhich can apply
any function over elements in a matrix. For example,mean,min,max,sd,varetc. to allow summaries to conveniently be made across matrices of the
same dimension. Replaces some of the functionality ofmpm_sd/mat_sd,mpm_median/mat_medianandmpm_mean/mat_mean, which are retained for
backwards compatibility.
- Removed non-ASCII characters in package (including data) to satisfy
CRAN requirements.
Rcompadre 1.3.0
- Minor performance enhancements, some of which speed up functions
while others improve code readability and stability.
- Added functions mpm_sd/mat_sdandmpm_median/mat_medianwhich join the existingmpm_mean/mat_meanfunctions to calculate
element-wise summary statistics across MPMs of the same dimension. Code
contributed by Darren Norris with modifications by Owen Jones. A future
version will include a generic “summarise matrix” function.
- Increased test coverage.
Rcompadre 1.2.2
- Fixed minor errors causing some tests to fail.
Rcompadre 1.2.1
- Fixed an error in cdb_build_cdbcausing an error in the
construction of the A matrix when a C matrix was not provided.
- Fixed a technical issue with as_tibble.CompadreDBthat
caused a build failure on some platforms.
Rcompadre 1.2.0
- Improvements to cdb_fetch. Can add a comment as an
attribute on import. Can download particular versions of the databases
by version number. Can force quiet running (no messages).
Rcompadre 1.1.0
- Added cdb_build_cdbfunction, which allows users to
buildcompadreDBobjects from their own data
- Added flagargument tocdb_fetch. If this
is set toTRUEthen the checks fromcdb_flagwill be run on the database during the downloaded process thus
streamlining coding.
- Added additional flags to cdb_fetch:check_zero_Fwhich checks whether the F (sexual
reproduction) matrix is all zeros (TRUE if all zero) andcheck_zero_U_colsumwhich checks whether there are any
columns of the U matrix that are all zero (i.e. whether there are some
stages where there is 100% mortality).
- Updated Compadre and Comadre data samples with the new names for
AnnualPeriodicity (changed to ProjectionInterval) and DOI.ISBN (changed
to DOI_ISBN).
Rcompadre 1.0.0
- Released on CRAN on 20210430
Rcompadre 0.3.0
- Updated DESCRIPTION with new contributors.
- Improved documentation to ensure it is more understandable to less
experienced users.
- Grouped functions by type in the documentation.
- Improved vignettes with a range of examples demonstrating the range
of basic to complex features.
- Added an argument (check_surv_gte_1) tocdb_checkto checkmatUfor elements greater
than or equal to 1.
- Added cdb_metadatafunction to provide easy access to
metadata (without associated matrices).
- Matrix accessor functions (matA,matUetc.) now ensure that the matrices are provided with named columns and
rows. Names are prefixed by matrix type (e.g. A1, A2, A3 or U1, U2,
U3).
- Added machine-readable codemeta-data information
(codemeta.json)
- Unit tests improved to increase coverage.
- Modified build checks via continuous integration on Travis, Appveyor
and GitHub actions (including weekly checks).
Rcompadre 0.2.0
- Modifications to improve the class definitions, which are renamed to
CompadreDBandCompadreM.
- Added generic functionality with accessor methods via
ClassUnionMethods. e.g. functionsmatA,matU,matF, andmatCoutput all
A,U,F, or C matrices from a database.
- Added cdb_fetchfunction to obtain the latest version
of COMPADRE or COMADRE.
- The database object behaves more like a data frame than the complex
hierarchical object it is.
- Added Tidyverse support so that most dplyrfunctions
can be used with the database (e.g. filter).
- Generic subsetting methods including subset,[]now work.
- Database can be used with magrittrpipes.
- Most functions renamed with cdb_prefix, followed by
verb (e.g.dbComparebecomescdb_compareandcleanDatabasebecomescdb_flag).
- The function cdb_unnestunnests the DB by spreading the
matrices into separate list columns.
- The function convert2flatis replaced withcdb_flatten, but works on an entire database rather than a
single matrix.cdb_unflattenreverses the procedure.
- Other functions are also renamed with more intuitive names.
- Functions collapseMatrix,identifyReprodStages,rearrangeMatrix,splitMatrixmoved to theRagepackage.
- Added simple vignettes.
- Added unit tests for all functions.
Rcompadre 0.1.0
- First pre-release version!
- Established S4 class CompadreDatawith definition and
methods.
- Established S4 class CompadreMwith definition and
methods.
- Functions to checkspecies, check for matrix problems
(cleanDatabase),
- Functions to manipulate the databases: merge databases
(mergeDB), compare database versions
(dbCompare), subset the database
(subsetDB).
- Functions to manipulate matrices: to collapse matrix to a smaller
number of stages (collapseMatrix), convert matrix to a
“flat” format (convert2flat), calculate the mean F matrix
(getMeanMatF), segregate reproductive/non-reproductive
stagesrearrangeMatrix, split the matrix into submatrices
(splitMatrix)
- Function to produce a matrix from a string representation
stringtomatrix.
- Added continuous integration.