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

Feature request (general mathematical expressions for ternary contours) #81

Closed
EkaitzEsteban87 opened this issue Jan 6, 2024 · 2 comments · Fixed by #82
Closed

Feature request (general mathematical expressions for ternary contours) #81

EkaitzEsteban87 opened this issue Jan 6, 2024 · 2 comments · Fixed by #82

Comments

@EkaitzEsteban87
Copy link

Func(abc[1, inPlot], abc[2, inPlot], abc[3, inPlot])

can be updated to

Func(abc[1, inPlot], abc[2, inPlot], abc[3, inPlot],...) allowing to use more a general mathematical expressions such as those coming from linear models lm() ?

Best regards,

@ms609
Copy link
Owner

ms609 commented Jan 8, 2024

Thanks for the suggestion; I should be able to include this in the 2.3.0 release due on CRAN later this week.

@ms609
Copy link
Owner

ms609 commented Jan 8, 2024

NB when implementing I had to create a separate parameter for the ... to pass to Func() (separate from contour(...) or legend(...). Can you verify that this is a workable solution for your use cases?

You can install the dev version with devtools::install_github("ms609/Ternary", args = "--recursive")

@ms609 ms609 closed this as completed in #82 Jan 8, 2024
ms609 added a commit that referenced this issue Jan 8, 2024
Fixes #81.

Update examples; use `actions/checkout@v3`
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

Successfully merging a pull request may close this issue.

2 participants