[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 -

Re: [R] How to ignore data

2010-12-13 Thread Steve Sidney
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. 2) The data is submitted in duplicate and then a standardised sum and difference is established and is used to

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
Oh dear oh dear!!! another arrogant statistician/scientist One asks for help and instead one gets an ear full!!! So much for the much vaunted helpful R community. But thanks anyway, I guess you were trying Steve On 2010/12/13 08:17 PM, Bert Gunter wrote: Inline below. -- Bert On

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,

[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] Help with Hist

2010-11-15 Thread Steve Sidney
, but works, 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

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

2010-01-25 Thread Steve Sidney
and learning, in order to achieve this result. HTH - Good luck Steve - Original Message - From: Jean-Louis Abitbol abit...@sent.com To: Steve Sidney sbsid...@mweb.co.za; Liviu Andronic landronim...@gmail.com Cc: R Help r-h...@stat.math.ethz.ch Sent: Monday, January 25, 2010 9:18 AM

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: [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 h.wick...@gmail.com To: David Winsemius dwinsem...@comcast.net Cc: Steve Sidney sbsid

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

2010-01-18 Thread Steve Sidney
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 dwinsem...@comcast.net To: Steve Sidney sbsid...@mweb.co.za Cc: r-help@r-project.org Sent: Monday, January 18

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

2010-01-18 Thread Steve Sidney
this 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 dwinsem...@comcast.net To: David Winsemius dwinsem...@comcast.net Cc: Steve Sidney sbsid

[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),

[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

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

2010-01-17 Thread Steve Sidney
Winsemius dwinsem...@comcast.net To: Steve Sidney sbsid...@mweb.co.za Cc: r-help@r-project.org 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

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

2010-01-17 Thread Steve Sidney
To: Steve Sidney sbsid...@mweb.co.za Cc: r-help@r-project.org Sent: Sunday, January 17, 2010 7:36 PM Subject: Re: [R] Help using Cast (Text) Version On Jan 17, 2010, at 11:56 AM, Steve Sidney wrote: David Thanks, I'll try that..but no what I need is the total (1's) for each of the rows

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

2010-01-17 Thread Steve Sidney
to understand the problem. Regards Steve Your help is much appreciated - Original Message - From: David Winsemius dwinsem...@comcast.net To: Steve Sidney sbsid...@mweb.co.za Cc: r-help@r-project.org Sent: Sunday, January 17, 2010 7:36 PM Subject: Re: [R] Help using Cast (Text) Version

[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

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 dwinsem...@comcast.net To: Duncan Murdoch murd...@stats.uwo.ca Cc: Steve Sidney sbsid...@mweb.co.za; r

[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 to

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 villa...@dms.umontreal.ca To: Steve Sidney sbsid...@mweb.co.za

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 phgrosj...@sciviews.org To: Steve Sidney sbsid

[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.

[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

[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),