We first define the function as a variable, myFirstFun, using the keyword function, which also receives n as argument (no type specification). The latter will exist within the function. We used an integer, but 'n' could also be a vector or a matrix or a string: R handles all this nicely for us.
America in the 20th Century. The 20th century heralded the beginning of a new era in fitness. President Theodore Roosevelt, perhaps the most physically fit president ever to occupy the Oval Office, used his power and own example to encourage U.S. citizens to be physically active.
George W. Bush. Former president George W. Bush was one of the more physically active U.S. presidents, often rising for early-morning workouts and going on lengthy bike rides. But during his eight years in office, he spent an astonishing 879 days on vacation, including 77 trips to his ranch in Crawford, Texas.