search for: speciesnames

Displaying 6 results from an estimated 6 matches for "speciesnames".

2011 Jul 26
1
adjusting x-axis labels
...guianensis) b) right justify the text and c) have each species name align with the center of the corresponding bar graph. A simplified version of my code thus far is as follows. I am using RStudio v. .94.84 install.packages('gplots') library(gplots) x<-rnorm(9, mean=600, sd=300) speciesnames<-c("Dialium\nguianensis", "Inga\nalba", "Tachigali \nversicolor", "Brosimum\nutile", "Caryocar\ncostaricense", "Castilla \ntunu", "Otoba\nnovagranatensis", "Pourouma\nbicolor", "Socratea \nexorrhiza") xv...
2011 Jun 21
2
par code help
...pecies name and have then rotated the labels 45 degrees to save room. This is my code: >columncolor<-c("grey20", "grey20", "grey20", "grey70", "grey70", "grey70", "grey70", "grey70", "grey70") >speciesnames<-c("Dialium\nguianensis", "Inga\nalba", "Tachigali \nversicolor", "Brosimum\nutile", "Caryocar\ncostaricense", "Castilla \ntunu", "Otoba\nnovagranatensis", "Pourouma\nbicolor", "Socratea \nexorrhiza") &...
2009 Oct 06
1
italics help in plot
Part of my script reads: speciesName <- names(data)[i] plot(year,depth, xlab="Year", ylab="Depth(m)",main=expression(italic(paste(speciesName))) ) Unfortunately, this just plots *speciesName *on my graph, not the name of the species in italics. Any suggestions on how to resolve this? Thank you Jacob [[alternative HTML version deleted]]
2011 May 23
2
Formatting names.arg
I am making a barplot using barplot2 from gplots and would like to format the names of my categorical variables (tree species) on the x- axis so that the genus name is above the species name (to save room). My code so far is: speciesnames<-c("Dialium guianensis", "Inga alba", "Tachigali versicolor", "Brosimum utile", "Caryocar costaricense", "Castilla tunu", "Otoba novagranatensis", "Pourouma bicolor", "Socratea exorrhiza") barplot2(me...
2012 Jun 28
0
neatmap - draw.dendrogram - help!
...plot function. Using plot I can get my dendrograms to display the species name for each leaf of the tree. But I cannot figure out how to make this happen using draw.dendrogram.. genetic<- read.csv("genetic.csv") genetic genetic<- as.matrix(genetic) gen.dist <- as.dist(genetic) speciesnames<- spp.by.chem[,1] # perform hierarchical clustering on the gen.dist matrix, and plot the tree gen.hc <-hclust(gen.dist) gen.hc$labels <- speciesnames #plot works fine but doesn't point the dendrogram in the right direction for what I want to do. plot(as.dendrogram(gen.hc), type = c(...
2009 May 01
3
adding zeros to dataframe
Greetings, I am new to R and am hoping to get some tips from experienced R-programmers. I have a dataset that I've read into R as a dataframe. There are 5 columns: Plot location,species name, a species number code (unique to each species name), abundance, and treatment. There are 272 plots in each treatment, but only the plots in which the species was recorded have an abundance value. For