epiforecasts / socialmixr

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

Storing colum names vs renaming #130

Open sbfnk opened 1 month ago

sbfnk commented 1 month 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.