Learn R Programming

healthcareai (version 1.2.4)

addSAMUtilityCols: Add SAM utility columns to table

Description

When working in a Health Catalyst Source Area Mart (SAM), utility columns are added automatically when running a non-R binding

Usage

addSAMUtilityCols(df)

Arguments

df

A dataframe

Value

A dataframe with three additional columns

References

http://healthcareai-r.readthedocs.io

See Also

healthcareai

Examples

Run this code
# NOT RUN {
df <- data.frame(a = c(1,2,NA,NA),
                 b = c(100,300,200,150))
head(df)
df <- addSAMUtilityCols(df)
head(df)
# }

Run the code above in your browser using DataLab