aRTlayer-createTheme {aRT} | R Documentation

## Create a theme

### Description

Creates a theme and returns it.

### Usage

    ## S4 method for signature 'aRTlayer':
    createTheme(object, themename=summary(object)$layer, tables=NULL, viewname=themename, ID=NULL, attrest="")

### Arguments

`object` | Object of class `aRTlayer`.
`themename` | The theme name. The default is the same name of the layer.
`tables` | The tables from the layer to be joined in the theme. There are some restrictions joining tables, for example the theme can have only one type of temporal table. It can generate errors because the default are all tables of the layer.
`viewname` | The view name. The default is the theme name.
`ID` | A vector of IDs representing a collection of objects to be selected in the theme.
`attrest` | A string with a SQL like restriction of attributes (the where clause)

### Author(s)

Pedro Ribeiro de Andrade

### See Also

See `aRTtheme-class` to the description of this class.

[Package aRT version 1.7-1 Index]