| NEWS | R Documentation |
News for Package BE
Version 0.3.0 (2026-07-29)
test2x2no longer computes the sums of squares from the closed-form 2x2 formulae. The modellog(Var) ~ GRP/SUBJ + PRD + TRTis now fitted with the sasLM package: the analysis of variance comes fromsasLM::T3test(Type III sums of squares, GROUP tested against SUBJECT(GROUP)), the geometric least square means fromsasLM::LSM, and the confidence interval fromsasLM::CIest. All reported values are unchanged apart from floating-point noise.The analysis of variance table now lists
DfbeforeSum Sq, matching SAS PROC GLM and sasLM. The rows and their contents are unchanged.test2x2now stops with a message if theTRTcolumn holds anything other than 'R' and 'T'.The rtf package is back on CRAN, so BE depends on it again. The vendored copy of its functions (‘R/rtf_utils.R’, added in 0.2.5) is removed, along with the R.oo and R.methodsS3 imports it needed.
Version 0.2.5 (2026-07-11)
The dependency on the archived rtf package was removed. The subset of rtf functions required by
be2x2is now vendored internally in ‘R/rtf_utils.R’ (originally authored by Michael E. Schaffer, GPL (>= 2)); BE now imports R.oo and R.methodsS3 for the RTF object system.The example dataset
NCAResult4BEmoved from internal ‘R/sysdata.rda’ to ‘data/’ withLazyData.NAMESPACEnow uses explicit exports (instead of a broad pattern) and registers the internal RTF S3 methods.be2x2no longer opens on-screen graphics devices when writing an RTF report.Corrected the mean-and-SD panel of
plot2x2(error-bar whisker and label position); no test result is affected.Documentation typos and inaccurate \value/\details sections fixed; internal formula duplication removed.
powmsenow uses the standard TOST powerp1 - p2(previouslyp1 - p1*p2, which overstated power); this also affectspowcv,ssmse,sscv,ssscvand the sample-size rows oftest2x2. Some determined sample sizes increase by about one subject per sequence.hodgesnonparametric 90% confidence-interval limits corrected (off-by-one in the order statistics; also removes an error at the smallest samples). The test is renamed to Wilcoxon Rank-Sum (Mann-Whitney) and its p-value is now two-sided.scaledBoundapplies the 50% CV cap only to the EMA/MFDS bound (k= 0.76); the US FDA bound (k= 0.893) is no longer capped.
Version 0.2.4 (2022-12-28)
trimws is used for the input data.frame
Version 0.2.3 (2022-09-07)
Some quotation mark UTF-8 characters in the rtf file are changed to ASCII code
Some typo fixed
Version 0.2.2 (2022-08-08)
Too low power or too large sample size are reported better.
Version 0.2.1 (2022-05-02)
sssCV and scaledBound for scaled average BE now support US FDA criteria.
Version 0.2.0 (2022-04-02)
sscv and ssmse return power value as an attribute.
Interval criteria for scaled average BE can be calculated with scaledBound function
Version 0.1.5 (2021-12-16)
Asterisks are shown in the ANOVA table
Negative between-subject variance will be shown as 0.
Version 0.1.4 (2021-11-16)
Beutified ANOVA result in test2x2 and be2x2
Version 0.1.3 (2021-06-21)
Minor update due to the upgrading of R system
Version 0.1.2 (2020-09-24)
2x2x3 design is supported. See the help of
powmse.
Version 0.1.1 (2018-07-18)
be2x2supports output to be saved in a rtf file
Version 0.1.0 (2018-06-18)
First version