Learn R Programming

⚠️There's a newer version (1.1.15) of this package.Take me there.

rgr (version 1.1.0)

The GSC Applied Geochemistry EDA Package

Description

Geological Survey of Canada (GSC) R functions for exploratory data analysis with applied geochemical data, with special application to the estimation of background ranges and identification of outliers, 'anomalies', to support both environmental studies and mineral exploration.

Copy Link

Version

Install

install.packages('rgr')

Monthly Downloads

203

Version

1.1.0

License

GPL-2

Maintainer

Robert G Garrett

Last Published

January 25th, 2011

Functions in rgr (1.1.0)

gx.summary1

Display a one-line Summary Statistics Report
fences.summary

Generate and Save Fence Values for Data Subsets
bwplot.by.var

Plot Vertical Box-and-Whisker Plots for Variables
gx.robmva

Function to undertake a Robust Exploratory Multivariate Data Analysis
gx.adjr2

Function to compute Adjusted r-squared values
gx.add.chisq

Function to Add Fences to Chi-square Plots
cat2list

Divides Data into Subsets by Factor
cutter

Function to Identify in Which Interval a Value Falls
gx.triples.fgx

ANOVA to Estimate if Triples are a Valid Subset
anova1

Analysis of Variance (ANOVA)
gx.robmva.closed

Function to undertake a Robust Closed Data Multivariate EDA
cnpplt

Cumulative Normal Percentage Probability (CPP) Plot
gx.lm.vif

Estimate Variance Inflation Factosr (VIFs).
map.z

Plot a Map of Data using Proportional Symbols
fences

Generate and Display Fence Values
ms.data3

Measurement Variability Test Data
gx.summary.groups

Displays Summary Statistics for a Variable Grouped by a Factor
gx.md.print

Function to Display Membership Probabilities
gx.mvalloc.print

Function to display the results of Multivariate Allocation
gx.mva

Function to undertake an Exploratory Multivariate Data Analysis
gx.rotate

Function to Perform a Kaiser Varimax Rotaion
bxplot

Plot a Horizontal Boxplot or Box-and-Whisker Plot
gx.subset

Extracts a Subset of Rows from a Dataframe
clr

Centred Log-Ratio (clr) transformation
inset.exporter

Saves an EDA Graphical and Statistical Summary
gx.sort

Function to Single Column Sort a Matrix or Dataframe
df.test

Check for the existence of a Dataframe
gx.sort.df

Function to Multi-Column Sort a Dataframe
gx.pearson

Display Pearson Correlation Coefficients and their Significances
gx.spearman

Display Spearman Correlation Coefficients and their Significances
bwplot

Plot Vertical Box-and-Whisker Plots
alr

Arithmetic Log-Ratio (alr) transformation
map.eda7

Plot a Symbol Map of Data Based on the Tukey Boxplot
framework.summary

Generate and Save Framework/Subset Summary Statistics
rgr-package

The GSC (Geological Survey of Canada) Applied Geochemistry EDA Package
xyplot.eda7

Display a Third Variable in a X-Y Plot using Tukey Boxplot Symbology
gx.triples.aov

Carries out a 3-Level Staggered ANOVA and Estimates Variance Components
xyplot.eda8

Display a Third Variable in a X-Y Plot as Percentiles
ltdl.fix.df

Replace Negative Values Representing Less Than Detects in a Dataframe
thplot1

Display a Thompson-Howarth Plot of Duplicate Measurements
syms.pfunc

Function to Demonstrate the Effect of Different Values of p
ilr

Isometric Log-Ratio (ilr) transformation
where.na

Identify Vector Elements or Dataframe/Matrix Rows with NAs
inset

An EDA Graphical and Statistical Summary
gx.stats

Function to Compute and Display Summary Statistics
display.rainbow

Display the Colours of the Rainbow(36) Pallette
tbplot

Plot Vertical Tukey Boxplots
triples.test1

North American Geochemical Soil Landscapes Project QA/QC data
display.lty

Display Available Line Styles and Colour Codes
tbplot.by.var

Plot Vertical Tukey Boxplots for Variables
map.eda8

Plot a Symbol Map of Data Based on their Percentiles
caplot

Prepare a Concentration-Area (C-A) Plot
shape

An EDA Graphical Summary
rng

Undertakes a range transformation on the columns of a matrix
xyplot.tags

Display a Plot of Posted Values for a Third Variable
framework.stats

Compile Framework/Subset Summary Statistics
xyplot.z

Display a Third Variable in a X-Y Plot using Proportional Symbols
gx.ecdf

Emprical Cumulative Distribution Function (ECDF)
gx.2dproj

Function to Compute and Display 2-d Projections for Data Matrices
kola.c

Kola Project C-horizon Soil Data
ms.data2

Measurement Variability Test Data
gx.md.plt0

Function to Display Chi-square plots of Mahalanobis Distances
wtd.sums

Function to Compute Weighted Sums
fix.test

Test Data for Function ltdl.fix.df
thplot2

Display a Thompson-Howarth Plot of Duplicate Measurements, Alternate Input
gx.summary

Compiles a Table of Summary Statistics
syms

Function to Compute the Diameters of Proportional Symbols
gx.ks.test

Kolmogorov-Smirnov test with ECDF Plot
gx.rqpca.screeplot

Display a Scree Plot
gx.rqpca.plot

Function to Plot Principal Component Analysis Loadings and Scores
sind

Sinding-Larsen Norwegian Stream Sediment Test Data Set
ogrady

Lithogeochemical Data Set from the O'Grady Pluton, NWT, 1970
gx.runs

The Wald-Wolfowitz, Runs, Test
kola.o

Kola Project O-horizon Soil Data
gx.hypergeom

Compute Probabilities for Target Recognition
gx.2dproj.plot

Function to Display a Saved 2-D Projection Object
ltdl.fix

Replace Negative Values Representing Less Than Detects in a Vector
gx.mvalloc

Function for Allocation on the basis of Multivariate Data
gx.md.gait

Function for Multivariate Graphical Adaptive Interactive Trimming
gx.quantile

Estimate the Quantile for a Specified Fractile
ms.data1

Measurement Variability Test Data
orthonorm

Computation of an Orthonormal Basis Matrix
triples.test2

North American Geochemical Soil Landscapes Project QA/QC data
var2fact

Rearranges Data for Variables as Factors
display.ascii.o

Display the Windows Latin 1 Font Octal Table
gx.fractile

Estimate the Fractile for a Specified Quantile
gx.cnpplts

Multiple (max 9) Cumulative Normal Probability (CPP) plots
gx.summary.mat

Displays Summary Statistics for a Matrix or Dataframe
map.tags

Plot a Map of Posted Values
gx.hist

Plot a Histogram
gx.md.plot

Function to Display Chi-square Plots of Mahalanobis Distances
anova2

Analysis of Variance (ANOVA), Alternate Input
display.marks

Display Available Plotting Marks
gx.cnpplts.setup

Set Up and Display Symbolgy for function gx.cnpplts
gx.rma

Estimate the Coefficients of the Reduced Major Axis
remove.na

Remove and Count NAs
gx.summary2

Display a ten-line Summary Statistics Report