phr_input_section: Create input sections for phreeqc

Description Usage Arguments Value Examples

View source: R/phreeqc_input.R

Description

Create input sections for phreeqc

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
phr_input_section(type, number = NA, name = "", components = list())

new_phr_input_section(x)

## S3 method for class 'phr_input_section'
as.character(x, ...)

## S3 method for class 'phr_input_section_character'
as.character(x, ...)

## S3 method for class 'phr_input_section'
print(x, ...)

is_phr_input_section(x)

as_phr_input_section(x, ...)

## S3 method for class 'phr_input_section'
as_phr_input_section(x, ...)

## S3 method for class 'character'
as_phr_input_section(x, ...)

Arguments

type

The keyword name to use (e.g. SOLUTION)

number

Number of the component

name

Name of the component

components, ...

Key/value pairs corresponding to lines of input

x

An object created by phr_input_section

Value

A character vector with an element for each line

Examples

1
2
# pure water solution
phr_solution(pH=7, temp=25)

paleolimbot/tidyphreeqc documentation built on Aug. 29, 2019, 11:14 p.m.