Loading [MathJax]/extensions/mml2jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Statistics LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Cover Page
    • License
    • Show TOC
    • Embed Jupyter
    • Transcluded
    • OER program or Publisher
    • Autonumber Section Headings
    • License Version
  • Include attachments
Searching in
About 1 results
  • https://stats.libretexts.org/Courses/Cerritos_College/Introduction_to_Statistics_with_R/18%3A_Basic_Programming/18.04%3A_Writing_Functions
    Whenever the function is called, R executes the statements in the curly braces, and then outputs the contents of VALUE to the user. As you can see, when you type the name of a function at the command ...Whenever the function is called, R executes the statements in the curly braces, and then outputs the contents of VALUE to the user. As you can see, when you type the name of a function at the command line, R prints out the underlying source code that we used to define the function in the first place. The doubleMax() function identifies the largest value in the inputs, by passing all the user inputs to the max() function, and then doubles it.

Support Center

How can we help?