Skip to content

Commit

Permalink
Minor doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
sgaure committed Jul 1, 2019
1 parent c366077 commit 33d48f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: durmod
Type: Package
Title: Mixed Proportional Hazard Competing Risk Model
Version: 1.0-3
Date: 2019-06-30
Date: 2019-07-01
Authors@R: person("Simen", "Gaure", email="[email protected]", role=c("aut","cre"),
comment=c(ORCID="https://orcid.org/0000-0001-7251-8747"))
URL: https://github.com/sgaure/durmod
Expand Down
6 changes: 4 additions & 2 deletions vignettes/whatmph.Rnw
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ should only explain the \code{"job"} transition. The \code{ID(id)} specifies
that the covariate \code{id} identifies individuals. The \code{D(duration)} specifies
that the covariate \code{duration} contains the durations of the observations. Finally,
the \code{S(state)} term specifies that the covariate \code{state} is a factor which
indexes into the \code{risksets} argument.
indexes into the \code{risksets} argument. In this application, we could as well
have replaced \code{C(job,alpha)} with \code{C(job,state)} in the formula, since
these two covariates are essentially the same.

\code{mphcrm} writes diagnostic output, one line per iteration. It contains
potentially useful information. There is a time stamp, the iteration number, the number
Expand Down Expand Up @@ -314,7 +316,7 @@ around the program, I have collected them here with their defaults. Some of them
\item{\code{maxtime=120}.} A numeric. When searching for a new location point, a global search algorithm
from package \pkg{nloptr} is used. \code{maxtime} is its time limit in seconds. Should be increased if
\code{mphcrm} repeatedly complains about not being able to find a new point. However, when
there are noe new points to be found at the end of the estimation, this will necessarily happen.
there are no new points to be found at the end of the estimation, this will necessarily happen.
See also \code{lowint}.

\item{\code{callback=mphcrm.callback.}} A function. If the one-line diagnostic from \code{mphcrm} is insufficient,
Expand Down

0 comments on commit 33d48f8

Please sign in to comment.