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.
Once the worldâs leading bodybuilder, Arnold Schwarzenegger went on to become one of Hollywoodâs biggest stars and then the governor of California. Nicknamed The Austrian Oak, Arnold Schwarzenegger started pumping iron when he was a teenager and in 1965 won the Mr. Europe Junior title. He went on to win five Mr. Universe titles (both amateur and professional) and was named Mr. Olympia seven times (1970-75 and 1980).