-
Notifications
You must be signed in to change notification settings - Fork 0
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 support for group
argument
#23
Comments
For the use of "collapse" package can be not easy, I will implement it as much as possible but not thoroughly. |
A second thought is that whether this
|
Reconsider the use of "collapse" package: For two or more days, I have struggled to use "collapse" package. To my dismay, the grammar the package used is daunting for me. Thus, I should take the advice from Hadley (Advanced R):
To get those seconds of improvements, too much time will be consumed, which is actually not deserved. But with the introduction of grouping, it will be quick enough. |
The collapse package is promising in future, but not now. See #23 for details Signed-off-by: Liang Zhang <psychelzh@outlook.com>
Currently, data are all processed subject by subject, which can be very slow in processing when subjects grows. We can assume that one should stack all the data from one game into a tall
data.frame
and add a group variable to it, which makes a group-wise computation possible. Now we just use nested data to do group-wise computation, which is rather slow. See the following:Created on 2021-03-28 by the reprex package (v1.0.0)
Obviously, the "collapse" package does a great job, but its syntax is not very well to understand and apply.
The text was updated successfully, but these errors were encountered: