# NOT RUN {
# The column names of the data frames position and block are optional.
position <- data.frame("var.name" = paste0("Var", 1:500),
"position" = seq(from = 1, to = 1000, by = 2))
dendr1 <- cluster_positions(position = position)
block <- data.frame("var.name" = paste0("Var", 1:500),
"block" = rep(c(1, 2), each = 250),
stringsAsFactors = FALSE)
dendr2 <- cluster_positions(position = position, block = block)
# }
Run the code above in your browser using DataLab