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

Improve draw.* usability #66

Closed
4 tasks done
fabrice-rossi opened this issue Oct 9, 2023 · 0 comments · Fixed by #74
Closed
4 tasks done

Improve draw.* usability #66

fabrice-rossi opened this issue Oct 9, 2023 · 0 comments · Fixed by #74
Milestone

Comments

@fabrice-rossi
Copy link
Owner

fabrice-rossi commented Oct 9, 2023

The draw.* functions can be improved using different approaches:

  • With better defaults. We do not need p values in general, for instance.
  • By the use of UTF8 characters. We can take inspiration from the tree rendering in https://github.com/r-lib/cli. This could be at least an option or one of the default configuration obtained easily from draw_control().
  • By removing logistic models when possible. In some cases, logistic models are completely pruned in numerous contexts. Rather than reporting them as models, we could display the conditional distribution (as it is constant).
  • By providing a latex output. The ascii/UTF8 representation of context trees is not satisfactory for a latex export. It would be interesting to leverage e.g. the forest package.
@fabrice-rossi fabrice-rossi added this to the 0.3.0 milestone Oct 29, 2023
@fabrice-rossi fabrice-rossi changed the title Use UTF8 characters in draw Improve draw.* usability Nov 20, 2023
@fabrice-rossi fabrice-rossi linked a pull request Mar 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant