Closed lucazav closed 2 years ago
I can adjust the code to avoid this. In the mean time, if you can install forcats
, you can execute the following as a workaround (before executing the shiny app(s)):
trace(dtwclust::interactive_clustering, at = 12L, tracer = quote(
server_env$.explore_df_$Series <- forcats::fct_relevel(server_env$.explore_df_$Series,
names(series))
))
trace(dtwclust::ssdtwclust, at = 14L, tracer = quote(
server_env$.explore_df_$Series <- forcats::fct_relevel(server_env$.explore_df_$Series,
names(series))
))
I believe you must call the functions without the namespace prefix (dtwclust::
) afterwards.
Given my series in a list contained in the
data
variable, the series ordering in the Explore dashboard is the one given bysort( names(data) )
and not the original one given bynames(data)
. This makes the analysis more difficult if you want to select your series by indexes based on your original ordering.