This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Linear Regression predicts linear relationship between two variables | |
# Set path to Desktop | |
setwd("~/Desktop") | |
download.file(url = 'https://raw.githubusercontent.com/mGalarnyk/Python_Tutorials/master/Python_Basics/Linear_Regression/linear.csv' | |
, destfile = 'linear.csv') | |
rawData=read.csv("linear.csv", header=T) | |
# Show first n entries of data.frame, notice NA values |