expcorrectC {PheVis} | R Documentation |
expcorrectC
Description
c++ function to compute exponential cumulation of information.
Usage
expcorrectC(mat, diffdate, lambda)
Arguments
mat |
A matrix where each column is a variable to be cumulated. |
diffdate |
Number of days between each sojourn. NA for switch of patient and restart cumulation. |
lambda |
A double to set the exponential cumulation. |
Details
expcorrectC
Value
A matrix corresponding to the mat argument with cumulated exponential decay
[Package PheVis version 1.0.4 Index]