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 […]