Re: Very simple S+ command?
- From: jk90029 <jk90029@xxxxxxxxx>
- Date: Wed, 26 Mar 2008 11:32:20 -0700 (PDT)
On 3월26일, 오후6시45분, Philipp Pagel <pDOTpa...@xxxxxxxxxxxxxxxxxxxxx>
wrote:
jk90029 <jk90...@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ünchenhttp://mips.gsf.de/staff/pagel
Thanks Phillip. It really helps.
-Jay
.
- References:
- Very simple S+ command?
- From: jk90029
- Re: Very simple S+ command?
- From: Philipp Pagel
- Very simple S+ command?
- Prev by Date: Re: uncorrelated pair of rvs in the bivariate normal distribution
- Next by Date: Re: uncorrelated pair of rvs in the bivariate normal distribution
- Previous by thread: Re: Very simple S+ command?
- Next by thread: Estimation of N-state Hidden Markov Model from a given probability distribution
- Index(es):
Relevant Pages
|