[R] Importing ASCII flat

2012-05-17 Thread Richard Iles
8 Religion 3 5 1 52 - 52 As is obvious, I am relatively new to R. Any constructive advice would be welcome. Richard Iles -- Economics Ph.D. student Delhi School of Economics (visiting) e: richard.i...@griffithuni.edu.au website: https://sites.google.com/a/griffithuni.edu.au/richard-iles/home

[R] repeating categorical variable codes

2011-10-05 Thread Richard Iles
I would appreciate help in knowing how to repeat categorical variable code given in column=A, by the number in a matching column=B. For example, I have a categorical variable code attributed to a household=A and want to replicate the code for all member of the household, as given in column=B. I wou