accessVar {GCDkit}R Documentation

Accessing data in memory of R

Description

Loads data already present in memory of R into GCDkit.

Usage

    accessVar(var=NULL,GUI=FALSE)

Arguments

var

a text string specifying the variable to be accessed

GUI

logical; is the function called from GUI (or from the command line)?

Details

This function makes possible to access a variable, already present in R, most importantly the sample data sets. Firstly these need to be made available using the command data.

Value

WR

numeric matrix: all numeric data

labels

data frame: all at least partly character fields; labels$Symbol contains plotting symbols and labels$Colour the plotting colours

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'.

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz

Examples

    data(swiss)
    accessVar("swiss")
    binary("Catholic","Education")

    data(sazava)
    accessVar("sazava")
    binary("SiO2","Ba")

[Package GCDkit version 4.1 Index]