Skip to content
Discussion options

You must be logged in to vote

Hi Yancheng, thanks for your question. I'll mention that CHNOSZ can't exactly recreate this diagram because it doesn't have a speciation model with mass-balance capabilities. What CHNOSZ can do is calculate relative abundances of species that all have a single element in common (lanthanum in this case), where those species may form by complexation with ligands whose distribution depends on variables like pH and temperature and with activity coefficients calculated for given ionic strength.

Here are a few lines of code to get started:

# Start with default settings
reset()

# Setup plot file
png("La_diagram.png", width = 8, height = 6, units = "in", res = 300)
par(mfrow = c(2, 2))

# Assign…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lycunddemon
Comment options

Answer selected by jedick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants