This is a maintenance and feature-update release, preparing the package for resubmission to CRAN.
sim_cbo()
by changing the
structure to an empirical optimization based on precision and then cost.
The function evaluates for the sampling designs that best approximate to
\((1-\alpha)\) and then finds the cost
for each one of the selected sampling efforts. Lastly, the function
marks the best options. The function is documented and includes
examples.underwood_cbo()
to keep the
possibility of using Underwood’s optimization that was used in previous
versions of the package. The function is documented and includes
examples.NOTE
s related to “no visible binding for
global variable” and “no visible global function definition”. This was
addressed by explicitly importing functions with
@importFrom
and declaring global variables with
utils::globalVariables()
, making the package more robust
and compliant with CRAN policies.permanova_twoway()
function.‘ecocbo’ now can work with either single-factor and nested-symmetric experiments.
A new function, prep_data()
, is added. This allows
the user to select which model to use and then prepares the data for
using with the rest of the functions.
plot_power()
was updated. Readability of the power
curve is improved by differentiating the optimal, or user selected,
experimental design.
This is a resubmission, in this version we have:
corrected the presentation for function names in the description texts by removing single quotes and adding () after each name.
added ISBN to the reference for Underwood (1997) in the DESCRIPTION, as well as in the manual files and vignette.
changed to for examples involving ‘sim_beta()’ as it takes more than 5 seconds to run them as they are. Changing the parameter values to make the function run faster would not be instructional to the final user, as it would not demonstrate the function’s actual runtime and functionality. The example code will not be run automatically, but it can still be run manually if desired.
NEWS.md
file to track changes to the
package.