Question: What is the correct way to define a function in R that calculates the cube of a number? a . cube < - function (
What is the correct way to define a function in R that calculates the cube of a number?
a
cube functionx x x x
b
cubex x
c
cube x x
d
function cubex x
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
