MulaiMulai sekarang secara gratis

Exploring wine

Throughout this chapter, you'll explore techniques for anomaly detection with a new data set called wine. Each row of this data set refers to a wine whose chemical composition is described by two numeric fields:

  • pH: how acidic the wine is
  • alcohol: the wine's alcohol content (%)

Latihan ini adalah bagian dari kursus

Introduction to Anomaly Detection in R

Lihat Kursus

Petunjuk latihan

  • Produce a scatter plot of pH and alcohol with pH as the y-axis variable.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# View the contents of the wine data
head(wine)

# Scatterplot of wine pH against alcohol
plot(___ ~ ___, data = ___)
Edit dan Jalankan Kode