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.
The Presidents of the United States have embraced baseball since George Washington played rounders at Valley Forge. Baseball Almanac has researched the presidential-baseball relationships and is proud to present a historical breakdown of famous firsts as they relate to baseball and U.S. Presidents.resident William H. Taft attends his third Major League baseball game and is first U.S. President to see three games while in office (He goes on to see fourteen games while in office). President William H. Taft threw out the first season Opening Day pitch to Walter Johnson.