print and summary outputs for partial effects
(fracreg.pe, fracregpd.pe,
fracreghet.pe, fracregridge.pe,
fracregmlogit.pe, fracregmlogit.wtp). Enforced
a logical hierarchical model ordering (BIN0 -> BIN1 -> FRAC ->
OVERALL) and adopted clear mathematical notation for component
probabilities (e.g., Pr(y > 0)).fracregmlogit.pe outputs to universally present discrete
choices as columns and covariates as rows, standardizing the
multidimensional matrix display.fracreg.reset,
fracreghet.reset, fracreg.ggoff,
fracreg.ptest) now display dynamic headers indicating
precisely which parent model was tested (e.g. “RESET Test for Fractional
logit regression”) rather than static generic text.wtp() and its plotting functions
(plot.fracregmlogit, plot.fracregmlogit.pe) to
natively support the newly transposed fracregmlogit.pe
outputs. Added stylistic formatting headers to wtp console
prints.print() S3 methods across the package to output raw
point-estimate matrices while reserving detailed statistical tables
(with standard errors, p-values, and confidence intervals) for
summary() S3 methods.broom::tidy() S3 methods for all package models, partial
effects objects (.pe), willingness-to-pay objects
(.wtp), and econometric tests (.reset,
.ggoff, .ptest). Tidied tibbles correctly map
test outputs to term, statistic, and
p.value columns.gtsummary::tbl_regression() integration.
tbl_regression.fracreg() now correctly triggers S3 dispatch
via NextMethod() without inadvertently stripping class
attributes, preventing broom::tidy() fallback failures and
resolving R CMD check warnings related to unexported
gtsummary::: namespaces.gtsummary
integration now correctly lists (Intercept) terms by
default for non-mixture (1P) and mixture (2P) fractional models.broom::tidy retained frac_ internal prefixes
for fracregridge components.fracregmlogit.pe where standard errors simulated via
marg.type = "aveacr" calculated point estimates across a
single sample mean instead of averaging across all individual
observations. Average Partial Effect standard errors are now accurate
across the full sample. Changed se = TRUE by default for
fracregmlogit.pe.T and F with TRUE and
FALSE across R source files and roxygen2
documentation blocks. Added Depends: R (>= 3.5.0) to
DESCRIPTION to comply with serialized dataset formats.\value tags to exported R methods (like
fitted, predict, and residuals)
and removed redundant introductory phrases like “This package…” from
description fields to meet strict CRAN policies.fracregpd.pe example scripts where random error
terms possessed static variances, restoring R CMD check
validation.403 Forbidden
errors during pkgdown automated documentation deployments
by explicitly granting the contents: write permission to
the GitHub Actions workflow.fracregridge and fracregridge.pe to implement
fractional ridge regression and its corresponding partial effects.fracregmlogit.pe to use
MASS::mvrnorm for Krinsky-Robb standard error simulations,
resolving hardcoded constraints.fracregpd.pe for computing Average Partial Effects (APE) in
panel data settings, including full support for Correlated Random
Effects (CRE) models and Delta method standard errors.level) in
output summaries.offset parameter in model specifications.summary() and
print() S3 methods across the package to align with R’s
standard practices. Changed output tables to say “regression” rather
than “model” for clarity.Estimate column headers to dy/dx
universally across all partial effects tables (fracreg.pe,
fracreghet.pe, fracregmlogit.pe,
fracregpd.pe, fracregridge.pe), while
enforcing Coefficient for non-partial effects outputs.Robust Std.Err., Cluster Std.Err.) and
cleanly append specific methodological notes to the tables (e.g., Delta
Method, Krinsky-Robb, HC0, CRVE)..Rd files into
roxygen2 comments embedded directly within the R source
files, ensuring airtight synchronization between code and
documentation.fmlogit (Ji and Woodill) and
fracridge (Rokem and Kay) packages across manual pages,
README, and vignettes, formatting URLs properly for rendering.README.pkgdown): Added a
sitemap.xml and reordered the README and
vignettes sections to properly showcase Fractional
Multinomial Logit and Fractional Ridge Regression alongside Panel Data
models. Added Willingness to Pay (WTP) plot visualizations in
tutorials..Rd files to
properly reflect table = FALSE default arguments and fixed
\usage widths. Updated the package title for clarity and
consistency.Namespace Imports: Added comprehensive
@importFrom tags for base R stats,
graphics, and grid functions, alongside
ggplot2, eliminating all undefined global function NOTEs
during checking.
S3 Method Registration: Explicitly registered S3
methods (like summary and plot) using
@exportS3Method to comply with strict
R CMD check standards.
CRAN Compliance: Wrapped computationally heavy
examples (like plot.fracregmlogit.pe) in
\donttest{} blocks to strictly respect CRAN’s 5-second
execution limit.
Resolved length > 1 logical condition errors in
plot.fracregmlogit standard error rendering by properly
adopting match.arg().
Resolved WTP matrix subsetting issues by enforcing
drop = FALSE.
Cleaned up legacy fmlogit code dependencies and
unified the namespace fully under fracregmlogit.
Fixed NA/NaN evaluation errors in
nlminb during fracreghet estimations.
Resolved devtools::check() formatting issues,
including S3 class inheritance checks (inherits()),
stats::approx scoping, and fixing missing alt-text for
accessibility. # fracreg 1.0.0
Initial CRAN release.