Re: [R] URGENT help-Problem with panel barplot spacing

2019-05-28 Thread Kwesi A. Quagraine
Thanks for the code, Rich. I now get the concept of using the lattice library. Most grateful for the references shared. Regards Kwesi On 28 May 2019 at 19:56:06, Richard M. Heiberger (r...@temple.edu) wrote: I think this is what you want. You didn't send a reproducible example (no values for dj

Re: [R] URGENT help-Problem with panel barplot spacing

2019-05-28 Thread Richard M. Heiberger
I think this is what you want. You didn't send a reproducible example (no values for djf.gcms or for cores1). For what I think you are doing, lattice would be much simpler. It handles the repetition within each panel for you. ## generate some data djf.gcms <- matrix(sample(50, size=9*12, replac

[R] URGENT help-Problem with panel barplot spacing

2019-05-28 Thread Kwesi A. Quagraine
Hello All, I am struggling to control the spaces between barplots I have panelled. I would be grateful for any help in reducing the spaces between the plots. For instance, how I can reduce distance between 1 and 2, 2 and 3 etc. I would appreciate any help on this. Thanks Here’s a snippet of my

Re: [R] Urgent help

2016-12-27 Thread Mark Sharp
Please note that your message should be plain text and any attachments must be text and have a .txt extension. Your attached code was apparently removed because it did not have an extension of .txt. It is best to include your code within the body of the message. Mark R. Mark Sharp, Ph.D. Direct

Re: [R] Urgent Help

2016-12-26 Thread John Kane via R-help
No data or code.  Your attachments did not arrive.  See http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example for some suggestions on how to submit a question with data and sample code.   On Sunday, December 25, 2016 11:50 PM, Bert Gunter wrote: You ar

Re: [R] Urgent Help

2016-12-25 Thread Bert Gunter
You are unlikely to get any help if you do not read and follow the posting guide below. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sat, Dec 24, 2

[R] Urgent Help

2016-12-25 Thread amit rathee
I am trying to perform hierarchical clustering and evaluating it using ClusterClit Package, my code is attached.my problem is that in each iteration even if my data is different in extCriteria() function but it is giving same result every time.kindly helpA Great thanks in advance..AMIT RATHE

Re: [R] Urgent Help - Editing XML through R

2014-11-14 Thread jim holtman
Here is one way using the XML package: > x <- ' + + + + Open Analysis from Library + /Z- Archive - TO BE + purged/ConditionEmailTest + + + Send Email + + chidambaramselvaku...@gmail.com + chidambaramselvaku...@gmail.com + + Sales Re

Re: [R] Urgent Help - Editing XML through R

2014-11-14 Thread Duncan Murdoch
On 14/11/2014 12:34 PM, Chidambaram Selvakumar wrote: Hi Team, Can you please help me on the below? 1) Is it possible to achieve the below requirement through or not? Open XMl; find and remove the all the string tag;add new string tag based on the email count; save it in the same XML. 2

Re: [R] Urgent Help - Editing XML through R

2014-11-14 Thread Chidambaram Selvakumar
Hi Team, Can you please help me on the below? 1) Is it possible to achieve the below requirement through or not? Open XMl; find and remove the all the string tag;add new string tag based on the email count; save it in the same XML. 2) If yes can you please share the script As I am new to

Re: [R] Urgent Help - Editing XML through R

2014-11-08 Thread Duncan Murdoch
On 08/11/2014, 1:10 AM, Chidambaram Selvakumar wrote: > Hi Team, > > I have the below xml file where i have to find and remove all the email > address in tag and need to append the new email address using R > script.May be string tag needs to be added or decreased based on the email > list. > >

[R] Urgent Help - Editing XML through R

2014-11-08 Thread Chidambaram Selvakumar
Hi Team, I have the below xml file where i have to find and remove all the email address in tag and need to append the new email address using R script.May be string tag needs to be added or decreased based on the email list. *XM File * Open Analysis from Library /Z- Archi

Re: [R] Urgent help needed for honours project - breaks between races in one year

2011-10-06 Thread Steve Taylor
This might help: if x is a vector of the race days then max(diff(sort(x))) finds the biggest gap between consecutive values. >>> From: "Jana.K" To: Date: 7/Oct/2011 4:47a Subject: [R] Urgent help needed for honours project - breaks between races in one year Hi to anyon

[R] Urgent help needed for honours project - breaks between races in one year

2011-10-06 Thread Jana.K
Hi to anyone who is willing to help, I have a csv. file which has 1999 horses as the rows and the age(in years) of the horse at each race as columns. Ive read this file into R and called it 'horses'. Im trying to find the longest break between each race in the horse's first year of racing. I alrea

Re: [R] urgent Help needed

2011-07-19 Thread Paul Hiemstra
On 07/19/2011 04:40 AM, Ana-Maria Pistea wrote: > >>> B Hi Ana-Maria, A quick google for you error message shows that there can be quite a number of causes for this problem. Therefore it is impossible for us to help you. Please read the R-help posting guide to improve your question [1]. The most

[R] urgent Help needed

2011-07-19 Thread Ana-Maria Pistea
Dear Sir, Please help me to open my rda files. It's urgent to see the content and even if I looked for solutions i didn't find one. When I try to load my .rda file I receive this message: "R> load(file = "SpecPhantomExp2WaterSupp Set2.rda") Error: bad restore file magic number (file may be corrup

Re: [R] Urgent Help: How I can open (Business Objects 6.0) data file? Any ideas?

