Package: YPBP
Title: Yang and Prentice Model with Baseline Distribution Modeled by
        Bernstein Polynomials
Version: 0.0.1
Authors@R: person(given = "Fabio", family = "Demarqui", email = "fndemarqui@est.ufmg.br", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-9236-1986"))
Description: Semiparametric modeling of lifetime data with crossing survival curves via Yang and Prentice model with baseline hazard/odds modeled with Bernstein polynomials. Details about the model can be found in Demarqui et al. (2019) <arXiv:1910.04475>. Model fitting can be carried out via both maximum likelihood and Bayesian approaches. The package also provides point and interval estimation for the crossing survival times.
License: GPL (>= 2)
URL: https://github.com/fndemarqui/YPBP
BugReports: https://github.com/fndemarqui/YPBP/issues
Encoding: UTF-8
LazyData: true
Biarch: true
Depends: R (>= 3.4.0), survival
Imports: Formula, MASS, methods, Rcpp (>= 0.12.0), rstan (>= 2.18.1),
        rstantools (>= 2.0.0)
LinkingTo: BH (>= 1.66.0), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0),
        rstan (>= 2.18.1), StanHeaders (>= 2.18.0)
SystemRequirements: GNU make
RoxygenNote: 7.1.0
Suggests: knitr, testthat
NeedsCompilation: yes
Packaged: 2020-06-26 15:33:48 UTC; fndemarqui
Author: Fabio Demarqui [aut, cre] (<https://orcid.org/0000-0001-9236-1986>)
Maintainer: Fabio Demarqui <fndemarqui@est.ufmg.br>
Repository: CRAN
Date/Publication: 2020-06-29 09:20:13 UTC
Built: R 4.7.0; x86_64-w64-mingw32; 2026-05-09 03:31:30 UTC; windows
Archs: x64
