Calculate the default alpha parameter for ashape based on the average size of label boxes.
default.ahull <- function(d,...){ labels <- apply.method("big.boxes",d,...) mean(unlist(labels[,c("w","h")])) }
Please contact Toby Dylan Hocking if you are using directlabels or have ideas to contribute, thanks! |
Documentation website generated from source code version 2021.2.24 (git revision bb6db07 Mon, 14 Jun 2021 22:38:45 +0530) using inlinedocs. |
validate |