Description Usage Arguments Value Examples
View source: R/standardize_exposure.R
Converts a data frame into a MD-PMS Exposure data frame.
1 2 3 4 5 6 7 8 9 |
data_frame |
The input data frame requiring components specified in the remaining arguments. |
time |
Character name of date variable in Example: |
device_hierarchy |
Vector of character variable names representing the
device hierarchy in Example: |
event_hierarchy |
Vector of character variable names representing the
event hierarchy in Example: Default: |
key |
Character name of (uniquely identifying) primary key variable in
Example: Default: |
match_levels |
Vector of character variable names in Example: Default: |
count |
Character name of exposure count variable in Example: Default: |
A standardized MD-PMS data frame of class mds_e
.
Rows are deduplicated. Attributes are as follows:
Original variable name for key
Original variable name for time
Vector of original variable names for
device_hierarchy
with converted variable names correspondingly
named.
Vector of original variable names for
event_hierarchy
with converted variable names correspondingly
named.
Vector of variable names for grouping factors
Original variable name for count
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.