MyNixOS website logo
Description

LaTeX Wrappers for R Users.

Provides the functionality to write LaTeX code from within R without having to learn LaTeX. Functionality also exists to create HTML and Markdown code. While the functionality still exists to write complete documents with lazyWeave, it is generally easier to do so with with markdown and knitr. lazyWeave's main strength now is the ability to design custom and complex tables for reporting results.

Build Status
DOI

lazyWeave

The motivation behind lazyWeave was to reproducible reports among those R users who hadn't yet learned LaTeX. It was, in my opinion, a noble goal, but happened to coincide with the wiser efforts behind the development of the knitr and rmarkdown packages. The development of these tools, which have become so common in the R community, have rendered most of the functionality of lazyWeave obsolete.

So at this point, we may ask, "why lazyWeave at all?" There are a handful of functions that I find quite useful still, and they can still be used in the rmarkdown documents. The functions you'll likely find most useful are:

  • lazy.matrix
  • lazy.table
  • cattable
  • conttable
  • catconttable
  • univ

All of these functions are capable of producing output in LaTeX, HTML, and RMarkdown.

lazyWeave is somewhat similar to the xtable package. What are the advantages of lazyWeave? To be honest, there really aren't a lot. In fact, xtable has quite a few more bells and whistles than lazy.matrix. For instance, with xtable you can turn column headings sideways, or use the longtable package in LaTeX. Eventually, I may add support for these features.

The only advantage lazy.matrix has over xtable is the ability to apply colors to the background of table rows.

The other advantage over xtable is the ability to define multicolumn cells (in LaTeX and HTML only) when building custom tables with lazy.table.

Beyond those basics, cattable, conttable, catconttable, and univ provide ready-made functionality for basic summaries with univariable comparisons. In fact, you may find that they are generally publication ready out of the box.

Metadata

Version

3.0.2

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows