collapse
rpart
Our great sponsors
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 | - |
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
-
is there a package using data.table that provides functions for descriptive stats, missingness etc?
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
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
-
Converting "C50" models into "rpart"
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?
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