-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Labels
type: enhancementImprovement on an existing featureImprovement on an existing feature
Description
Hello,
First, thank you for your awesome product. I really appreciate the data exploration tool you've put together.
I'm trying to figure out if certain functionality exists. I'm running DataExplorer v 0.8.0.
I have the following dataframe:
Classes ‘tbl_df’, ‘tbl’ and 'data.frame': 32 obs. of 7 variables:
$ group : Factor w/ 2 levels "amber","blue": 1 2 2 1 2 1 1 2 2 2 ...
$ ess_score : num 13 14 9 12 1 3 11 8 5 8 ...
$ rpcsq_rpq3 : num 2 4 2 3 5 0 6 4 0 0 ...
$ rpcsq_rpq13 : num 4 16 19 2 16 4 15 23 12 16 ...
$ rpcsq_cognitive: num 0 4 8 0 6 2 2 10 6 7 ...
$ rpcsq_somatic : num 6 14 13 3 15 2 12 10 6 6 ...
$ rpcsq_emotional: num 0 2 0 2 0 0 7 7 0 3 ...
I'd like to produce ess x rpcsq scatterplots (5 scatterplots) with the points colored by group. I've tried the following:
> plot_scatterplot(tmp, by = "ess_score")
This works but obviously doesn't color the points. The following code however fails to produce the plots:
> plot_scatterplot(tmp, by = "ess_score", geom_point_args = list(col = "group"))
Error in grDevices::col2rgb(colour, TRUE) : invalid color name 'group'
> plot_scatterplot(tmp, by = "ess_score", geom_point_args = list(col = group))
Error in do.call("geom_point", geom_point_args) :
object 'group' not found
> plot_scatterplot(tmp, by = "ess_score", geom_point_args = list(group = "group", col = "group"))
Error in grDevices::col2rgb(colour, TRUE) : invalid color name 'group'
Does the functionality I'm looking for exist in the current iteration of DataExplorer? Thanks for any help you can be.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: enhancementImprovement on an existing featureImprovement on an existing feature