search for: diet_b

Displaying 3 results from an estimated 3 matches for "diet_b".

2012 Sep 24
3
boxplot of different colors
...ecking the code below. Thank you in advance. Elaine R code # data input dataN <-read.csv("H:/a_mig_distance_B_NB/R_data/Mig_bird_586_20120925.csv",header=T, row.names=1) dim(dataN) dataN[1,] str(dataN) # graph par(mai=c(1,1.03,0.4,0.4)) obs.group<-dataN$Diet_B par(new=T) boxplot(GE_distance~Diet_B, data=dataN,xlab="Diet of Breeding Ground",ylab="", yaxt="n",type="p", pch=1,lwd=0.95, cex.lab=1.4, cex.axis=1.2, font.axis=2, cex=1.5, las=1, bty="l", col=c("fo...
2012 Sep 28
2
changing outlier shapes of boxplots using lattice
...lier shape. Based on the following code, the outliers are vertical lines. However, I want the outliers to be empty circles. Please kindly help how to modify the code to change the outlier shapes. Thank you. code package (lattice) dataN <- data.frame(GE_distance=rnorm(260), Diet_B=factor(rep(1:13, each=20))) Diet.colors <- c("forestgreen", "darkgreen","chocolate1","darkorange2", "sienna2","red2","firebrick3","saddlebrown","coral4", "chocolate...
2012 Sep 25
0
boxplot of multi box color
Hello, I want to draw a boxplot using 13 colors for 13 boxes. Each box represents a type of diet of birds. Y axis is the breeding range of the birds. I checked the previous r-help and found a possible solution. However, it did not work by showing "error in ncol(Diet_B)," Diet_B not found. Please kindly help with modification and thank you. Also, if anything is unclear, please let me know. code # data input dataN <-read.csv("H:/Mig_bird_586_20120925.csv",header=T, row.names=1) dataN$Diet_B <-factor(dataN$Diet_B) # graph par(mai...