-
Notifications
You must be signed in to change notification settings - Fork 18
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
Unable to replace values in new FLBiol @mat slot #35
Comments
I think I have found a solution:
|
These methods need redoing for classes like FLBiol, containing predictModel. Do tell us about other methods failing. Will do soon and get back to you. |
Hi. Long delay, but after fixing initially window and trim I got to look at this. First, you should not use
First you can pass an The first two options have always been there, the third one I have just added, so it will be only available in gihutb until 2.6.5 is released next week. Note that you cannot do
as the Do these options cover your needs? Then, for accessing the contents of mat, we now have
Again, please do let me know if this is eniught or we need to find better ways of using these slots |
Changes are available in the latest commit in master, 40273f4 |
Dear Iago - Thanks for this. This all works and makes sense to me now. Cheers, M |
I'm having difficulties trying to replace some NAs in the @mat slot of an FLBiol object (also applies to @fec slot). The error reads "Error in names(lst) <- names(x) : 'names' attribute [1] must be the same length as the vector [0]". As far I can tell, the names of FLQuant objects (original and replacement) are the same, so I don't see where the problem lies.
Here is an example:
The text was updated successfully, but these errors were encountered: