inst/examples/murcia-ternary.R

# 绘制土壤样本三元图
data(murcia, package = "MSG")
library(vcd)
ternaryplot(murcia[, 2:4], main = "",
            dimnames = c("砂粒", "粉粒", "黏粒"),
            col = MSG::vec2col(murcia$site), cex = .5)

Try the MSG package in your browser

Any scripts or data that you put into this service are public.

MSG documentation built on July 22, 2021, 1:06 a.m.