Open stragu opened 3 years ago
as.incfreq() would throw a warning when the presence-absence data was only 0s or only 1s.
as.incfreq()
For example, try the following in the current release:
test_df0 <- data.frame(col1 = rep.int(0, 10)) library(iNEXT) as.incfreq(test_df0)
This PR fixes the following:
warning()
warnings()
as.infreq()
I am not particularly familiar with the package, so wanted to also ask:
as.incfreq()
would throw a warning when the presence-absence data was only 0s or only 1s.For example, try the following in the current release:
This PR fixes the following:
warning()
instead ofwarnings()
for the vector warning (assumed to be a typo)as.infreq()
I am not particularly familiar with the package, so wanted to also ask: