diff options
author | Suraj Yerramilli | 2015-02-06 22:19:41 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-02-06 22:19:41 +0530 |
commit | c6e753162add6d331c665b629c71594bfd448693 (patch) | |
tree | 3f5582f385c465c45b560349f7a57e426b7f945e /man/dataPartition.Rd | |
parent | 519f0ca7dc465d47a798096f7e4e21ae7bd9b517 (diff) | |
download | SysID-R-code-c6e753162add6d331c665b629c71594bfd448693.tar.gz SysID-R-code-c6e753162add6d331c665b629c71594bfd448693.tar.bz2 SysID-R-code-c6e753162add6d331c665b629c71594bfd448693.zip |
added code for splitting data into training and validation sets
Diffstat (limited to 'man/dataPartition.Rd')
-rw-r--r-- | man/dataPartition.Rd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/man/dataPartition.Rd b/man/dataPartition.Rd new file mode 100644 index 0000000..501ace2 --- /dev/null +++ b/man/dataPartition.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2 (4.1.0): do not edit by hand +% Please edit documentation in R/partition.R +\name{dataPartition} +\alias{dataPartition} +\title{Split data into training and validation sets} +\usage{ +dataPartition(object, p = 0.6) +} +\arguments{ +\item{object}{an object of class \code{idframe}} + +\item{p}{the percentage of the data that goes to training (Default : \code{0.6})} +} +\value{ +list containing estimation and validation idframe objects +} +\description{ +The function splits the data into training and validation sets and returns them bundled +as a list. The size of the sets are determined by the parameter \code{p}. +} + |