# \donttest{
library(metan)
pcor <- lpcor(data_ge2, NR, NKR, NKE)
print(pcor)
# Compute the correlations for each level of the factor ENV
lpc2 <- lpcor(data_ge2,
NR, NKR, NKE,
by = ENV)
print(lpc2)
# }
Run the code above in your browser using DataLab