AIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Mitsuo Igarashi
> Sent: den 8 februari 2003 17:42
> To: [EMAIL PROTECTED]
> Subject: [R] to modify a vector
>
>
> Hi All.
>
> I am quite a newbie to R.
> This is a basic question.
>
> I like to modify eleme
On 8 Feb 2003 at 15:41, Mitsuo Igarashi wrote:
You should realy read "An Introduction to R", which comes
with your R installation.
> Hi All.
>
> I am quite a newbie to R.
> This is a basic question.
>
> I like to modify elements of a vector.
> For Example:
> a1 <- c(1,2,3,4,3,5)
>
> TThe follo
On Saturday 08 February 2003 12:41 am, Mitsuo Igarashi wrote:
> Hi All.
>
> I am quite a newbie to R.
> This is a basic question.
>
> I like to modify elements of a vector.
> For Example:
> a1 <- c(1,2,3,4,3,5)
>
> TThe following program sentence does not work but the intention is;
>
> if (a1==3)
Hi All.
I am quite a newbie to R.
This is a basic question.
I like to modify elements of a vector.
For Example:
a1 <- c(1,2,3,4,3,5)
TThe following program sentence does not work but the intention is;
if (a1==3) a1*3 .
3 in the vector should be changed to 9, and
the resulted vector is (1,2