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 n to summary statistics #198

Open
NPS-ARCN-CAKN opened this issue Jul 20, 2024 · 2 comments
Open

Add n to summary statistics #198

NPS-ARCN-CAKN opened this issue Jul 20, 2024 · 2 comments

Comments

@NPS-ARCN-CAKN
Copy link

It would be nice to add the number of samples to the available summary statistics. These currently include “mean”, “sd”, “min”, “q1”, “med”, “q3”, “max”, “mad”, “iqr”, “cv”, “skewness”, “se.skewness”, “kurtosis”, “n.valid”, and “pct.valid”. I was always taught to provide the number of values being used to calculate mean, s.d., etc.

Great package BTW!

@dcomtois
Copy link
Owner

dcomtois commented Dec 3, 2024

Good idea. Will try to push this in the next CRAN update

@dcomtois
Copy link
Owner

dcomtois commented Dec 3, 2024

Just to make sure, you would like to have something called for instance "N.total" for the vector or for the current subgroup? (Another option would be to have N.missing. But displaying both is definitely an overkill)

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

2 participants