-
Notifications
You must be signed in to change notification settings - Fork 26
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
scattered examples #12
Comments
Thanks @bbolker for raising this, I think as a new comer to TMB I would definitely benefit from a one-stop-example shop :-) |
Given the fact that it's been duplicated several times, in slightly different contexts, it might be useful to have a more unified version. But, do you mean {glmmTMB} examples or {TMB} in general? Because all the spatial and time series examples qualify as 'vector-valued' random effects. |
Should have been more specific: "simple linear mixed model with vector-valued random effects, unstructured (general positive-definite) covariance matrix". I found two examples that involve unstructured covariance matrices:
|
I can put together something with emphasis on @bbolker last suggestion, but also serve the purpose of pointing to existing examples/literature. Unless anyone have a suggestion for an appropriate dataset, I will use simulated data. I feel that |
Sorry for any confusion. I have written such an example here; it uses an existing real data set, but I can easily simulate a data set instead/in addition. While I was working on writing the description I went looking for existing examples and got distracted by the fact that they are scattered about. (I actually came to the issues list to ask about the markup system you're using, but I'll ask that in a separate issue ...) |
@bbolker : are you aiming at pushing it back into my repository? In case I would reformat the example slightly (probably) to make it be more in line with the other case-studies. |
I was thinking I would edit to match the other case studies, but I hadn't gotten around to it yet ... |
I'm opening this issue to consider the fragmentation of TMB examples. I recently created an example of vector-valued random effects (mostly for handling of unstructured covariance matrices, which I now see is handled by one of the examples below), and was thinking about adding it here. Then I realized there are at least three different places where examples are tabulated:
cpp
+R
+ README, fairly detailed comments in codecpp
+R
+ full explanatoryRmd
..R
and.cpp
files for each example, and refers to '"Examples” tab on the top of the page' — to find that tab you have to go here to see a Doxygen-style list, but the .R files aren't linked from there -- you have to go to the corresponding directory in the GitHub repo to find them)mgcv
-derived spline bases in TMB models) that I don't want to lose track ofAt a minimum it would probably be useful for all three of these sources to point at each other. Don't know whether it's worth going further (having one of these places collect the examples from the other, create a unified list ...)
The text was updated successfully, but these errors were encountered: