LHScorcorr(vars, COR = 0, method = c("Pearson", "Spearman"), eps = 0.005, echo = FALSE, maxIt = 0)This is mainly intended for use inside of the LHS function.
If you intend to use non-zero correlation terms, read Chalom & Prado (2012) for some important theoretical restrictions.
The correlation matrix may be specified by a Pearson or Spearman method. In order to
generate the Spearman correlation, the function "rank transforms" the data using the
order function, and thus works only if there are no ties in the data.
Chalom, A. and Prado, P.I.K.L. 2012. Parameter space exploration of ecological models arXiv:1210.6278 [q-bio.QM]