Learn R Programming

dprep (version 2.1)

sonar: The Sonar dataset

Description

This is the sonar dataset. It containis information on 208 objects and 60 attributes. The objects are classified in two classes: "rock" and "mine".

Usage

data(sonar)

Arguments

format

A data frame with 208 observations on 61 variables. The first 60 represent the energy within a particular frequency band,integrated over a certain period of time. The last column contains the class labels. There are two classes 0 if the object is a rock, and 1 if the object is a mine (metal cylinder). The range value of each attribute varies from 0.0 to 1.0.

source

The UCI Machine Learning Database Repository at:
  • ftp://ftp.ics.uci.edu/pub/machine-learning-databases
  • http://www.ics.uci.edu/~mlearn/MLRepository.html

Examples

Run this code
#Robust detection of outliers in sonar-class1 using MVE----
data(sonar)
robout(sonar,1,"mve",rep=10)

Run the code above in your browser using DataLab