grade.negative {grade} | R Documentation |
Check the Sign of a Number
Description
Sees if studentans
is negative, correctans
is ignored.
Usage
grade.negative(correctans=NULL, studentans, tolerance=0.01,
useeval=TRUE, usena=FALSE, useinf=FALSE, quiet=TRUE)
Arguments
correctans |
not used in this function, no restrictions are enforced. |
studentans |
a vector of type |
tolerance |
a |
useeval |
|
usena |
|
useinf |
|
quiet |
|
Value
TRUE
if (studentans
< -tolerance
)
FALSE
otherwise.
Note
The grade
main page contains a discussion of the
common parameters correctans, studentans, useeval, usena,
useinf, quiet
.
See Also
Examples
grade.negative(studentans=0, "1") # FALSE
grade.negative(NULL, "1.1", tolerance=".01") # FALSE
grade.negative("soup", "-.1", tolerance=.05) # TRUE
[Package grade version 0.2-1 Index]