0

I have a time series of indoor temperature measurements that I need to classify into heating and non-heating episodes. I applied a classification algorithm and it worked in most cases. The cases where it misclassified is easy to spot on a scapperplot with the class as color.

It looks similar to this:

library(ggvis)
all_values <- function(x) {
  if(is.null(x)) return(NULL)
  paste0(names(x), ": ", format(x), collapse = "<br />")
}

mtcars %>% ggvis(x = ~wt, y = ~mpg) %>% layer_points(fill = ~factor(am)) %>% add_tooltip(all_values, "click")

Except that I need a way to change the value of the variable "am" and store it

Christiaan
  • 115
  • 9

0 Answers0