Description Usage Arguments Value Examples
Trims a DataTemporalMap
object between an start and end date. If one is not specified it takes
as default the first/last chronological date in the input DataTemporalMap
.
1 2 3 4 5 6 7 8 9 10 11 12 | trimDataTemporalMap(
dataTemporalMap,
startDate = min(dataTemporalMap@dates),
endDate = max(dataTemporalMap@dates)
)
## S4 method for signature 'DataTemporalMap'
trimDataTemporalMap(
dataTemporalMap,
startDate = min(dataTemporalMap@dates),
endDate = max(dataTemporalMap@dates)
)
|
dataTemporalMap |
of class |
startDate |
|
endDate |
|
A DataTemporalMap
object between the specified dates.
1 2 3 4 5 6 7 8 9 | load(system.file("extdata",
"variabilityDemoNHDSdiagcode1-phewascode.RData",
package="EHRtemporalVariability"))
probMapTrimmed <- trimDataTemporalMap(
dataTemporalMap = probMaps[[1]],
startDate = "2005-01-01",
endDate = "2008-12-01"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.