Re: Very simple S+ command?
- From: Philipp Pagel <pDOTpagel@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 26 Mar 2008 09:45:38 +0000 (UTC)
jk90029 <jk90029@xxxxxxxxx> wrote:
a <- 15
cat("\n", a, "%")
If I want to produce 15% instead of 15 %. (Hope to stick together),
how can I change the above cat command?
At least in R you can write
cat("\n", a, "%", sep='')
In cases like this the manual page for the respective command is usually
helpful. In R you would type
?cat
or
help(cat)
I guess there is something similar in S+
cu
Philipp
--
Dr. Philipp Pagel
Lehrstuhl f. Genomorientierte Bioinformatik
Technische Universität München
http://mips.gsf.de/staff/pagel
.
- Follow-Ups:
- Re: Very simple S+ command?
- From: jk90029
- Re: Very simple S+ command?
- References:
- Very simple S+ command?
- From: jk90029
- Very simple S+ command?
- Prev by Date: Re: Test for uniformity with errors on the data
- Next by Date: Estimation of N-state Hidden Markov Model from a given probability distribution
- Previous by thread: Very simple S+ command?
- Next by thread: Re: Very simple S+ command?
- Index(es):
Relevant Pages
|