splitCommon_proportion: Split training set and validation set

View source: R/splitCommon_proportion.R

splitCommon_proportionR Documentation

Split training set and validation set

Description

Split the sample table into training and validation by proportion

Usage

splitCommon_proportion(sampTab, proportion, dLevel)

Arguments

sampTab

the sample table

proportion

the fraction of all available data in a category that you want to use for training

dLevel

the name of the sample table column with the classification categories

Value

a list containing training sample table and validation sample table


pcahan1/cancerCellNet documentation built on July 16, 2022, 12:12 a.m.