Abstract
This chapter covers some common functions in R. The first section discusses the function options(), which sets the default options for R. The second section describes the functions round(), signif(), and noquote(), which are used in formatting objects. The third section covers the function cat(), which is used to print results to the console, a file, or a connection. The fourth section discusses the functions format(), print(), plot(), and summary() for displaying objects. The functions in the fourth section operate differently on different classes of objects so are generic functions. In the fifth section, we cover the functions anova(), coef(), effects(), residuals(), fitted(), vcov(), confint(), and predict(), which are functions that operate specifically on models and which are also generic.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Margot Tollefson
About this chapter
Cite this chapter
Tollefson, M. (2019). Some Common Functions. In: R Quick Syntax Reference. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4405-0_15
Download citation
DOI: https://doi.org/10.1007/978-1-4842-4405-0_15
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4404-3
Online ISBN: 978-1-4842-4405-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)