azradey/Week2Project: Train and Test Set

Takes in a csv file from the current R project folder in quotes (ex: "file_name.csv"), the train set percentage, and the test set percentage. The function reads the csv file and creates a train and test set from the specified percentages. The output is a list where the first index returns the training set and the second index refers to the testing set. Example of naming train and test set after running: data <- train_test("train_copy.csv", 0.7, 0.3), train <- data[1], test <- data[2].

Getting started

Package details

Authorc(person("Abigail", "Radey", email = "[email protected]", role = c("aut", "cre")),
MaintainerThe package maintainer <[email protected]>
LicenseMIT
Version0.1.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("azradey/Week2Project")
azradey/Week2Project documentation built on June 9, 2018, 12:23 a.m.