Description Usage Arguments Details Value Examples
This function returns the normalizing factor, based upon the input settings
1 | getNormalizationTerm(dates, flags, defaultTime = 1)
|
dates |
The dates of all visits recorded in the record |
flags |
The R dataframe that contains all feature/model flags specified in settings.R. - specifies which sort of normalization to perform |
defaultTime |
Value by which to normalize patients who only have a single visit, so cannot say what the follow-up time is (=0 –> undefined). Set default time as 1; as if spreading single observation over an entire year or 1 month (depending on settings) |
Depending upon the input settings, will return the normalizing term for the feature values. Some normalization settings depend upon the specific feature type; these are addressed within the individual feature types. This is a helper function for getPatientData
The value by which to divide term counts
1 2 3 4 5 6 | ## Not run:
timeDiff <- getNormalizationTerm(dates, flags)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.