Re: [R] Hmisc or Lattice plot with error bars, Depth (independent variable) on Y axis

2006-10-31 Thread Mike Bock
To: Mike Bock Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Hmisc or Lattice plot with error bars, Depth (independent variable) on Y axis On 10/30/06, Mike Bock [EMAIL PROTECTED] wrote: I am trying to create some plots of concentration versus depth. I want Depth on the Y axis and the concentrations

[R] Hmisc or Lattice plot with error bars, Depth (independent variable) on Y axis

2006-10-30 Thread Mike Bock
I am trying to create some plots of concentration versus depth. I want Depth on the Y axis and the concentrations on the X axis. I also need to plot error bars. The xYplot function in Hmisc is very nearly ideal but I have to put depth on the x-axis to get it to work. When I transpose the X

[R] PCA, Source analysis and Unmixing, environmental forensics

2006-03-23 Thread Mike Bock
I am using R for environmental forensics (determination of the sources and/or groupings in mixtures of organic chemicals in the field). The goal is to determine in there are groups of samples with similar/dissimilar compositions, and to assign samples to a potential source or a mixture of sources

[R] Cumulative Density Plots (Hmisc/lattice)

2006-01-17 Thread Mike Bock
I have been using the ECDF function in the Hmisc package to produce cumulative distribution function plots. The problem is that for small datasets the steps look bad (not my characterization but from the client). Is there a way to get the same information but smoothed? I have tried the densityplot

[R] Summary functions to dataframe

2006-01-03 Thread Mike Bock
I have written a few different summary functions. I want to calculate the statistics by groups and I am having trouble getting the output as a dataframe. I have attached one example with a small dataset that calculates summary stats and percentiles, I have others that calculate upper confidence

Re: [R] Range plots (lattice or base?)

2005-10-20 Thread Mike Bock
]} lconf - 0 uconf - 0 stats - c(lp,lci,Mean,uci,up) n-sizen conf -c(lconf,uconf) result - list(stats = stats,n=n,conf=conf,out = NA) return(result) } -Original Message- From: Deepayan Sarkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 3:34 PM To: Mike Bock Cc: r-help

[R] Range plots (lattice or base?)

2005-10-19 Thread Mike Bock
I am looking to create what I would call a simple variation on the boxplot. What I would like to do is to be able to plot the upper and lower confidence limits as the box and the 10th and 90th percentile as the whiskers. What I have done is write the code to create a dataframe, the columns of

Re: [R] Range plots (lattice or base?)

2005-10-19 Thread Mike Bock
/IndicatorAnalysis/indic_ATR.html Mike -Original Message- From: Paul Murrell [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 3:04 PM To: Mike Bock Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Range plots (lattice or base?) Hi Delete orginal message for brevity Can you put

[R] Covert list of list to dataframe for export or outputting by(test) output

2005-09-12 Thread Mike Bock
Greetings, I am running a buch of wilcox tests and need to be able to rapidly export the results into a csv file. I have attached example code as well as my attempts to get what I need. I have tried unlist,cbind,rbind etc but I am obvously missing something simple. FYI I am actually running about