forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve printing CoefTable (JuliaLang#481)
Rely on printing code from Base to align numbers on the decimal separator. Unfortunately, we cannot treat column names as a normal row since names would be left-aligned with the decimal separator, which wastes space and is less clean. Instead, adjust the alignment manually so that columns are wide enough to contain names. Only convert values to PValue before printing, so that users can still access the contents of columns as normal numbers. This is convenient in particular for testing in packages. Print test statistics with 2 decimals. Add horizontal lines.
- Loading branch information
Showing
2 changed files
with
82 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters