format.pls | R Documentation |
Formats and displays Partial Least Squares (PLS) model output from pls.regression()
as either LaTeX tables (for PDF rendering) or console-friendly output.
## S3 method for class 'pls'
format(x, ..., include.scores = TRUE, latex = FALSE)
x |
A list returned by |
... |
Further arguments passed to or from methods (unused). |
include.scores |
Logical. Whether to include score matrices (T and U). Default is |
latex |
Logical. If |
When latex = TRUE
, returns a knitr::asis_output
object (LaTeX code). When FALSE
, prints formatted tables to console.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.