What are the x and y va,ues for aes?

47 views
Skip to first unread message

spmo...@gmail.com

unread,
Dec 17, 2022, 4:32:10 AM12/17/22
to ggplot2
Let me start bu saying that this is not \a school problem.

I have some data:

> head(DA_Plot)
# A tibble: 6 ×ばつ 12
DME...1 DME...2 DME-Wa...1 Tacrine Tacri...2 TRS TRS-W...3 Cyclo...4 Soman VX
<dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 -6.81 -6.64 -8.49 -8.54 -8.56 -12.1 -11.3 -6.17 -5.32 -6.03
2 -6.71 -6.57 -8.37 -8.41 -8.42 -11.8 -11.0 -5.93 -5.24 -5.92
3 -6.63 -6.43 -8.34 -8.34 -8.23 -11.6 -10.6 -5.81 -5.16 -5.90
4 -6.48 -6.37 -8.16 -8.30 -8.22 -11.1 -10.3 -5.76 -5.14 -5.88
5 -6.34 -6.34 -8.08 -8.23 -8.18 -10.6 -9.68 -5.72 -5.08 -5.85
6 -6.32 -6.32 -8.08 -8.13 -8.14 -10.5 -9.63 -5.68 -5.07 -5.84
# ... with 2 more variables: `R-Tabun` <dbl>, `S-Tabun` <dbl>, and
# abbreviated variable names 1​`DME-Water`, 2​`Tacrine-Water`,
# 3​`TRS-Water`, 4​Cyclosarin
# i Use `colnames()` to see all variable names

I can get a bare bones plot using boxplot(DA_Plot), but want to use ggplot. My problem is: what do use in the aes statement? Google only serves to confuse me.

Thanks in advance

Reply all
Reply to author
Forward
0 new messages