base , if you're not seeing it, upgrade your version of R to the latest.
Carl Witthoft wrote:
Query: what package is Reduce in?
(per GG's suggestion to use it)
thanks
Carl
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-h
Query: what package is Reduce in?
(per GG's suggestion to use it)
thanks
Carl
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide com
}
>
>> dilute(15000,5,9)
>>
>
> Cheers, René
>
>
>
>
>> -Ursprüngliche Nachricht-
>> Von: "Anne-Marie Ternes" <[EMAIL PROTECTED]>
>> Gesendet: 09.07.08 14:12:16
>> An: r-help@r-project.org
>> Betreff: [R] recursively divide a val
--
> Von: "Anne-Marie Ternes" <[EMAIL PROTECTED]>
> Gesendet: 09.07.08 14:12:16
> An: r-help@r-project.org
> Betreff: [R] recursively divide a value to get a sequence
> Hi,
>
> if given the value of, say, 15000, I would like to be able to divide
> that valu
G'day all,
On Wed, 09 Jul 2008 20:33:39 +1000
Jim Lemon <[EMAIL PROTECTED]> wrote:
> On Wed, 2008-07-09 at 11:40 +0200, Anne-Marie Ternes wrote:
> > Hi,
> >
> > if given the value of, say, 15000, I would like to be able to divide
> > that value recursively by, say, 5, and to get a vector of a
>
See ?Reduce
Reduce("/", rep(5, 9), 15000, acc = TRUE)
On Wed, Jul 9, 2008 at 5:40 AM, Anne-Marie Ternes <[EMAIL PROTECTED]> wrote:
> Hi,
>
> if given the value of, say, 15000, I would like to be able to divide
> that value recursively by, say, 5, and to get a vector of a determined
> length, say
Keith,
I am simply baffled! Didn't think a second about doing it this way, tsss -
Great!
Thanks also for Daniel, Jim's and Bart's proposals!
R is cool, I realise it every day again :-)
Thanks!!
On Wed, Jul 9, 2008 at 12:33 PM, Jim Lemon <[EMAIL PROTECTED]> wrote:
> On Wed, 2008-07-09 at 11:40
On Wed, 2008-07-09 at 11:40 +0200, Anne-Marie Ternes wrote:
> Hi,
>
> if given the value of, say, 15000, I would like to be able to divide
> that value recursively by, say, 5, and to get a vector of a determined
> length, say 9, the last value being (set to) zero- i.e. like this:
>
> 15000 3000 6
> a.start <- 15000
> a.step <- 5
> a.length <- 9
> c(a.start*a.step^-(0:(a.length-2)),0)
"Anne-Marie Ternes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> if given the value of, say, 15000, I would like to be able to divide
> that value recursively by, say, 5, and to get a
-
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im
Auftrag von Anne-Marie Ternes
Gesendet: Wednesday, July 09, 2008 5:40 AM
An: r-help@r-project.org
Betreff: [R] recursively divide a value to get a sequence
Hi,
if given the value of, say, 15000, I
Hi,
if given the value of, say, 15000, I would like to be able to divide
that value recursively by, say, 5, and to get a vector of a determined
length, say 9, the last value being (set to) zero- i.e. like this:
15000 3000 600 120 24 4.8 0.96 0.192 0
These are in fact concentration values from an
11 matches
Mail list logo