latexTable()
now handles tibbles (#60)latexTable()
now automatically escapes%
signs incolNames
; unescaped%
signs prevent LaTeX from compiling the .tex file produced bylatexTablePDF()
.latexTable()
recognizesNaN
as missing data when replacing missing data withNA_text
.latexTable()
gives an informative error message whencolNames
andcolNameExpand
are used inappropriately.latexTable()
now throws an error when any element incolNames
contains a newline character.rescale()
now checks to ensure thatx
contains some non-missing data
- Significant improvements to output of
reliability()
.
- Add
suppress_warnings()
. - Fix small problem with
makePercentage()
documentation.
- Fix
lsos()
and add tests for it (#61). - Add
makePercentage()
.
allNA
(#48),minNA()
andmaxNA()
.cutYears()
(#50),printAll()
to print all rows of a tibble.sourcing()
(#49)spaceToCamel()
.
-
Missing-value functions (
lNA()
and kin) now throw an error whenx
isNULL
. For example, if a user runslNA(foo$x)
butx
is not an element offoo
, the function will throw an error message (#45). It previously returned 0. -
Change default of
firstPageEmpty
inlatexTablePDF()
fromTRUE
tocontainer
; that is,firstPageEmpty
will by default beTRUE
ifcontainer
isTRUE
, andFALSE
if it isFALSE
. -
Improve ability of
latexTable()
to handle lists that contain functions, e.g.,lt_rSquaredRow
. -
In
latexTable()
, check thatmat
has classmatrix
to avoid an obscure error message when it doesn't (#34). -
PDF_crop()
now throws an error when new cropped PDF isn't created (#42). -
Change default
lsos()
output so that object size is reported in MB (#47). -
Add more tests of
latexTable()
. -
Fix test of
PDF_crop()
to handle cases in which Sys.getenv("R_SESSION_TMPDIR") is an empty string. -
Deprecated
mergeFac()
in favor ofdplyr::coalesce()
(#46).
-
Added, to the "R Markdown" vignette, instructions for using
latexTable()
output in a Sweave / Rnw document. -
Small improvements to
latexTable()
documentation. -
Roxygenized documentation for
reliability()
andNAMESPACE
. All documentation is now roxygenized (#7).
- Added
strip0()
(#41). - Added
snakeToCamel()
,medianNA()
,rangeNA()
(#32). PDF_crop()
can now take paths that have spaces.- Reduced test_regTable.R reliance on multiwayvcov package (#36).
- Fix bug with
latexTable()
whenmat
is a tibble. - Minor update to
qw()
documentation (#37).
Updated latexTable()
and regTable()
for compatibility with R 4.0.0.
- Added vignette on using
latexTable()
with R Markdown documents (#20). - Updated
latexTable()
andlatexTable()
PDF documentation on required LaTeX packages. Added check for thefloat
package tolatexTablePDF()
. - Moved knitr and rmarkdown from "Suggests" to "Imports" to prevent
package installation errors when
build_vignettes = TRUE
- Removed class restrictions on objects passed to
regTable()
.regTable()
now works with almost every kind of regression object. - Added
[.regTable
method for intelligent subsetting of regTable objects (#27). - Added global option
Bullock.print.regTable.dp
on package load so that users can change default number of digits that are displayed when theyprint
a regTable object. - Added
str.regTable()
. - In
print.regTable()
, use "crayon" package, when available, to render column-pair headings in bold (#23).
- Added
PDF_crop()
. latexTablePDF()
is now able to write PDF files even when the latexTable objects that it is processing were created withlatexTable(..., callCommand = FALSE)
.- Added
envir
argument tolsos()
and.ls.objects()
(#6). - Improved vignette formatting (#19).
- Fixed bug in latexTable footers when
SE_table
isFALSE
(#24).
- Added support for glm objects to
regTable()
. - Allowed
regTable()
to work with regressions of different classes (i.e., "lm" and "ivreg") when clustering SEs. - Improved
print.regTable()
output (#11, #18). - Improved checking of classes of
objList
elements.
- In
latexTable()
, changedspaceBetweenColNameRows
argument fromTRUE
to-.025in
. Users can now arbitrarily adjust the vertical space between column-name rows by specifying any LaTeX length as thespaceBetweenColNameRows
argument. - Improved
latexTable()
output whenformatNumbers
isFALSE
. - Added
c.latexTable()
method (#12). - Better
latexTable()
warning message whencolNames[[1]]
has the wrong length.
- Reduced
lNAv()
output from two lines to 1 (#16). - If one goes to
help.start()
and then clicks on the "Bullock" entry, "Bullock-package" is now the first entry in the help index. - Added examples to documentation of stack utilities (#5) and missing-value utilities.
- Small improvements to documentation formatting.
- Fixed failure to export
print.regTable()
. Printing of "regTable" objects
to screen will now look better. Also updated vignette with new regTable output (#21). - Fixed
latexTable()
calls for whichdecimalPlaces
is 0 (#8). - Fixed bug in
latexTable()
calls that arose whenSE_table
wasFALSE
and an element of thecolNames
list had a length less thanncol(mat)
. - Fixed float placement of landscaped tables made by
latexTable()
.
- Added
regTable()
,latexTable()
, andlatexTablePDF()
. - Modified behavior of
lNA()
so that it no longer prints any output by default. The newlNAv()
behaves like the previous version oflNA()
. - Adopted camelCase for function names and arguments throughout the package.
modal_value()
is nowmodalValue()
, and so on. - Rewrote
moveToDF()
(formerlymove.to.df()
) from scratch. - Rewrote the stack utilities:
pop()
,push()
,shift()
, andunshift()
. - Removed
factorToDummyMatrix()
. Seecaret::class2ind
ormakedummies::makedummies
for a replacement. - Removed ancient functions:
latable()
,noNAmatrix()
,split_fac()
. - Converted to roxygen for documentation of most functions.
- Version 1.19.1. Updated contact email address in DESCRIPTION.
- Version 1.19. Minor update to modal_value, which seems to make it faster.
- Version 1.18. Minor update to
rescale()
so that it works with tibble columns. - Version 1.17. Added
factorToDummyMatrix()
. - Version 1.16. Minor update to
qw()
. - Version 1.15. Substantial revisions to
move.to.df()
. - Version 1.14. Added
%IN%
, a binary match operator that can return NA. - Version 1.13. Added
qw()
, a Perl-like string-quoting function. - Version 1.12. Changed default argument to
rescale()
. - Version 1.11. Improved
lsos()
documentation. - Version 1.10. Added
lsos()
to the package. - Version 1.09. Adjusted
merge_fac()
so that it can work with variables in environments other than the global environment. - Version 1.08. Added stack utilities (
push(), pop(), shift()
, andunshift()
) that are based on Jeffrey A. Ryan's code at [http://www.lemnica.com/esotericR/Introducing-Closures/]. - Version 1.07. Fixed bug in
latable()
handling ofivreg()
output. (The AER package contains anivreg()
function for instrumental-variables regression.) - Version 1.06. Added
rows.to.remove
argument tolatable()
so thatlatable()
can return "incomplete" regression tables. - Version 1.05. Added NAMESPACE to make the Windows binary installable in R 2.14.
- Version 1.04. Added
reliability()
to compute Cronbach's alpha for batteries of survey items or other measurements. - Version 1.03. Added
modal_value()
and fixed a related bug inmove.to.df()
. - Version 1.02. Added
merge_fac()
.