This function evaluates the number of individuals for a test set.
Usage
number_of_test_id(TTRatio = 0.2, nind = 100)
Arguments
- TTRatio
Train Test ratio, default 0.2
- nind
number of individuals, default 100
Value
int, the number of id for test set
Examples
number_of_test_id(TTRatio = 0.2, nind=100)
#> [1] 25