-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error when passing data in tibble format. #4
Comments
First Solution:Convert input data to dataframe before passing it to the function.
Second solution:A new version of the package is pushed to the Steps:
Note:
|
So I was having this issue too (and used the same workaround), but I now really think this issue is because the downsampling isn't doing the right thing; it currently takes the code to downsample from
But what the Suppose we downsample by a ratio of 1.3, over a range of 1 to 11; then the locations that we really want to see are these:
But the locations we actually get are these:
This doesn't feel right to me... |
Hey @jranaraki. Any comment on this? |
For comparison, the original matlab code uses the |
Environment:
Description:
When the input data is passed in tibble format, it throws the following error.
Error: Must subset rows with a valid subscript vector. x Can't convert from <double> to <integer> due to loss of precision.
Steps to reproduce:
Expected Result:
A data frame with counts:
Actual Result:
acknowledgement:
This bug report is created based on Karl Brown feedback.
The text was updated successfully, but these errors were encountered: