splitData function

Split the plpData into test/train sets using a splitting settings of class splitSettings