Professional Documents
Culture Documents
GCDkit
GCDkit I.
Loads ASCII file or imports clipboard
(e.g. data copied from Excel)
GCDkit I.
GCDkit I.
Appends new samples (= new rows) to
the data in memory.
File 1
File 2
GCDkit I.
Adds new data (columns) to the
samples stored in the memory.
File 1
File 2
GCDkit I.
Saves the modified data set stored in
memory under a specified filename.
GCDkit I.
Information about the current dataset:
GCDkit I.
Prints a cross table (contingency table)
for 1-3 labels and plots
corresponding barplots.
Contingency tables
An example of a contingency
table involving two labels
GCDkit I.
Restricts the textual output to an
absolute minimum
(which is useful for large data files)
GCDkit II.
GCDkit II.
Data
handling
Intermezzo 1:
1.
2.
3.
4.
Intermezzo 2:
square root
log, log10
natural/common logarithm
exp
exponential function
trigonometric functions
(Na2O+K2O)/CaO
min
minimum
Rb^2
max
maximum
log10(Sr)
length
number of elements/cases
mean(SiO2)/10
sum
mean
prod
Data handling I.
Displays a single numeric variable or
a result of a calculation
summary(Rb,na.rm=T)
cbind(SiO2/2,TiO2,Na2O+K2O)
cbind(major)
hist(SiO2,col="red")
boxplot(Rb~factor(groups))
Intermezzo 3:
1.
2.
3.
4.
User-defined list = simple character vector. Currently only a single, standalone user-defined list can be employed as a search criterion
5.
For empty patterns, the correct name(s) has to be selected by mouse click(s)
( Shift Ctrl) from the list of the available variables
Intermezzo 3:
1.
2.
3.
4.
5.
6.
# User-defined list
my.elems<-c("Rb","Sr","Ba")
Search pattern = my.elems
Rb, Sr, Ba
Intermezzo 4:
1.
2.
3.
4.
Intermezzo 4:
1. By sample name
1.
Search pattern = oz
Samples with names Koz, KozD-5, Roz-5
2.
3.
Intermezzo 4:
2. By sample range
In this case the search pattern is treated as a selection of sample sequence numbers
(effectively a list separated by commas that may also contain ranges
expressed by colons).
1.
2.
3.
Intermezzo 4:
3. By Boolean conditions
Patterns may employ variable names and in R
common comparison operators (see Table).
<
lower than
>
greater than
<=
lower or equal to
>=
greater or equal to
equal to
==
!=
not equal to
Intermezzo 4:
3. By Boolean conditions
1.
2.
3.
Data handling I.
Displays specified combination of
numeric variable(s) and/or labels for
selected range of samples.
Data handling I.
Deletes a single numeric variable or
a label.
Data handling I.
Appends an empty numeric data column
or new label to the current data set.
Data handling I.
Simultaneous editing of all labels for
individual samples using a
spreadsheet-like interface.
Data handling I.
Data handling I.
Global replacement of selected discrete
values (levels) for a given label.
Data handling I.
Simultaneous editing of all numeric
data using a spreadsheet-like
interface.
Intermezzo 5:
Regular expressions
Most characters, including letters and digits, are regular expressions that
match themselves.
Intermezzo 5:
Metacharacter
Regular expressions
Matches
Any character
Any instance of x
[ xy]
[ x-y]
x|y
Intermezzo 5:
Regular expressions
Repetition operator
{n}
Exactly n times
{n,}
At least n times
{n,m}
Intermezzo 5:
Search pattern = ol
Coll, Colonsay
Search pattern = ^S
Skye, Sanday, Stronsay
Search pattern = e$
Skye, Tiree
Intermezzo 5:
# Sample names are: Bl-1, Bl-3, Koz-1, Koz-2, Koz-5, Koz-11, KozD-1, Ri-1
Data handling I.
Selecting subsets of the data stored in
memory by searching sample names
or levels of a single label.
Lokalita
Data handling I.
Selecting subsets of the data stored in
memory by their range.
1:5
Data handling I.
Selecting subsets of the current dataset
using Boolean conditions.
Suita=Ricany
Data handling I.
Restores data for all samples in the
same form as they were loaded from
a data file.
Suita
SiO2
52,63
Basic,Intermediate,Acid
Old
Young
Young
Old
Intermezzo 4:
Plotting symbols
Use codes from the table or
single character vectors as
*,B,s
Intermezzo 5:
Plotting colours
NB that only numeric
codes can be used
to specify plotting
colours so far.
34
Calculations
Calculations I.
Computes a single numeric variable and
appends it, under specified name, to
the numeric data in memory.
SiO2/5
My.param
Calculations I.
Adds a formula for a single numeric
variable to the specified R script
(*.r ).
Calculations I.
Recasts the selected data to a fixed sum.
Calculations I.
Calculates millications as used for
many plots of the French school,
e.g. by De la Roche et al. (1980) or
Debon & Le Fort (1983, 1988).
Elementi 1000
Oxidei ( wt.%)
n
MW (Oxidei )
Calculations I.
panel.cov
Prints covariances
panel.smooth
panel.hist
Plots histograms of
frequencies
Calculations III.
Cationic parameters of Niggli (1948).
Various modifications of the CIPW
norm (Hutchison 1974, 1975)
Eine bessere Mesonorm for granitoids
(Mielke & Winkler 1979). If desired,
the Q'-ANOR diagram of Streckeisen
& Le Maitre (1979) is plotted.
Calculations III.
Least-squares approximations of the
mode given major-element
compositions of the rock and its
main mineral constituents.
Calculations III.
Calculations III.
Calculations III.
Various petrochemical indexes, such as:
Calculations III.
Saves the variable results ,
returned by most calculation
algorithms, to a tab-delimited text
(ASCII) file.
Calculations III.
Appends the most recently calculated
values (variable results) to
the numeric data stored in memory,
e.g. for plotting or statistical
evaluation.
Calculations III.
Copies the most recently calculated
results to a clipboard.
Plugin Saturation.r
(Menu Calculations)
Plugin html_tables.r
(Menu Data handling)
(Menu Calculations)
Both functions output the specified data with (optional) labels into HTML. This
format is useful for importing into spreadsheets, word processors or publishing
on the WWW.
The plugin attempts to format sub- and superscripts in the variable names.
Plugin html_tables.r