зеркало из https://github.com/microsoft/wpa.git
fix: add missing `data_tb`
This commit is contained in:
Родитель
bffdf33a28
Коммит
737d5fc831
|
@ -85,6 +85,11 @@ plot_flex_index <- function(data,
|
||||||
data %>%
|
data %>%
|
||||||
.[sample(nrow(.), size = 10), ]
|
.[sample(nrow(.), size = 10), ]
|
||||||
|
|
||||||
|
## Make sure data.table knows we know we're using it
|
||||||
|
.datatable.aware = TRUE
|
||||||
|
|
||||||
|
data_tb <- data.table::as.data.table(data)
|
||||||
|
|
||||||
plot_title <- "Random sample of 10 Working patterns"
|
plot_title <- "Random sample of 10 Working patterns"
|
||||||
|
|
||||||
} else if(method == "common"){
|
} else if(method == "common"){
|
||||||
|
|
Загрузка…
Ссылка в новой задаче