sample NAF TAF
00450 0.5211098 0.5310629
00450 0.5193542 0.5286942
00450 0.5262824 0.5199457
00450 0.5230269 0.5252758
00450 0.5169092 0.5223112
00160 0.5221299 0.5324644
00160 0.5319794 0.5531024
00160 0.5233437 0.5358770
00160 0.5242215 0.5224607
00160 0.5152723 0.5229491
00810 0.5127049 0.5222062
00810 0.5263669 0.5320754
00810 0.5157763 0.5267149
00810 0.5433680 0.5671679
00810 0.5242678 0.5248383
Hi, I have a big data frame like this one above. I have to do a boxplot to compare NAF with TAF, by sample name. There are around 100 different samples, so I should split the data. How should I do?
With this code:
boxplot(NAF ~ sample, TAF ~ sample, data=data, las=2, varwidth=T)
It plots only NAF, not TAF...
I think I had done it once , by lattice graphics, I can't remember full code but the basic one which could help you could be like this
Just play around with parameters of
bwplot