[R] How to visualize this df

Rainer M Krug Rainer at krugs.de
Mon Jun 20 14:48:13 CEST 2016


<chalabi.elahe at yahoo.de> writes:

>  Hi Rainer,

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> wrote:
> "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 visualize:
>>
>>     'data.frame':   455 obs. of 128 variables:
>>     $Protocol      :Factor w/132 levels "_unknown","PD FS SAG","T1 SAG FS","T2 FS OR",...
>>     $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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 454 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20160620/dddf7f70/attachment.bin>


More information about the R-help mailing list