Learn R Programming

healthcareai (version 1.2.4)

plotProfiler: Display availability feature profile over time

Description

Shows what percentage of data is avilable after a particular starting time period.

Usage

plotProfiler(listOfVectors)

Arguments

listOfVectors

A list of vectors, where first vector has the hours and subsequent vectors represent the features and how much they're filled for each of the hours. Usually populated by featureAvailabilityProfiler()

Value

Nothing

References

http://healthcareai-r.readthedocs.io

See Also

healthcareai

Examples

Run this code
# NOT RUN {
lis <- list()
# Establish hour range/sequence
lis$hoursSinceAdmit <- c(0,1,3,6,12,24)

# Add features and their percent full for each hour
lis$BP <- c(40, 45, 65, 78, 80, 90)
lis$LDL <- c(10, 30, 40, 70, 100, 120)

plotProfiler(lis)
# }

Run the code above in your browser using DataLab