Posts Tagged ‘ volume ’

Programming with R – Checking Function Arguments

October 24, 2010
By

In a previous post we considered writing a simple function to calculate the volume of a cylinder by specifying the height and radius of the cylinder. The function did not have any checking of the validity of the function arguments which we will consider in this post. R has various functions that we can use to

Read more »