[R] column and line graphs in R

Marc Girondot marc_grt at yahoo.fr
Thu Mar 14 13:39:33 CET 2013


Le 14/03/13 11:05, Gian Maria Niccolò Benucci a écrit :
> Hi all,
>
> I would love to plot my data with R. I have abundance and frequency of fungal
> taxonomic data that should be plotted in the same graph. In Microsoft Excel
> is that possible but the graphic result is, as always, very poor. Is there
> a function that may let me plot these data in R?
> I have a matrix made of two columns, on is the relative abundance and the
> other is the relative frequency for each of my sample.
> Thank you very much,
>
You should be more precise about what sort of graph you want. A 
bivariate plot ?
For example, here is a bivariate from a matrix object:
fungal <- matrix(c(12, 54, 65, 76, .2, .6, .1, .7), nrow=4)
plot(fungal, xlab="Abondance", ylab="Frequency", bty="n", xlim=c(0,80))

(I don't understand the difference between relative abondance and 
frequency).
Sincerely,

Marc Girondot

-- 
__________________________________________________________
Marc Girondot, Pr

Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Université Paris-Sud 11 , UMR 8079
Bâtiment 362
91405 Orsay Cedex, France

Tel:  33 1 (0)1.69.15.72.30   Fax: 33 1 (0)1.69.15.73.53
e-mail: marc.girondot at u-psud.fr
Web: http://www.ese.u-psud.fr/epc/conservation/Marc.html
Skype: girondot



More information about the R-help mailing list