powered by
If the uptime is lower than 0.5, uptime_quality will be FALSE, else TRUE
uptime_quality
enrich_uptime(data)
Same dataframe with an additionnal column indicating if the uptime is greater (TRUE) or lower (FALSE) than 0.5.
Data frame containing an uptime column
uptime
df <- data.frame('uptime' = c(0.05, 0.95)) enrich_uptime(df)
Run the code above in your browser using DataLab