"Yao, Minghua" <[EMAIL PROTECTED]> writes:

> Hi,
>  
> Anyone can tell me how to generate "A01", "A02", ..., "A99"?
>  
> paste("A", 1:99, sep="") generates "A1", "A2",..., "A99". This is not  what I want.

c(paste("A0",1:9,sep=""),paste("A",10:99,sep=""))

?

-- 
Anthony Rossini                     Research Associate Professor
[EMAIL PROTECTED]            http://www.analytics.washington.edu/ 
Biomedical and Health Informatics   University of Washington
Biostatistics, SCHARP/HVTN          Fred Hutchinson Cancer Research Center
UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable
FHCRC  (M/W): 206-667-7025 FAX=206-667-4812 | use Email

CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to