expcorrectC: expcorrectC

View source: R/RcppExports.R

expcorrectCR 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


PheVis documentation built on Oct. 20, 2023, 9:08 a.m.