Commit e3006f2
committed
Adjust show method for fitted models
Only show the coefficients instead of the full coefficients table.
At the time of the fitting, the user cannot pass arguments related
to inference such as the level of the confidence interval, so it
is better to only show this output when calling coeftable explicitly.
Also, include the distribution family and link function when fitting
glms as well as include the number of observations, the residual degrees
of freedom and the residual deviance in the output.
Adjust the show method to include MIME"text/plain" as it is producing
"decorated" output. Finally, explicitly test the show method agaist
reference output instead of just writing it to an IOBuffer.1 parent c5e2b2a commit e3006f2
File tree
5 files changed
+636
-150
lines changed- docs/src
- src
- test
5 files changed
+636
-150
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | | - | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| |||
0 commit comments