| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/relsurv.msboot.relsurv.boot.R |
| 3 |
\name{msboot.relsurv.boot} |
| 4 |
\alias{msboot.relsurv.boot} |
| 5 |
\title{Default theta function used for msboot.relsurv} |
| 6 |
\usage{ |
| 7 |
msboot.relsurv.boot( |
| 8 |
data, |
| 9 |
transmat, |
| 10 |
all_times, |
| 11 |
split.transitions, |
| 12 |
rmap, |
| 13 |
time.format, |
| 14 |
boot_orig_msfit = FALSE, |
| 15 |
ratetable = relsurv::slopop, |
| 16 |
add.times |
| 17 |
) |
| 18 |
} |
| 19 |
\arguments{ |
| 20 |
\item{data}{An object of class 'msdata' containing a bootstrapped sample} |
| 21 |
|
| 22 |
\item{transmat}{The transition matrix of class transMat} |
| 23 |
|
| 24 |
\item{all_times}{All times at which the hazards have to be evaluated} |
| 25 |
|
| 26 |
\item{split.transitions}{An integer vector containing the numbered transitions that should be split. Use same numbering as in the given transition matrix} |
| 27 |
|
| 28 |
\item{rmap}{An optional list to be used if the variables in the dataset are not organized (and named) in the same way as in the ratetable object} |
| 29 |
|
| 30 |
\item{time.format}{Define the time format which is used in the dataset Possible options: c('days', 'years', 'months'). Default is 'days'} |
| 31 |
|
| 32 |
\item{boot_orig_msfit}{Logical, if true, do the bootstrap for the basic msfit model} |
| 33 |
|
| 34 |
\item{ratetable}{The population mortality table. A table of event rates, organized as a ratetable object, see for example relsurv::slopop. Default is slopop} |
| 35 |
|
| 36 |
\item{add.times}{Additional times at which hazards should be evaluated} |
| 37 |
} |
| 38 |
\value{ |
| 39 |
A list of calculated values for the given bootstrap sample. |
| 40 |
} |
| 41 |
\description{ |
| 42 |
Helper function used for calling inside msboot.relsurv |
| 43 |
(used for every bootstrap dataset). |
| 44 |
This function is used for calculating split hazards |
| 45 |
and evaluating them at all needed times. |
| 46 |
} |
| 47 |
\seealso{ |
| 48 |
\code{\link{msboot.relsurv}} |
| 49 |
} |
| 50 |
\author{ |
| 51 |
Damjan Manevski \email{[email protected]} |
| 52 |
} |