collapse VS rpart

Compare collapse vs rpart and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
collapse rpart
2 1
599 41
- -
9.6 3.2
8 days ago 3 days ago
C C
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

collapse

Posts with mentions or reviews of collapse. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-01.
  • is there a package using data.table that provides functions for descriptive stats, missingness etc?
    1 project | /r/rstats | 12 Oct 2022
    The ask is a little unclear. You might be interested in collapse and more generally in other packages in the fastverse. I guess it's also worth pointing out that data.table already provides alternative methods for certain base R descriptive stats functions (e.g., mean, etc.) that are automatically used when applied to datatables.
  • Benchmarking for loops vs apply and others
    2 projects | /r/rstats | 1 May 2022
    If you are looking for performance I would recommend to check the collapse package. The following line "collapse" = collapse::fsum(df_datatable$x, g=df_datatable$g) is around 2x faster than base::rowsum, and the dplyr style syntax doesn't add that much of an overhead "collapse dplyr" = df_datatable |> fgroup_by(g) |> fsum(x)

rpart

Posts with mentions or reviews of rpart. We have used some of these posts to build our list of alternatives and similar projects.
  • Converting "C50" models into "rpart"
    1 project | /r/rstats | 5 Aug 2021
    I don't know of anything directly applicable to your problem, so just a comment how would I start approaching it. Both rplot and c50 are open source, so you can peek into their code and look how all operations are done. For example, plotting in rpart is done using this function. Compare it to how plotting is done in c50. I'd start from figuring out whether it is possible to change rplot's plotting code so that it takes data like its c50's counterpart.

What are some alternatives?

When comparing collapse and rpart you can also consider the following projects:

fastverse - An Extensible Suite of High-Performance and Low-Dependency Packages for Statistical Computing and Data Manipulation in R

epanet2toolkit - An R package for calling the Epanet software for simulation of piping networks.

writexl - Portable, light-weight data frame to xlsx exporter for R

pyTsetlinMachine - Implements the Tsetlin Machine, Convolutional Tsetlin Machine, Regression Tsetlin Machine, Weighted Tsetlin Machine, and Embedding Tsetlin Machine, with support for continuous features, multigranularity, clause indexing, and literal budget

r-yaml - R package for converting objects to and from YAML

priceR - Economics and Pricing in R

apv-median - C library for streaming median approximation

bruceR - 📦 BRoadly Useful Convenient and Efficient R functions that BRing Users Concise and Elegant R data analyses.

tableone - R package to create "Table 1", description of baseline characteristics with or without propensity score weighting

RFI - R-Fortran Interface for Modern Fortran