Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "by" option in mixingmatrix.egodata #9

Open
martinamorris opened this issue Aug 1, 2017 · 2 comments
Open

Add support for "by" option in mixingmatrix.egodata #9

martinamorris opened this issue Aug 1, 2017 · 2 comments

Comments

@martinamorris
Copy link
Member

For example

mixingmatrix("race", by="sex)

Jeanette will look into doing this by writing a "subset.egodata" function. So this issue report is just to note she's getting that started.

@krivit
Copy link
Member

krivit commented Aug 4, 2017

  1. Please work on the egor branch at this point. egodata class has been deprecated.
  2. subset.egodata() already exists in the CRAN version of ergm.ego (and egor also has a subset() method).
  3. In the next release, mixingmatrix.egodata() is going to be a method for the mixingmatrix() generic in the network package. It should, ideally, be made compatible; and I am not sure we want a by= argument in the network's generic.
  4. Since the return data type won't itself be a matrix but a list or a 3D array, I suggest giving it a different function name, perhaps just mixingmatrices() or mixingarray().

@krivit
Copy link
Member

krivit commented Oct 17, 2020

What's the status of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants