Statistics Assignment | Professional Writing Services
December 20th, 2019
isBinaryxTRUExFALSE isBinary function to now have arguments (x, allow.NA = FALSE) that has the following behaviour:
- If allow.NA is TRUE, your function should return TRUE if the elements of x are 0, 1 or NA. It should return FALSE otherwise.
- If allow.NA is FALSE your function should behave exactly as in (a). i.e., the function should return TRUE if and only if the elements of x are 0 or 1.
- Get Statistics homework help today