Learn R Programming

EMMAgeo (version 0.9.4)

X: example data

Description

Synthetic data set created by randomly mixed natural end-members

Arguments

Format

num [1:100, 1:116] 0.000899 0.000516 0.00136 0.000989 0.00102 ...

Details

The dataset is the result of four mixed natural end-members.

Examples

Run this code
# NOT RUN {
## load example data set
data(X)

## extract grain-size classes
s <- as.numeric(colnames(X))

## plot first 10 samples stacked in one line plot
plot(NA,
     xlim = c(1, ncol(X)),
     ylim = c(1, 20))

for(i in 1:10) {
  lines(x = s,
        y = X[i,] + i)
}

## plot grain-size map
image(x = s,
      z = t(X),
      log = "x",
      col = rainbow(n = 250))
# }

Run the code above in your browser using DataLab