split_df: Split a df into random sets

Description Usage Arguments Note Examples

View source: R/eem.R

Description

Fast wrapper to split a data frame into random training and test sets

Usage

1

Arguments

data

data frame

p

percent desired in training set (test will be 1-p)

Note

returns list with two data frames

Examples

1
sets <- split_df(largedata, 0.75)

Eflores89/eem documentation built on June 30, 2020, 2:53 a.m.