compute<- | R Documentation |
Dasst
.compute<-
computes an expression using the columns
of the object of class Dasst
.
x |
An object of class |
cocol |
A character string. The name of the new column field. |
value |
A character string. An expression to compute within column fields. |
This method computes an expression taking the values
recorded on each column field used in the expression
belonging to the object of class
Dasst
. The result is stored as a new
column table.
So far, the new column will not be saved if the write method is invoked.
The actual object of class Dasst
.
data(plantGrowth) compute(plantGrowth, "date_YEAR_DOY") <- "as.Date(paste(YEAR, DOY, sep=\"\"), format=\"%Y%j\")"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.