Skip to content

Commit 7ec3e64

Browse files
committed
Fixed syntax, image
1 parent 894d0e9 commit 7ec3e64

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

-6.6 KB
Loading

‎docs/machine-learning/tutorials/r-taxi-classification-explore-data.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ To create the plot, use the R function `barplot`. This step plots a histogram ba
9797
image_file = tempfile();
9898
jpeg(filename = image_file);
9999
#Plot histogram
100-
barplot(table(InputDataSet$tipped), main = 'Tip Histogram', col="lightgreen", xlab="Tipped or not", ylab = "Counts", space=0)
100+
barplot(table(InputDataSet$tipped), main = "Tip Histogram", col="lightgreen", xlab="Tipped or not", ylab = "Counts", space=0)
101101
dev.off();
102102
OutputDataSet <- data.frame(data=readBin(file(image_file, "rb"), what=raw(), n=1e6));
103103
',
@@ -286,7 +286,7 @@ To view the plot, open the destination folder and review the files that were cre
286286
287287
1. Go the folder indicated in the STDOUT message (in the example, this is C:\temp\plots\)
288288
289-
2. Open `rHistogram_Tipped.jpg` to show the number of trips that got a tip vs. the trips that got no tip. (This histogram is much like the one you generated in the previous step.)
289+
2. Open `rHistogram_Tipped.jpg` to show the number of trips that got a tip vs. the trips that got no tip (this histogram is similar to the one you generated in the previous step).
290290
291291
3. Open `rHistograms_Tip_and_Fare_Amount.pdf` to view distribution of tip amounts, plotted against the fare amounts.
292292

0 commit comments

Comments
 (0)