Docs for not using a DataFrame#454
Conversation
This PR adds documentation on how to do a fit without using a DataFrame, as suggested by @pdeffebach in [this thread](https://discourse.julialang.org/t/the-simplest-linear-fit-with-glm/71316/11).
This commit adds another very basic example, that I would have appreciated when I first met GLM. It also links to the documentation of `@formula`, which I think is highly relevant.
|
Thanks. Though rather than adding examples to a section which is currently organized by GLM type, it would be nice to explain in the "Home" section (e.g. in "Fitting GLM models") the different ways one can pass data, with a simple example. Currently that section is really lacking. |
|
Thanks yourself, for the package ^_^ When you say "Organized by GLM type", you mean with a dataframe as input? I will have a look at what part of this I think would fit better in the "Home" section. |
I mean that currently we have one example for each kind of GLM family (linear model, negative binomial...). Each of these can be fitted by passing a data frame, a named tuple, matrices, etc. Since these are orthogonal, better document them in different places to avoid duplicating all families for all input data types. |
|
Right, that makes sense. Alternativly, a page on how to read, understand and write a |
|
Yes we really need more complete docs. |
This PR adds documentation on how to do a fit without using a DataFrame, as suggested by @pdeffebach in this thread.
This relativly small addition to the docs closes #453, and satisfies to issues raised in https://discourse.julialang.org/t/the-simplest-linear-fit-with-glm/71316/11, by my estimation.