Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
andybega committed Feb 8, 2024
1 parent 6154bfc commit 2851722
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 7 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: spduration
Title: Split-Population Duration (Cure) Regression
Version: 0.17.1.9003
Version: 0.17.1.9004
Authors@R: c(
person("Andreas", "Beger", , "adbeger@gmail.com", c("aut", "cre"), comment = c(ORCID = "0000-0003-1883-3169")),
person("Daina", "Chiba", , "dchiba@essex.ac.uk", "aut"),
Expand Down Expand Up @@ -43,7 +43,7 @@ Suggests:
LinkingTo:
Rcpp,
RcppArmadillo
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
VignetteBuilder: knitr
URL: https://github.com/andybega/spduration, https://andybeger.com/spduration
BugReports: https://github.com/andybega/spduration/issues
6 changes: 5 additions & 1 deletion R/plot.spdur.R
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,12 @@ plot_hazard <- function(x, t = NULL, ci=TRUE, n=1000, xvals=NULL, zvals=NULL, ..

#' Calculate hazard function values
#'
#' @param x An object of class "\code{spdur}".
#' @param ti Vector of duration values over which to evaluate the hazard function.
#' @param lambda density function parameter
#' @param cure density function parameter
#' @param alpha density function parameter
#' @param out not used
#' @param dist "weibull" or "loglog"
#'
#' @keywords internal
hazard <- function(ti, lambda, cure, alpha, out, dist) {
Expand Down
7 changes: 4 additions & 3 deletions R/spduration-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
#' Consolidation.'' American Political Science Review.
#'
#' @name spduration
#' @docType package
#' @useDynLib spduration, .registration = TRUE
#' @importFrom Rcpp sourceCpp
NULL
globalVariables("temp.t")
"_PACKAGE"

globalVariables("temp.t")

10 changes: 9 additions & 1 deletion man/hazard.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions man/spduration.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2851722

Please sign in to comment.