Rebase(data,colsobj)

Set a new temporary table (worksheet) and returns a base op.

Syntax

Rebase(data,colsobj)

Arguments

data
A data.frame compatible with colsobj.
colsobj
A list similar to the output of ColsMetaData().
Note: Each call to ReBase() has the side effect of creating a temporary table.

Example

#Example 1:
dat <- Data(ops,table,cols=c('a','b','g'))
cmd <- MakeMetaData(names = c('alpha','beta','gamma'),Ktypes = c(1,2,4))
ops <- ReBase(dat, cmd)

#Example 2:
# In this example the iris data.frame names will be used to create names/labels and
# determine Ktypes.
ops <- ReBase(iris)