epiforecasts / socialmixr

R package for deriving social mixing matrices from survey data.
http://epiforecasts.io/socialmixr/
Other
38 stars 11 forks source link

Storing colum names vs renaming #130

Closed sbfnk closed 3 days ago

sbfnk commented 2 months ago

In the contact_matrix function we store the column names and then keep referring to them, which makes the code fairly hard to read. It might be better to just rename in the beginning and then have fixed column names.