Developer details for QuantityX objects/methods. This page just outlines the arguments
and slots of these objects/methods. For the full implementation details please see Grid-Dev
Usage
as.QuantityGenerator(object, ...)
as.QuantityCollapser(object, ...)
QuantityCollapser(times, groups, indexes)
# S3 method for class 'GridEven'
as.QuantityGenerator(object, data, ...)
# S3 method for class 'GridEven'
as.QuantityCollapser(object, data, ...)
# S3 method for class 'GridEvent'
as.QuantityGenerator(object, data, ...)
# S3 method for class 'GridEvent'
as.QuantityCollapser(object, data, ...)
# S3 method for class 'GridFixed'
as.QuantityGenerator(object, data, ...)
# S3 method for class 'GridFixed'
as.QuantityCollapser(object, data, ...)
# S3 method for class 'GridGrouped'
as.QuantityGenerator(object, data, ...)
# S3 method for class 'GridGrouped'
as.QuantityCollapser(object, data, ...)
# S3 method for class 'GridManual'
as.QuantityGenerator(object, data, ...)
# S3 method for class 'GridManual'
as.QuantityCollapser(object, data, ...)
# S3 method for class 'GridObserved'
as.QuantityGenerator(object, data, ...)
# S3 method for class 'GridObserved'
as.QuantityCollapser(object, data, ...)
# S3 method for class 'GridPopulation'
as.QuantityGenerator(object, data, model = NULL, ...)
# S3 method for class 'GridPopulation'
as.QuantityCollapser(object, data, model = NULL, ...)
# S3 method for class 'GridPrediction'
as.QuantityGenerator(object, data, ...)
# S3 method for class 'GridPrediction'
as.QuantityCollapser(object, data, ...)
QuantityGeneratorPopulation(times, studies = NULL, arms = NULL, newdata = NULL)
QuantityGeneratorPrediction(times, newdata = NULL, params = NULL)
QuantityGeneratorSubject(times, subjects = NULL)Arguments
- object
(
Grid) object to convert to aQuantityGeneratororQuantityCollapser.- ...
Not currently used.
- times
(
numeric) vector of time points to extract quantities at.- groups
(
character) vector of labels to apply to the generated quantities.- indexes
(
list) list of indexes that specify which observations from aQuantityGeneratorshould be combined to form the desired quantities.- data
(
DataJoint) Survival and Longitudinal Data.- model
(
JointModelorNULL) optional fitted-model specification used for model-specific population profiles.- newdata
(
data.frameorNULL) population profiles carried by a population quantity generator.- subjects
(
character) vector of subjects to extract quantities for.
Details
The as.QuantityGenerator must return a QuantityGenerator object.
The as.QuantityCollapser must return a QuantityCollapser object.
