Usage
thplot1(x1, x2, name = "", ifzero = 0.01, xlow = NA, xhih = NA,
yhih = NA, rsd = 5, ptile = 95, main = "")
Arguments
x1
a column vector from a matrix or data frame, x1[1], ..., x1[n]
.
x2
another column vector from a matrix or data frame, x2[1], ..., x2[n]
. x1,x2
must be of identical length, n, where x2
is a duplicate measurement of x1
.
name
a title can be displayed with the results, e.g., name = Magnetic Susceptibility. If this field is undefined the character string for x1
is used as a default.
ifzero
as the Thompson-Howarth plot is log-scaled values of zero cannot be displayed, therefore the parameter ifzero
has to be specified. A suitable choice is a value one order of magnitude lower than the value of the detection limit. A default va
xlow
if is desired to produce plots with consistent scaling this may be achieved by defining xlow
, xhih
and yhih
, the ylow
value is set equal to ifzero
. Enter an appropriate value of xlow<
xhih
enter an appropriate value of xhih
to ensure all data are displayed on all plots.
yhih
enter an appropriate value of yhih
to ensure all data are displayed on all plots.
rsd
to assist in QA/QC inspection a target precision may be defined as a RSD%, a default of rsd = 5
is provided. See comments concerning RSD in Details below.
ptile
defines the confidence interval for a line to be drawn on the plot above which only 100 - ptile% of the points should plot if the defined target RSD is being met. A default of ptile = 95
is provided. The function counts the number of points f
main
a title may be added optionally above the display, e.g., main = "Stanley (2003) Test Data"
.