12.07.2015 Views

R dummies

R dummies

R dummies

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

To make this script into a function, you need to do a few things. Look at thescript as a little factory that takes the raw numeric material and polishes it up toshiny percentages every mathematician will crave.First, you have to construct the factory building, preferably with an address sopeople would know where to send their numbers. Then you have to install a frontgate so you can get the raw numbers in. Next, you create the production line totransform those numbers. Finally, you have to install a back gate so you can sendyour shiny percentages into the world.To build your factory, change the script to the following code:addPercent

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!