Gunter [mailto:bgunter.4...@gmail.com]
Sent: Tuesday, 26 March, 2019 17:43
To: Viechtbauer, Wolfgang (SP)
Cc: r-help mailing list
Subject: Re: [R] Substitution in expressions
Perhaps something like this (apologies if beating a dead horse):
plot(NA,NA, xlim = c(-1,5),ylim = c(-1,5), xlab = "&q
cal expression, but ?plotmath doesn't
> cover how to do such a vectorized substitution.
>
> Best,
> Wolfgang
>
> -Original Message-
> From: Bert Gunter [mailto:bgunter.4...@gmail.com]
> Sent: Tuesday, 26 March, 2019 15:52
> To: Viechtbauer, Wolfgang (SP)
> C
Cc: r-help mailing list
Subject: Re: [R] Substitution in expressions
I believe you're going about this the wrong way. You seem to want mathematical
expressions. Fot this, see ?plotmath.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
Ok, thanks. Happy to stick with mapply() then.
Best,
Wolfgang
-Original Message-
From: peter dalgaard [mailto:pda...@gmail.com]
Sent: Tuesday, 26 March, 2019 15:40
To: Viechtbauer, Wolfgang (SP)
Cc: r-help mailing list
Subject: Re: [R] Substitution in expressions
I think mapply() is
I believe you're going about this the wrong way. You seem to want
mathematical expressions. Fot this, see ?plotmath.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County"
auer, Wolfgang (SP)
> Cc: r-help mailing list
> Subject: Re: [R] Substitution in expressions
>
> Er, I'm confused.
>
> You post some code, the code does something. In which sense is this not what
> you want?
>
> This is slightly more direct:
>
>> mapply
, 2019 14:42
To: Viechtbauer, Wolfgang (SP)
Cc: r-help mailing list
Subject: Re: [R] Substitution in expressions
Er, I'm confused.
You post some code, the code does something. In which sense is this not what
you want?
This is slightly more direct:
> mapply(function(x,y) as.expression(bq
Er, I'm confused.
You post some code, the code does something. In which sense is this not what
you want?
This is slightly more direct:
> mapply(function(x,y) as.expression(bquote(.(x)^.(y))), base, expo)
expression(1L^2, 2L^2, 3L^3, 4L^3, 5L^4)
but I sense that you are looking for something el
8 matches
Mail list logo