R: spam classification: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs) No edit summary |
Onnowpurbo (talk | contribs) No edit summary |
||
| Line 6: | Line 6: | ||
library(RColorBrewer) | library(RColorBrewer) | ||
setwd("~/Your Folder Path") | |||
raw.data <- read.table("SMSSpamCollection", header=FALSE, sep="\t", quote="", stringsAsFactors=FALSE) | |||
Revision as of 03:14, 25 November 2018
install.packages("quanteda")
install.packages("RColorBrewer")
library(quanteda) library(RColorBrewer)
setwd("~/Your Folder Path")
raw.data <- read.table("SMSSpamCollection", header=FALSE, sep="\t", quote="", stringsAsFactors=FALSE)