Re: [R] String manipulation and formatting

2006-07-18 Thread Bashir Saghir (Aztek Global)
[mailto:[EMAIL PROTECTED] On Behalf Of Sean O'Riordain Sent: Tuesday, July 18, 2006 10:50 To: Bashir Saghir (Aztek Global) Cc: [EMAIL PROTECTED] Subject: Re: [R] String manipulation and formatting Does it have to be a stop char ".", or could it be a separate parameter, i.e. put in a

Re: [R] String manipulation and formatting

2006-07-18 Thread Bashir Saghir (Aztek Global)
ashir Saghir (Aztek Global) Cc: '[EMAIL PROTECTED]' Subject: Re: [R] String manipulation and formatting On Tue, 18 Jul 2006, Bashir Saghir (Aztek Global) wrote: > Thanks to Richard, Gabor and Marc for some nice solutions to my request. > > I have a new problem: >

Re: [R] String manipulation and formatting

2006-07-18 Thread Bashir Saghir (Aztek Global)
X" I was wondering if there is a simple way for xify to see the zero of the 10 without having to force the user to add quotes around the format? Thanks, Saghir -Original Message- From: Marc Schwartz (via MN) [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 16:55 To: Bashi

Re: [R] String manipulation and formatting

2006-07-17 Thread Bashir Saghir (Aztek Global)
THANKS! Exactly what I needed. Saghir -Original Message- From: Richard M. Heiberger [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 16:42 To: Bashir Saghir (Aztek Global); '[EMAIL PROTECTED]' Subject: Re: [R] String manipulation and formatting xify <- function(n

Re: [R] String manipulation and formatting

2006-07-17 Thread Bashir Saghir (Aztek Global)
Thanks! I tried something similar but I had sep="" instead of collapse="" for the X part. I realise the error now. Thanks again Saghir -Original Message- From: Christos Hatzis [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 16:39 To: Bashir Saghir (Aztek Globa

Re: [R] String manipulation and formatting

2006-07-17 Thread Bashir Saghir (Aztek Global)
] Sent: Monday, July 17, 2006 16:21 To: Bashir Saghir (Aztek Global); [EMAIL PROTECTED] Subject: RE: [R] String manipulation and formatting See ?formatC You might need to write a simple wrapper function to implement the interface that you want. -Christos -Original Message- From: [E

[R] String manipulation and formatting

2006-07-17 Thread Bashir Saghir (Aztek Global)
I'm trying to write a simple function that does the following: [command] xify(5.2) [output] XXX.XX [command] xify(3) [output] XXX Any simple solutions (without using python/perl/unix script/...)? Thanks, Saghir - Legal Notice:

[R] by (tapply) and for loop differences

2005-07-05 Thread Bashir Saghir (Aztek Global)
I am getting a difference in results when running some analysis using by and tapply compare to using a for loop. I've tried searching the web but had no luck with the keywords I used. I've attached a simple example below to illustrates my problem. I get a difference in the mean of yvar, diff and

RE: [R] Power w/ unequal sample sizes

2005-05-20 Thread Bashir Saghir (Aztek Global)
It seems although your are trying to do a retrospective power calculation - not something to be encouraged. I don't think that power.t.test was designed to work on observed data in the way you seem to want to use it. You could use power.t.test to do a prospective calculation where you know the di

RE: [R] Concatenate vector into string

2005-03-04 Thread Bashir Saghir (Aztek Global)
Try: paste(c("a","b","c"), collapse="") -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthieu Cornec Sent: Friday, March 04, 2005 12:32 To: [EMAIL PROTECTED] Subject: [R] Concatenate vector into string Hello, I would like to convert c("a","b","c")

RE: [R] set working directory

2004-06-18 Thread Bashir Saghir (Aztek Global)
Try adding a missing singe quote (') at the end of your working directory. setwd('d:/folder_name') S. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Louize Hill Sent: Friday, June 18, 2004 13:38 To: [EMAIL PROTECTED] Subject: [R] set working director

RE: [R] how to learn R quickly?

2004-04-05 Thread Bashir Saghir (Aztek Global)
You could try my note "Getting Started in R" written with the intention of getting started quickly. http://www.sbtc.ltd.uk/freenotes.html Best regards, Saghir -Original Message- From: vinkwai wong [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 6:20 To: [EMAIL PROTECTED] Subjec

RE: [R] logo

2004-03-28 Thread Bashir Saghir (Aztek Global)
Dear Cecilia, Be careful not to cause a distraction with the R logo in the background of your presentation. You could put it in one of the corners if you feel that it should be prominently displayed. Incidentally you may be interested in some guidelines for presentations that I have made availabl

RE: [R] Basic Help

2004-02-13 Thread Bashir Saghir (Aztek Global)
I've tried to write something along these lines called "Getting Started in R". You can download it from: http://www.sbtc.ltd.uk/freenotes.html Feedback welcome! Saghir -Original Message- From: Marisa Ramos [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 20:49 To: [EMAIL PROT

RE: [R] capturing output from Win 98 shell

2003-08-14 Thread Bashir Saghir (Aztek Global)
>Believe me, using Win98 is NOT my choice. I would only ever use >Unix/Linux. >Are there other statisticians similarly limited? Like Simon I am very often limited with choice of software and OS when working for clients. I've been waiting for about 5 months to get an editor installed on my machine

RE: [R] Statistical computing

2003-03-31 Thread Bashir Saghir (Aztek Global)
= Original Message From "Bashir Saghir (Aztek Global)" > <[EMAIL PROTECTED]> = > >Dear Tanya, > > > >Have you considered using Python (www.python.org) instead of Perl? I use > >Python, LaTeX, and R for doing what you describe. My process i