You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I came across the following error. Do you think it is because I updated recently some packages? Could you please help me to fix this?
Thanks,
library(mobster)
library(tidyr)
library(dplyr)
example_data = Clusters(mobster::fit_example$best)
drivers_rows = c(2239, 3246, 3800)
example_data$is_driver = FALSE
example_data$driver_label = NA
example_data$is_driver[drivers_rows] = TRUE
example_data$driver_label[drivers_rows] = c("DR1", "DR2", "DR3")
# Fit and print the data
fit = mobster_fit(example_data, auto_setup = 'FAST')
[ MOBSTER fit ]
Error in mobster:::check_input(x, K, samples, init, tail, epsilon, maxIter, : There are some reserved names in the input data that cannot be used, please remove or rename columns: cluster, Tail, C1, C2
Traceback:
1. mobster_fit(example_data, auto_setup = "FAST")
2. mobster:::check_input(x, K, samples, init, tail, epsilon, maxIter,
. fit.type, seed, model.selection, trace)
3. stop("There are some reserved names in the input data that cannot be used, please remove or rename columns: ",
. paste0(fixed_names, collapse = ", "))
The text was updated successfully, but these errors were encountered:
Hi,
I came across the following error. Do you think it is because I updated recently some packages? Could you please help me to fix this?
Thanks,
The text was updated successfully, but these errors were encountered: