Hello,

I have recently received a dataset from a metal analysis company. The
dataset is filled with less than symbols. What I am looking for is a
efficient way to subset for any whole numbers from the dataset. The column
is automatically formatted as a factor because of the "<" symbols making it
difficult to deal with the numbers is a useful way.

So in sum any ideas on how I could subset the example below for only whole
numbers?

Thanks in advance!

Sam

#code

metals <-


structure(list(Parameter = structure(c(1L, 2L, 3L, 4L, 6L, 7L,
8L, 9L, 10L, 11L, 12L, 13L, 15L, 16L, 17L, 18L, 19L, 20L, 1L), .Label
= c("Antimony",
"Arsenic", "Barium", "Beryllium", "Boron (Hot Water Soluble)",
"Cadmium", "Chromium", "Cobalt", "Copper", "Lead", "Mercury",
"Molybdenum", "Nickel", "pH 1:2", "Selenium", "Silver", "Thallium",
"Tin", "Vanadium", "Zinc"), class = "factor"), Cedar.Creek = structure(c(3L,
3L, 7L, 3L, 2L, 4L, 3L, 34L, 36L, 2L, 5L, 7L, 3L, 7L, 3L, 45L,
4L, 4L, 3L), .Label = c("<1", "<10", "<100", "<1000", "<200",
"<5", "<500", "0.1", "0.13", "0.5", "0.8", "1.07", "1.1", "1.4",
"1.5", "137", "154", "163", "165", "169", "178", "2.3", "2.4",
"22", "24", "244", "27.2", "274", "3", "3.1", "40.2", "43", "50",
"516", "53.3", "550", "569", "65", "66.1", "68", "7.6", "72",
"77", "89", "951"), class = "factor")), .Names = c("Parameter",
"Cedar.Creek"), row.names = c(NA, 19L), class = "data.frame")

	[[alternative HTML version deleted]]

