Currently stuck on a question assigned in class, we have a dataframe with 3 groups and 3 explanatory variables. Tried my best to input a bit of the dataset below
diet <-    Group     useful   Difficulty   Importance
1         Website   19.6     5.15         9.5
2         Website   15.4     5.75         3.3
3         Nurse     22.3     4.35         5.0
4         Nurse     24.3     7.55         6.0
5         Video     22.5     8.50         18.8
6         Video     14.1     6.30         16.5
Just wondering how you would go about creating boxplots for this set of data? I would assume i would use facetting to an extent but unsure of the rest.
so far this is what i've tried..thought it is probably wrong
ggplot(diet,aes(x = importance, y = useful )) +geom_boxplot() +facet_wrap(~group, scales = "free")
 
    