-
Notifications
You must be signed in to change notification settings - Fork 43
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
Help needed with table with one model per row #207
Comments
Hi Alessandro, can you please post a reproducible example? |
Sure thing here it is. Strangely now the behavior is different: all the formulas are in the first row only and the other are set to NA. It is coherent between test script and real production one.
Session info
|
I updated the above example to make it work. |
I have done further digging into the issue, the problem seems to be when the So I started by creating a
Calling Kable like this will fail the render since the class of the column is wrong, when i try to set the class to
If |
Thanks, I still haven't had a chance to look at this at all, but I appreciate the updates. |
Hi
I successuflly used this package to make report for a single model run but now I am facing anissue with my current implementation that comprise a table with a different model on each row.
I have to apply different models to different defect in one shot, my approach was to create a table that we will call
model.summary
, I left join it todata.meas.long
that is the table that contains the value for each defect creating a dataset with both formulas and data for the model.With this approach I can correctly compute the model for each defect_id, each model is nested inside model column of class list.
What I am trying to do is to use
extract_eq
in combination withmutate
to try to create a table to be rendered to HTML via RMarkdown + kable() to generate a mail report for the model run.I tried both the approaches below but non seems to work correctly.
The rendered table contains for each row all the formula for all the other rows
I don't think there is nothing wrong with the library but more in the way I am using it. Does anyone have any idea?
Session info
thank you in advance
Alessandro
The text was updated successfully, but these errors were encountered: