tilltnet / egor

R Package for importing and analysing ego-centered-network data.
http://egor.tillt.net
GNU Affero General Public License v3.0
23 stars 4 forks source link

update/improve ego_design documentation #73

Open tilltnet opened 3 years ago

tilltnet commented 3 years ago

Adding a few examples and pointing the user to them in the description of the ego_design argument would help.

Tom-Wolff commented 1 year ago

Hi, there! Is there any update on this issue? I'm trying to figure out how to incorporate survey weights into egor objects with little success.

UPDATE: A friend and I got it to work, but noticed a potential hiccup when trying to make ego_design intuitive to the user. Happy to follow up/point out if it helps!

mbojan commented 1 year ago

Thanks @Tom-Wolff for expressing interest. I'm afraid there might have been not much progress unfortunately.

Can you share the "hiccup" with us, preferably in a separate issue?

Tom-Wolff commented 1 year ago

Sorry for the delay— following up on an earlier issue I identified some time before. If I recall correctly, egor processes/renames the strings used for ID.vars arguments such that, in some cases, they no longer match those strings when used as arguments in ego_design. Capitalization of items in strings was the main source of the issue from what I recall. For the moment, the most effective workaround is to ensure one's ego, etc. variables are named .egoID, .altID, and so on, as those variables are named in egor's documentation and vignettes.