## Make test data available
data(kola.c)
## Make a subset of the data for Finland
finland.c <- gx.subset(kola.c, COUNTRY == "FIN")
## Make a subset of the data for rock type, LITHO, 82 occurring
## in Russia. Note that both COUNTRY and LITHO are factor variables
russia.82 <- gx.subset(kola.c, COUNTRY == "RUS" & LITHO == 82)
## Make a subset of the data for Cu exceeding 50(ppm) in Norway
norway.cugt50 <- gx.subset(kola.c, COUNTRY == "NOR" & Cu >50)
Run the code above in your browser using DataLab