-
Notifications
You must be signed in to change notification settings - Fork 32
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
fgroup_by
when there are two rows of data: grouping incorrect
#320
Comments
Also, it appears to be an issue when a vector of column names are passed to
|
It appears that if we modify the following line in
to
then things should work. However, I don't know what Point is, the following should be run:
|
Thanks! The issue is tricky, because
The inputs are |
Understood, thanks @SebKrantz. The next version of my package is going to depend on the collapse package. When do you anticipate version 1.8.9 to be released? So I can time things correctly. Thanks. |
I'm not sure exactly when 1.8.9 will be released, it may take a while still though. I suggest to move ahead with a safer programming approach. You have 2 options: you can use the
Or you could do things manually:
|
Actually I realized even the proposed check is insufficient if your ode looks like this:
... because |
Thanks @SebKrantz! The |
Cool. I‘d actually recommend you use it with the custom = list(fsum = vars) |
Thanks @SebKrantz , I will leverage the |
Hi,
Running into an odd behavior with
collapse
'sfgroup_by
andfsum
, and it appears to only happen when the data contains 2 rows. I'm on version 1.8.8 of collapse.gives:
I'm expecting a total of 3 columns:
Ethnicity
,Gender
, andTransfer
. The results look fine when the # of rows are 1 and 2:The text was updated successfully, but these errors were encountered: