Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set.seed(123)
- x <- rnorm(10, 15,1)
- y <- rnorm(10, 7,0.1)
- z <- rnorm(10, 3,0.01)
- distdat <- data.frame(x,y,z)
- rownames(distdat) <- c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j")
- col_name <- c("x", "x", "x")
- row_name <- c("h", "g", "a")
- min_val <- c(14.21208, 14.88804, 14.98797)
- newdat <- data.frame(col_name, row_name, min_val)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement