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

Using formulae to set gpar attributes #3

Open
gvegayon opened this issue Jun 8, 2018 · 0 comments
Open

Using formulae to set gpar attributes #3

gvegayon opened this issue Jun 8, 2018 · 0 comments

Comments

@gvegayon
Copy link
Member

gvegayon commented Jun 8, 2018

Right now we do have a function to parse formulas for edge colors, but ideally, we could have a more comprehensive/flexible system to parse formulas and return various types of outcomes.

About the input

  • Formulas for mixing ego/alter attributes.
  • Formulas for using either ego or alter attributes.
  • Formulas using edge attributes.

Mixing these three should be relatively straightforward. Since at the edge level, we will only find one attribute of each.

The problem is when, for example, we would like to generate a statistic at the ego-network level.

About the output

  • Formulas should return numbers/factors:
    • Integers (factors)
    • Fractions
    • Strings
    • Etc.

This could follow a goal similar to what the scales R package does, this is, return palettes/functions for plots.

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

No branches or pull requests

1 participant