[f2e496]: / man / CalculateDaysAtRisk-methods.Rd

Download this file

30 lines (24 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eventData.R, R/singleSimDetails.R
\docType{methods}
\name{CalculateDaysAtRisk}
\alias{CalculateDaysAtRisk}
\alias{CalculateDaysAtRisk,EventData-method}
\alias{CalculateDaysAtRisk,SingleSimDetails-method}
\title{Calculate the number of days at risk}
\usage{
CalculateDaysAtRisk(object, ...)
\S4method{CalculateDaysAtRisk}{EventData}(object)
\S4method{CalculateDaysAtRisk}{SingleSimDetails}(object, times)
}
\arguments{
\item{object}{The object to calculate the days at risk}
\item{...}{Additional arguments passed to the function}
\item{times}{A vector of dates for calculating cutting the simulated date at in order to
calculate the number of days at risk by this point.}
}
\description{
For \code{EventData} object this is the number of days
at risk of the input data. For \code{SingleSimDetails} object
this is the median numberof days at risk in the simulation set at the given time
}