Description Usage Arguments Examples
A training/test partition are created by sampler
function.
1 |
data |
Data frame from which all variables |
p |
The percentage of data that goes to training, It can be expressed in either decimal fraction (such as 0.7) or percent (such as 72.12). |
seed |
a single value, interpreted as an integer, or |
1 2 3 4 5 6 7 | if(interactive()){
# The best way to demostrate the functionality is test the function
Sampling <- sampler(AustralianCredit,p=0.7)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.