Learn R Programming

telraamStats (version 1.1.2)

enrich_uptime: Enrich traffic data with uptime quality indication

Description

If the uptime is lower than 0.5, uptime_quality will be FALSE, else TRUE

Usage

enrich_uptime(data)

Value

Same dataframe with an additionnal column indicating if the uptime is greater (TRUE) or lower (FALSE) than 0.5.

Arguments

data

Data frame containing an uptime column

Examples

Run this code
df <- data.frame('uptime' = c(0.05, 0.95))
enrich_uptime(df)

Run the code above in your browser using DataLab