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
# var x as character works as expectedd$idx<- as.character(d$idx)
ggplot(d, aes(x=idx, y=value, colour=category,
group=category)) +
geom_line() +
gghighlight(category=='b', use_group_by=FALSE)
#> label_key: category
# var x as factor dosn't works as expectedd$idx<- as.factor(d$idx)
ggplot(d, aes(x=idx, y=value, colour=category,
group=category)) +
geom_line() +
gghighlight(category=='b', use_group_by=FALSE)
#> label_key: category#> Error: Problem with `filter()` input `..1`.#> x 'max' not meaningful for factors#> ℹ Input `..1` is `idx == max(idx)`.#> ℹ The error occurred in group 1: category = "b".
cc @vicky-rojas.
Created on 2020-10-27 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: