Re: [R] How to ignore data

2010-12-13 Thread Steve Sidney
Firstly apologies that I didn't see Ben's original response, thanks. (Found that I had my subscription to the list disabled, so only received mails to my address directly.) Also I shouldn't have had the 'knee-jerk' re-action that I did and should have followed Bert's advice by not replying, bu

Re: [R] How to ignore data

2010-12-13 Thread Steve Sidney
Mon, Dec 13, 2010 at 9:42 AM, Steve Sidney wrote: Thanks for the questions. 1) The data represents micro-organism counts and a count of zero in this case is highly unlikely given the info we have; including the other participants. ?? Censoring or an experimental failure? Big difference. 2) The

Re: [R] How to ignore data

2010-12-13 Thread Steve Sidney
Thanks for the comments Please see my reply to Stavros - the counts represent organisms and btw both mean and the median are virtually unaffected by the removal of these valuse. Furthermore, experience rather than statistics indicates that these values are in fact gross errors and as you of

Re: [R] How to ignore data

2010-12-13 Thread Steve Sidney
why do you need to exclude the 1 values? Are you sure that a) you are doing the correct kind of analysis and b) the analysis is correct if you exclude 0 and 1? -s On Mon, Dec 13, 2010 at 10:38, Steve Sidney wrote: Dear list I have quite a small data set in which I need to have the

[R] How to ignore data

2010-12-13 Thread Steve Sidney
Dear list I have quite a small data set in which I need to have the following values ignored - not used when performing an analysis but they need to be included later in the report that I write. Can anyone help with a suggestion as to how this can be accomplished Values to be ignored 0 - ze

Re: [R] Help with Hist

2010-11-15 Thread Steve Sidney
, up to you how to cut it HTH, Ivan Le 11/15/2010 15:53, Steve Sidney a écrit : Dear list I am trying to re-scale a histogram and using hist() but can not seem to create a reduced scale where the upper values are not plotted. What I have is about 100 of which 80 or so are between a value of 0

[R] Help with Hist

2010-11-15 Thread Steve Sidney
Dear list I am trying to re-scale a histogram and using hist() but can not seem to create a reduced scale where the upper values are not plotted. What I have is about 100 of which 80 or so are between a value of 0 and 40 , one or two in the hundreds and an outlier around 2000. What I would

Re: [R] Rearranging long dataframe for printing in Sweave (andrecoding a factor)

2010-01-25 Thread Steve Sidney
u will have to do some experimenting and learning, in order to achieve this result. HTH - Good luck Steve - Original Message - From: "Jean-Louis Abitbol" To: "Steve Sidney" ; "Liviu Andronic" Cc: "R Help" Sent: Monday, January 25,

Re: [R] Rearranging long dataframe for printing in Sweave (andrecoding a factor)

2010-01-24 Thread Steve Sidney
Dear Liviu / Jean-Louis As the original poster I did find what I think is an elegant solution. The only remaining problem is that I have not been able to get it to work in Lyx, but it does work using a LaTeX editor (in this case WinEdt) and MikTex. I would still like to resolve why I can't re

Re: [R] Help using Cast (Text) Version

2010-01-19 Thread Steve Sidney
Hi Hadley Thanks I have downloaded the intro and the material and will work through it once get a chance Thanks for your interest Regards Steve - Original Message - From: "hadley wickham" To: "David Winsemius" Cc: "Steve Sidney" ; Sent: Monday, Ja

Re: [R] Help using Cast (Text) Version

2010-01-18 Thread Steve Sidney
is in simple terms I would be obliged. Don't expect you to have to provide the answer. Once again many thanks for your patience and help Regards Steve - Original Message - From: "David Winsemius" To: "David Winsemius" Cc: "Steve Sidney" ; Sent: Mond

Re: [R] Help using Cast (Text) Version

2010-01-18 Thread Steve Sidney
number of participants which in this case are represented by 1's and 0' per round b) The total number of 1's, ie Fails per round Regards Steve - Original Message - From: "David Winsemius" To: "Steve Sidney" Cc: Sent: Monday, January 18, 2010 12

Re: [R] Help using Cast (Text) Version

2010-01-17 Thread Steve Sidney
this helps you to understand the problem. Regards Steve Your help is much appreciated - Original Message - From: "David Winsemius" To: "Steve Sidney" Cc: Sent: Sunday, January 17, 2010 7:36 PM Subject: Re: [R] Help using Cast (Text) Version On Jan 17, 20

Re: [R] Help using Cast (Text) Version

2010-01-17 Thread Steve Sidney
"r"), "pf_zwi") w = cast(wi, lab ~ r) wi_eval = w[order(as.character(w$lab)),] # Code for summing the no of Fails for Within Results #wsum = cast(wi, lab ~ r, margins=TRUE, sum) ## ## Save Summary of Within Results ## FileSaveWi=paste(SampleName,"_",FileName,"

Re: [R] Help using Cast (Text) Version

2010-01-17 Thread Steve Sidney
om: "David Winsemius" To: "Steve Sidney" Cc: Sent: Sunday, January 17, 2010 4:39 PM Subject: Re: [R] Help using Cast (Text) Version On Jan 17, 2010, at 5:31 AM, Steve Sidney wrote: Sorry to repeat the meassage, not sure if the HTML version has been received - Apologies for

[R] Help using Cast (Text) Version

2010-01-17 Thread Steve Sidney
Sorry to repeat the meassage, not sure if the HTML version has been received - Apologies for duplication Dear list I am trying to count the no of occurances in a column of a data frame and there is missing data identifed by NA. I am able to melt and cast the data correctly as well as sum the

[R] Help using Cast

2010-01-17 Thread Steve Sidney
Dear list I am trying to count the no of occurances in a column of a data frame and there is missing data identifed by NA. I am able to melt and cast the data correctly as well as sum the occurances using margins and sum. Here are the melt and cast commands bw = melt(res, id=c("lab","r"), "pf

Re: [R] Help with Order

2010-01-11 Thread Steve Sidney
David , Duncan Thanks for the swift response. You guys hit the nail on the head. That's exactly what the problem was. All the best Steve - Original Message - From: "David Winsemius" To: "Duncan Murdoch" Cc: "Steve Sidney" ; Sent: Monday, Janua

[R] Help with Order

2010-01-11 Thread Steve Sidney
Dear List As a fairly new R programmer I seem to have run into a strange problem - probably my inexperience with R After reading and merging successive files into a single data frame, I find that order does not sort the data as expected. I have multiple references in each file but each file

Re: [R] Input to variables - help please

2009-05-13 Thread Steve Sidney
Hi Luc Many thanks for the suggestions. I will take a look at them as soon as I can. Are the functions standard or are they part of a function and if so which one? Regards Steve - Original Message - From: "Luc Villandre" To: "Steve Sidney" Cc: Sent: Wednes

[R] Input to variables - help please

2009-05-13 Thread Steve Sidney
Dear list I have managed to write a short program to evaluate data which is inputted from a csv file using the following x = read.csv("wms_results.csv", header=TRUE) All works fine but since I have a number of similar data files which have different names, I would like the program to allow me t

Re: [R] Help with Scviews

2009-03-19 Thread Steve Sidney
intention to continue to develop Komodo - SciViews 2) What is the IDE package used for. 3) Does it still need Rcmdr to be installed to run/. Once again thanks for the help. Regards Steve - Original Message - From: "Philippe Grosjean" To: "Steve Sidney" Cc: Sent

[R] Help with Scviews - previous ver HTML

2009-03-18 Thread Steve Sidney
Dear all I would appreciate it if someone could help me to install Scviews. 1) I am running Windows XP Service Pack 3 with 1Gb of memory and 120GB HDrive. 2) R is installed and runs fine RCommander is installed and seems to run reasonably well. Some issues where it 'bombs' out for no reason.

[R] Help with Scviews

2009-03-18 Thread Steve Sidney
Dear all I would appreciate it if someone could help me to install Scviews. 1) I am running Windows XP Service Pack 3 with 1Gb of memory and 120GB HDrive. 2) R is installed and runs fine RCommander is installed and seems to run reasonably well. Some issues where it 'bombs' out for no reason. 3

[R] Help on BarPlot

2009-02-09 Thread Steve Sidney
Dear all As a new user of R, can someone please help me with the following I have created a programme to analyse laboratory data and one of the graphs is a bar plot of 'Z' scores. On the bar plot I am using the following line to plot some results barplot (zb[,c("ZBW")], ylim = c(-6,6), names.