spduration (development version)
- Add package anchors ((foo)) in documentation to fix R check NOTEs on CRAN.
spduration 0.17.2 (2024-02-08)
CRAN release: 2024-02-08
- Fix
model.matrix
so that it works correctly with dots arguments. - Fix an error when trying to use
add_duration()
orspdur()
with a tibble as input. The errors were due to tibble returning lists when subsetting columns with[, col]
. The data input is now internally converted to a base data frame (as.data.frame()
). - Removed dependency on plyr.
spduration 0.17.1 (2018-03-26)
CRAN release: 2018-05-04
- Add pkgdown static documentation website at https://www.andybeger.com/spduration.
- Fix C++ code that was causing warnings on R-devel; replacing & and | with && and ||.
spduration 0.17.0 (2017-10-04)
CRAN release: 2017-10-04
- Adds proper handling of the various
na.action
options forspdur
and itspredict
,residuals
, andfitted
methods. - Import
forecast
generic function fromforecast
package rather than re-defining it. Addsforecast
to neccessary imports. - Added bug reports link to DESCRIPTION for github issues page (https://github.com/andybega/spduration/issues).
- Fixes minor errors in introduction vignette and data documentation.
- Register C++ routines to avoid R-devel note.
spduration 0.16.0 (2017-04-11)
CRAN release: 2017-04-11
- separationplot.spdur -> sepplot.
separationplot
is a standalone function so change thespdur
version to a simple wrapper. - Cleaned up NAMESPACE. Moved
stats
to imported package in description and removed all associated explicit namespace generic imports. - Added package vignette.
- Added file
init.c
with calls toR_registerRoutines()
andR_useDynamicSymbols()
; also use.registration=TRUE
inuseDynLib
inNAMESPACE
. R-devel (and R 3.4.0 in the future)R CMD check
issues a NOTE for registration of routines, this is to avoid that note. - Updated DESCRIPTION and added references.
spduration 0.15.1 (2016-05-12)
CRAN release: 2016-05-12
- Fixes bug in
summary.spdur
that would return wrong estimates forlog(alpha)
. - Better column names for
summary
andxtable
methods. - Fixes test error after
testthat
update.
spduration 0.15.0
CRAN release: 2016-03-01
- Added accessor methods for
terms
,model.matrix
,coef
, andvcov
. - Added
fitted
andresiduals
methods. - Fixes issue #17, which led to errors in
summary.spdur
when called on a model with factor variables or without intercept terms. - Fixes an issue with the hazard rate plot confidence intervals (
plot_hazard(ci = TRUE)
), where CIs coud be wrong because coefficients were sampled by equation rather than using the full variance covariance matrix.
spduration 0.14.0
CRAN release: 2015-10-27
- Added Belkin & Schofer 2003 coup data in
data(bscoup)
, see?bscoup
. - Replaced
plot_hazard1
andplot_hazard2
withplot_hazard
, added support for loglog models, and other internal streamlining of plotting code. - Partial fix for summarizing and printing results for models without intercept term.
- Removed documentation and export for several internal functions.