honest_split: honest sample split

View source: R/honest_funs.R

honest_splitR Documentation

honest sample split

Description

Creates honest sample split by randomly selecting prespecified share of observations to belong to honest sample and to training sample

Usage

honest_split(data, honesty.fraction, orf)

Arguments

data

dataframe or matrix of features and outcomes to be split honestly

honesty.fraction

share of sample to belong to honesty sample

orf

logical, if honest split should be done for orf or not

Value

named list of honest and training sample


orf documentation built on July 24, 2022, 1:05 a.m.