calc_all: Calculate and Impute REE missing data and anomalies.

View source: R/DoItALL.R

calc_allR Documentation

Calculate and Impute REE missing data and anomalies.

Description

This is a wrapper for data %>% model_REE() %>% impute_REE() %>% add_parameters()

Usage

calc_all(dat, prefix = NULL, suffix = NULL, chondrite = PalmeOneill2014CI)

Arguments

dat

A data frame with REE data in ppm

prefix

A prefix in your columns e.g. ICP_La

suffix

A suffix in your columns e.g. La_ppm

chondrite

an option from: PalmeOneill2014CI, Oneill2014Mantle, McDonough1995CI

Value

A data frame. Includes imputed REE, model metrics, and calculated variables.

Examples


Ballard_et_al_Zircon %>% calc_all(prefix = 'Zr_', suffix = '_ppm')



imputeREE documentation built on July 9, 2023, 7:35 p.m.