2011-02-27 Thread Ben Bolker
Salaam Batur gmail.com> writes: > This maybe unrelated R-question, but I am sure some of you might have a same > problem like I do. I'd like to run some tests on files which need to be > opened by a software tool called Business Objects. Right now, I am having > problem with open the data files w

[R] Urgent Help: How I can open (Business Objects 6.0) data file? Any ideas?

2011-02-27 Thread Salaam Batur
Dear all, This maybe unrelated R-question, but I am sure some of you might have a same problem like I do. I'd like to run some tests on files which need to be opened by a software tool called Business Objects. Right now, I am having problem with open the data files with my lower version of Busines

[R] Urgent help requested using survfit(individual=T):

2010-12-14 Thread Angel Russo
Hello: I would like to obtain probability of an event for one single patient as a function of time (from survfit.coxph) object, as I want to find what is the probability of an event say at 1 month and what is the probability of an event at 80 months and compare. So I tried the following but it fai

Re: [R] Urgent Help with R calculation correlation coefficient

2010-12-06 Thread Liviu Andronic
On Mon, Dec 6, 2010 at 11:30 AM, Peter Ehlers wrote: > If you have a *tab*-delimited file, then why are your using > read.csv?? > > Try this: > 1. read your data with read.table() or read.delim() > If you're very new to R, try Rcmdr. Data > Import > Text file. Liviu _

Re: [R] Urgent Help with R calculation correlation coefficient

2010-12-06 Thread Mark Seeto
Try excluding the first column. cor(gse20437[, 2:4]) chintan85 wrote: > > > Tab delimited file looks like this > > Id v1 v2v3 > df 56 9045 > gh 87 9878 > ty 897867 > > I used this code > > > [code] > > gse20437 <- read.csv("C:/Users//Desktop/data/GSE20437_matrix

Re: [R] Urgent Help with R calculation correlation coefficient

2010-12-06 Thread Peter Ehlers
On 2010-12-06 02:02, chintan85 wrote: Hi, I am trying to calculate correlation coefficient for gene expression data. Tab delimited file looks like this Id v1 v2v3 df 56 9045 gh 87 9878 ty 897867 I used this code [code] gse20437<- read.csv("C:/Users//Desktop/data/

Re: [R] Urgent Help with R calculation correlation coefficient

2010-12-06 Thread Liviu Andronic
On Mon, Dec 6, 2010 at 11:02 AM, chintan85 wrote: > > Hi, > > I am trying to calculate correlation coefficient for gene expression data. > > Tab delimited file looks like this > > Id v1   v2    v3 > df 56   90    45 > gh 87   98    78 > ty 89    78    67 > > I used this code > > > [code] > > gse20

[R] Urgent Help with R calculation correlation coefficient

2010-12-06 Thread chintan85
Hi, I am trying to calculate correlation coefficient for gene expression data. Tab delimited file looks like this Id v1 v2v3 df 56 9045 gh 87 9878 ty 897867 I used this code [code] gse20437 <- read.csv("C:/Users//Desktop/data/GSE20437_matrix.txt",header = TRUE, sep

Re: [R] Urgent help requested to modify a script

2009-10-19 Thread one2luv
Jim, Many thanks last part of the puzzle is now solved. I have reworked the script and now it runs with 4 arguments. Thanks for your help. Regards, Ian Jim Lemon-2 wrote: > > On 10/16/2009 11:01 PM, one2luv wrote: >> I am hoping someone will tak up this chalenge (I am new to R) >> >> I

Re: [R] Urgent help requested to modify a script

2009-10-16 Thread Jim Lemon
On 10/16/2009 11:01 PM, one2luv wrote: I am hoping someone will tak up this chalenge (I am new to R) I have inheritied an R script but need to change it. The script currently includes hardcoded file locations on lines 12,166 and 167. I need to modify this script to allow the folder to be passed

Re: [R] Urgent help requested to modify a script

2009-10-16 Thread Romain Francois
On 10/16/2009 02:01 PM, one2luv wrote: I am hoping someone will tak up this chalenge (I am new to R) I have inheritied an R script but need to change it. The script currently includes hardcoded file locations on lines 12,166 and 167. I need to modify this script to allow the folder to be passed

[R] Urgent help requested to modify a script

2009-10-16 Thread one2luv
I am hoping someone will tak up this chalenge (I am new to R) I have inheritied an R script but need to change it. The script currently includes hardcoded file locations on lines 12,166 and 167. I need to modify this script to allow the folder to be passed as a command line argument to Rscript.ex

Re: [R] Urgent Help

2009-08-19 Thread John Kane
From: Bin1aya > Subject: [R] Urgent Help > To: r-help@r-project.org > Received: Wednesday, August 19, 2009, 1:01 PM > > Dear Sir, > > I am using RClimDex. I get following error. >      Error in scan(file, what, nmax, > sep, dec, quote, skip, nlines, > na.strings,  :

Re: [R] Urgent Help

2009-08-19 Thread Stefan Grosse
On Wed, 19 Aug 2009 10:01:19 -0700 (PDT) Bin1aya wrote: B> I have done copy paste of climate data from excel file to notepad B> and tried to upload. I do not have any knowledge about programming B> languages. Please help me. There are better ways of importing data from Excel. Have a look at the

[R] Urgent Help

2009-08-19 Thread Bin1aya
Dear Sir, I am using RClimDex. I get following error. Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : scan() expected 'a real', got 'T' I have done copy paste of climate data from excel file to notepad and tried to upload. I do not have any knowledge