Learn R Programming

lessR (version 3.6.2)

print.out_piece: Display a Portion of Output from a Saved List Object

Description

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.

Usage

# S3 method for out_piece
print(x, ...)

Arguments

x

The piece of output to display, a character vector or a list of character vectors.

Other parameter values.

References

Gerbing, D. W. (2014). R Data Analysis without Programming, Chapters 9 and 10, NY: Routledge.

See Also

Regression

Examples

Run this code
# NOT RUN {
# read internal data set
mydata <- rd("Employee", format="lessR", quiet=TRUE)
# do the summary statistics
s <- ss.brief(Salary)
# print the piece of output, print function is implicit
s$outliers
# }

Run the code above in your browser using DataLab