Learn R Programming

bayess (version 1.6)

datha: Non-standardised Licence dataset

Description

The dataset used in Chapter 6 is derived from an image of a license plate, called license and not provided in the package. The actual histogram of the grey levels is concentrated on 256 values because of the poor resolution of the image, but we transformed the original data as datha.txt.

Usage

data(datha)

Arguments

Format

A data frame with 2625 observations on the following variable.

x

Grey levels

Details

datha.txt was produced by the following R code:


> license=jitter(license,10)
> datha=log((license-min(license)+.01)/
+ (max(license)+.01-license))
> write.table(datha,"datha.txt",row.names=FALSE,col.names=FALSE)

where jitter is used to randomize the dataset and avoid repetitions

Examples

Run this code
data(datha)
datha=as.matrix(datha)
range(datha)

Run the code above in your browser using DataLab