Description Usage Arguments Value Examples

Check whether or not an input matrix includes any non-numeric values (NA, NULL, "", character, etc) before being used for training. If any non-numeric values exist, then TrainBuddle() or FetchBuddle() will return non-numeric results.

1 |

`X` |
an n-by-p matrix. |

A list of (n+1) values where n is the number of non-numeric values. The first element of the list is n, and all other elements are entries of X where non-numeric values occur. For example, when the (1,1)th and the (2,3)th entries of a 5-by-5 matrix X are non-numeric, then the list returned by CheckNonNumeric() will contain 2, (1,1), and (2,3).

1 2 3 4 5 6 7 8 9 | ```
n = 5;
p = 5;
X = matrix(0, n, p) #### Generate a 5-by-5 matrix which includes two NA's.
X[1,1] = NA
X[2,3] = NA
lst = CheckNonNumeric(X)
lst
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.