Description Usage Arguments Examples
Check that argument is in radians
1 2 | trig_radian_check(ex, radian_val,
message = "Could not find call to a trigonometric function", eps = 0.001)
|
ex |
A |
radian_val |
a number: the desired angle in radians |
message |
character string message to produce on failure |
eps |
precision of comparison |
1 2 3 4 | ex <- for_checkr(quote(15 * sin(3)))
trig_radian_check(ex, 3)
trig_radian_check(ex, 3 * pi / 180)
trig_radian_check(ex, 4*pi/180)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.