After looking thru the available data.table doc & SO related question responses pertaining to dataframes, how do you efficiently generate a 70%,30% split out from a master data table (ie: 'foo') of separate 'foo.train' & 'foo.test' data tables with rows that are unique between them for predictive modeling purposes? (note, no use of caret or dplyr is allowed)
Need an additive solution to Gennaro Tedesco's code response:
https://stackoverflow.com/a/33201094/3741230
Thanks.