printSingle {GCDkit}R Documentation

Display a variable

Description

Displays a single numeric variable or a result of a calculation.

Usage

printSingle(default="")

Arguments

default

character: list of default column names, separated by commas.

Details

The variable to be printed is selected using the function 'selectColumnLabel'. In the specification of the variable can be used also arithmetic expressions, see calcCore for the correct syntax.

In the specification of the variable can be used also arithmetic expressions, see calcCore for the correct syntax.

Value

results

numerical vector/matrix with the results

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz

Examples

## Not run:         
# examples of valid formulae....
(Na2O+K2O)/CaO
Rb^2
log10(Sr)
mean(SiO2)/10

# ... but this command is in fact a simple R shell - 
# meaning lots of fun for power users!
summary(Rb,na.rm=TRUE)
cbind(SiO2/2,TiO2,Na2O+K2O)
cbind(major) 
hist(SiO2,col="red")
boxplot(Rb~factor(groups))

# possibilities are endless
plot(Rb,Sr,col="blue",pch="+",xlab="Rb (ppm)",ylab="Sr (ppm)",log="xy")

## End(Not run)

[Package GCDkit version 4.1 Index]