print.out | R Documentation |
Displays the portions of saved results of an analysis from a lessR
function into an object, such as for later display at the console or to be integrated into a Rmd
analysis, for example from RStudio
. This function is usually implicitly accessed by the user simply by entering the name of an output piece into the console or in a Rmd
file, such as, such as r$out_coefs
that results from r
in r <- reg(Y ~ X)
.
Now just applies to the lessR
Regression
function.
## S3 method for class 'out'
print(x, ...)
x |
The piece of output to display, a character vector or a list of character vectors. |
... |
Other parameter values. |
David W. Gerbing (Portland State University; gerbing@pdx.edu)
Gerbing, D. W. (2014). R Data Analysis without Programming, Chapters 9 and 10, NY: Routledge.
Regression
# read internal data set
d <- rd("Employee", quiet=TRUE)
# do the summary statistics
s <- ss_brief(Salary)
# print the piece of output, print function is implicit
s$outliers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.