Posted by: Gary Ernest Davis on: June 12, 2015

I wrote a postÂ yesterday on defining functions in R for beginners. By “beginners” I meanÂ either people who are just learning R, or are just starting out in data analysis, or both. Today I want toÂ show how this might beÂ easier Â to do in MathematicaÂ®. First let’s define the function zsf[data,k] which calculates the proportion of data […]

Posted by: Gary Ernest Davis on: June 11, 2015

x What is a function, anyway? x For programming purposes, one should think of a function as a type of object that takes certain types of INPUTS, and – once those inputs are given – produces a definite OUTPUT. A simple example is the AVERAGE function, for which the input is a list of numbers […]