[R] vectorisation suggestion

Federico Calboli f.calboli at imperial.ac.uk
Mon Jun 20 22:29:53 CEST 2005


On 20 Jun 2005, at 21:24, Erin Hodgess wrote:

> Hello, Federico!
>
> I'm a bit confused about your question, please:
>
> What sorts of things are in Vector1, please?

numbers (as in "numeric") that code individuals

>
> Why are you counting NAs in Vector3, please?

I am counting how many times the code for each individual (as listed  
in vector1) is present in vector2, and save the number of counts in  
vector3

Cheers,

Federico

--
Federico C. F. Calboli
Department of Epidemiology and Public Health
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com




More information about the R-help mailing list