Skip to main content

Some Common Functions

  • Chapter
  • First Online:
R Quick Syntax Reference
  • 1348 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 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.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.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

© 2019 Margot Tollefson

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics