inst/oldFiles/randTrain.R

randTrain = function(p, data) {
 if (p <= 0 | p >= 1) stop("p must be in (0,1)")
 p
 }
 
 
 

Try the MLInterfaces package in your browser

Any scripts or data that you put into this service are public.

MLInterfaces documentation built on Nov. 8, 2020, 8:14 p.m.