mikeroswell / meanrarity Goto Github PK
View Code? Open in Web Editor NEWRepo for development of MeanRarity R package
Home Page: https://mikeroswell.github.io/MeanRarity
Repo for development of MeanRarity R package
Home Page: https://mikeroswell.github.io/MeanRarity
rarity(c(1,2,3, NA), 1)
returns NA
with an inscrutable warning, should just return 3
(perhaps with warning about NA values) by default.
Looks like for gamma distribution, if Hill-Simpson = richness, fit_SAD throws an error. Should give a more specific error/warning.
Skeleton code from Wickham and Bryan's R Packages book:
my_fun <- function(a, b) {
if (!requireNamespace("pkg", quietly = TRUE)) {
stop("Package "pkg" needed for this function to work. Please install it.",
call. = FALSE)
}
}
my_fun <- function(a, b) {
if (requireNamespace("pkg", quietly = TRUE)) {
pkg::f()
} else {
g()
}
}
Since many users will be familiar with the "q" parameterization used in vegan, iNEXT, etc., might be good to have an option (not default) to use "q" instead of "l". Will need good warning messages, implement across all main functions.
Rdpack
seems very helpful for package development, but would be nice if everyone building the package didn't have to install it. Is there a way to get the functionality for citations, anything else it is used for, without requiring another dependency?
Right now vignette figures look funny in html rendering (mainly the balance plots) with pkgdown.
Right now, the internal function MeanRarity:::fancy_rep
requires integer abundances, and the rarity plot entirely depends on the output for this. Probably needs a separate pathway to construct non-integer abundance version.
rarity(c(10,1),-1e4)
returns Inf
, should be about 1.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.