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

Store N as attribute #26

Closed
sda030 opened this issue Oct 30, 2022 · 1 comment
Closed

Store N as attribute #26

sda030 opened this issue Oct 30, 2022 · 1 comment
Labels
enhancement ✨ New feature or request

Comments

@sda030
Copy link

sda030 commented Oct 30, 2022

For downstream wrapper functions (i.e. table notes, captions, etc) it would be great if N, meaning nrow(data) was stored as an attribute as part of the crosstable class. Should be quite easy to implement, and not resulting in risky behaviour? Currently impossible to recreate N by summing up the value-column, because the table might only consist of e.g. percentages.

@sda030 sda030 added the enhancement ✨ New feature or request label Oct 30, 2022
@DanChaltiel
Copy link
Owner

Yes, this would be very easy to implement, in the next release (in 2022 I hope, if I manage to free up some time).

I never had to use that myself but I like the idea to save information in attributes. The more the better, so feel free to ask!

DanChaltiel added a commit that referenced this issue Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants