Description Usage Arguments Author(s) Examples
A function to check whether a classification is better than a guess
1  | acc_lucky(train_class, test_class, my_acc, s = 1000)
 | 
train_class | 
 a vector for the distribution of classes in the training set  | 
test_class | 
 a vector for the distribution of classes in the test set  | 
my_acc | 
 a number between 0 and 1 for the classification accuracy to be evaluated  | 
s | 
 sample size of simulations used to check p-values  | 
Larry Lei Hua
1 2 3 4  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.