Comments (9)
min_valid
sounds better to me
from datawizard.
On the other hand, if you see rowmean_n()
for the first time, what do you think the n
stand for?
rowmean_n_missing()
is also a bit misleading IMO because n
actually refers to the minimal number of non-missing values required to compute the mean.
from datawizard.
I guess if I were a user discovering this function:
rowmean_n()
-> hard to know that it does because I don't know what the n stands for, so need to check the docsrowmean_n_missing()
-> this function computes the rowmean if there aren
or more missing values (while it's the opposite)
from datawizard.
When I read that name, my first hunch is that it's going to calculate rowwise mean for the first n rows.
from datawizard.
I don't think there is a perfect name for this function, but rowmean_n_missing()
looks very cryptic to me.
from datawizard.
See also https://r4stats.com/2014/09/03/adding-the-spss-mean-n-function-to-r/
from datawizard.
Wouldn't it be easier with just a homemade version of row_mean()
(or average_cols()
) with some select/exclude sugar and anmax_missing
argument?
from datawizard.
That sounds good!
from datawizard.
max_missing
or min_valid
? I'm used to think in minimum amount of valid values...
from datawizard.
Related Issues (20)
- Select-helper with "." doesn't work as expected? HOT 6
- `standardize()` fails in some cases HOT 4
- Add function for deviation contrasts?
- Plot method for data_tabulate HOT 3
- Suggestion of new function: `describe_missing()` HOT 1
- Why not execute `contrs()` example? HOT 5
- Use `{withr}` for managing side effects in tests
- Test failure due to `Matrix` update HOT 8
- Dealing with lack of internet while knitting the vignettes HOT 4
- Package installation HOT 2
- CRAN submission? HOT 5
- Segfault on Ubuntu with R-devel HOT 1
- `data_tabulate()` for crosstables prints NA-proportions when no values are available
- winsorize - add a na.rm parameter? HOT 3
- Tests are failing on R 3.6
- Reducing the "messages" noise from test outputs
- Has weighted_sd produced solid answers? HOT 5
- Failures due to compilation errors for `QuickJSR` HOT 1
- Failing CRAN checks for recent submission (0.11.0) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datawizard.