accessVar {GCDkit} | R Documentation |
Loads data already present in memory of R into GCDkit.
accessVar(var = NULL, source.first = TRUE, source.diagrams = TRUE, source.plugins = TRUE, poke.data = TRUE, GUI = FALSE)
var |
numeric matrix, or a text string specifying a name of such a variable to be accessed |
source.first |
logical; should be the GCDkit.r sourced? |
source.diagrams |
logical; should be built the lists of available diagrams? |
source.plugins |
logical; should be all the plugins sourced? |
poke.data |
logical; should the dataset be stored in the WRCube? |
GUI |
logical; is the function called from GUI (or from the command line)? |
This function enables accessing a variable already present in R.
The variable is a numeric matrix or dataframe that can be either passed
directly, or referred to by its name.
Typically is the function accessVar
used to access sample data sets,
previously made available using the command data
. See Examples.
If source.diagrams = TRUE
, then two lists of applicable diagrams
are built (based on data present in the current dataset),
claslist
and tectlist
.
WR |
numeric matrix: all numeric data |
labels |
data frame: all at least partly character fields;
|
The function prints a short summary about the attached data.
It also loads and executes the Plugins, i.e. all the R code that
is currently stored in the subdirectory '\Plugin
'.
Vojtěch Janoušek, vojtech.janousek@geology.cz
data(swiss) accessVar(swiss) binary("Catholic","Education") data(sazava) accessVar("sazava") binary("SiO2","Ba")