ade)
Regards
Petr
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Wush Wu
> Sent: Monday, November 10, 2014 2:30 PM
> To: Francesca
> Cc: R help
> Subject: Re: [R] Compressing code help in a loop
>
&g
Dear Francesca,
Is this what you want?
```r
index <- c(406, 107, 207, 307, 407, 108, 208, 308, 408, 109, 209, 309, 409,
110, 210, 310, 410, 111, 211)
p_m <- match( p_int$p_made, index)
dim(p_m) <- c(dim(p_int)[1],1)
```
Best,
Wush
PhD Student Graduate Institute of Electrical Engineering, Nationa
2 matches
Mail list logo