[R] best way to plot a evolution in time

2010-06-25 Thread nana
Hi everyone, I have the following question: given three objects let's say: a <- c( 2 , 5, 15, 16) b <- c(1 ,1, 8 , 8) c <- c (10, 10 11 ,11) m<-matrix(c(a,b,c),byrow=T,nrow=3) rownames(m)<-c("gene a", 'gene b','gene c') m gene.dist<-dist(m,method='euclidian') gene.dist which is the best way to pl

Re: [R] boxplot width

2010-06-24 Thread nana
Thank you. It worked. Regards -- View this message in context: http://r.789695.n4.nabble.com/boxplot-width-tp2266805p2267050.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailm

Re: [R] boxplot width

2010-06-24 Thread nana
it works with the 'TRUE' as well but this only shows me the boxplots width; it doesn't show me the number of data points used though.. This is what I can't figure out -- View this message in context: http://r.789695.n4.nabble.com/boxplot-width-tp2266805p2266932.html Sent from the R help mailing

[R] boxplot width

2010-06-24 Thread nana
Hi everyone, I made this set of boxplots that would show me the widths of some sites broken up by some chromosome, but I don't know how to make it indicate the number of data points that created the boxplot. How do I do that? boxplot(data$site~data$chr,varwidth='TRUE') -- View this message in

[R] NetCDF output in R

2009-11-13 Thread nana
the tdim in the dim.def.ncdf function. so tdim <- dim.def.ncdf('time','days since 1980-01-01', times, unlim=TRUE) became tdim <- dim.def.ncdf('time','days since 1980-01-01', nt, unlim=TRUE) Thanks all. Nana Browne ===

Re: [R] [Rd] NetCDF output in R

2009-11-11 Thread nana
Dear Robert, Thanks for the information. I tried this but it still did not work well. I will try some other option. Nana Browne There is no key to happiness. The door is always open. --- On Tue, 11/10/09, Robert J. Hijmans

[R] NetCDF output in R

2009-11-10 Thread nana
th',lats) times <- 1:nt tdim <- dim.def.ncdf('time','days since 1980-01-01', times, unlim=TRUE) # levs <- dim.def.ncdf('lev','pressure',levs) var <- var.def.ncdf('data','unitless',list(lon,lat,tdim),-999.9) ncid <- create.n

[R] NetCDF output in R

2009-11-10 Thread nana
th',lats) times <- 1:nt tdim <- dim.def.ncdf('time','days since 1980-01-01', times, unlim=TRUE) # levs <- dim.def.ncdf('lev','pressure',levs) var <- var.def.ncdf('data','unitless',list(lon,lat,tdim),-999.9) ncid <- cre