Dear R helpers,
I have a social network data including repated measures of ten alters (whom
you contact) and their attributes(gender, age, strength of tie).

I wrote variables related with alters just for wrote alter 1 and alter 2.

I'd like to change the like below. I'd change each name separetely.

Do you know any pratical way to change it?
All the bests,
Niklas

variables for alter 1
g61a (id)
g62a (gender)
g63a (age)
g63aa (tie)
g63aan (tie friequency)

variables for alter 2
g61b
g62b
g63b
g64b
g64bb
g64bbn

new names

alterid_1
alterag_1
alteraa_1
alatert_1
altersf_1

alterid_2
alterag_2
alteraa_2
alatert_2
altersf_2

	[[alternative HTML version deleted]]

