-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Rainer M
Krug
Sent: Monday, June 20, 2016 2:48 PM
To: ch.elahe via R-help <r-help at r-project.org>
Subject: Re: [R] How to visualize this df
<chalabi.elahe at yahoo.de> writes:
Please keep this on the mailing list for info.
Thanks for your reply. I want to show NRuns for each Protocol in my df
and color it by Speed. I think it's possible by a bar chart but I am
confused how to subset my df for using Bar chart in ggplot
Sorry - haven't used ggplot in ages.
Can't help you with that.
Rainer
On Monday, June 20, 2016 1:29 PM, Rainer M Krug <Rainer at krugs.de>
"ch.elahe via R-help" <r-help at r-project.org> writes:
Hi all,
I have a question about how to visualize my df! here is my df I need to
'data.frame': 455 obs. of 128 variables:
$Protocol :Factor w/132 levels "_unknown","PD FS SAG","T1 SAG
$NRuns : int 45 45 156 75 89 69 ......
$Speed :Factor w/4 levels "Slow","Fast","VeryFast","VerySlow"
NRuns is actually number of times that the customer used the protocol
and speed is how did the costumer run the Protocol. Each Protocol can
have different NRuns. Do you know what's the best way to visualize
this df?
That depends what you want to show. And that determines the best
visualization.
Also: what do you want to use it for: an interactive presentation may
call for different visualizations than a printed report.
Cheers,
Rainer
Thanks for any help!
Elahe
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology Stellenbosch University South Africa
Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax : +33 - (0)9 58 10 27 44
Fax (D): +49 - (0)3 21 21 25 22 44
email: Rainer at krugs.de
Skype: RMkrug
PGP: 0x0F52F982