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 = "azradey@gmail.com", role = c("aut", "cre")),
MaintainerThe package maintainer <azradey@gmail.com>
LicenseMIT
Version0.1.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("azradey/Week2Project")
azradey/Week2Project documentation built on May 12, 2019, 10:31 p.m.