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

Download this file

29 lines (25 with data), 789 Bytes

 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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eventData.R
\docType{methods}
\name{CutData}
\alias{CutData}
\alias{CutData,EventData-method}
\title{Cut the Event Data}
\usage{
CutData(object, date)
\S4method{CutData}{EventData}(object, date)
}
\arguments{
\item{object}{The EventData object}
\item{date}{The date to cut the data at}
}
\value{
\code{EventData} object with the data censored at the appropriate point
}
\description{
Create a new EventData from an existing one which shows how the
data would have looked on a given date (assuming no lag in reporting of
events and if necessary subjects have been censored at cutoff point).
If subject was censored before the cut date then their censored date remains
unchanged
}