Skip to main content

Some Common Functions

  • Chapter
  • First Online:
R Quick Syntax Reference
  • 2857 Accesses

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. 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 also operate differently depending on the class of the object.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 24.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Margot Tollefson

About this chapter

Cite this chapter

Tollefson, M. (2014). Some Common Functions. In: R Quick Syntax Reference. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6641-9_15

Download citation

Publish with us

Policies and ethics