change_logk: Change log K values in a database

View source: R/change_logk.R

change_logkR Documentation

Change log K values in a database

Description

Change log K values in a database

Usage

change_logk(db = pbcu2sol, eqn, logk)

Arguments

db

The PHREEQC database to modify.

eqn

A character vector of equations to modify.

logk

A character vector containing the replacement log K values, corresponding element-wise to eqn.

Value

A modified PHREEQC database.

Examples

phreeqc::minteq.v4.dat[1820:1821]
change_logk(db = phreeqc::minteq.v4.dat, eqn = "Pb+2 + Cl- = PbCl+", logk = 1.59)[1820:1821]

bentrueman/pbcusol documentation built on Oct. 25, 2024, 1:06 p.m.