cbind2,Templates,ANY-method | R Documentation |
S4 cbind function for Templates data frame.
S4 rbind function for templates.
Slicing of Templates data frame object.
Set a column in a Templates data frame.
## S4 method for signature 'Templates,ANY'
cbind2(x, y, ...)
## S4 method for signature 'Templates,ANY'
rbind2(x, y, ...)
## S4 method for signature 'Templates,ANY'
x[i, j, ..., drop = TRUE]
## S4 replacement method for signature 'Templates'
x$name <- value
x |
The Template data frame. |
y |
Another data frame. |
... |
Other arguments to the slice operator. |
i |
The row index. |
j |
The column index. |
drop |
Simplify data frame? |
name |
The name of the column. |
value |
The values of the column. |
Cbinded template data frame.
Rbinded template data frame.
Subsetted template data frame.
Templates with replaced column.
data(Ippolito)
template.df <- cbind2(template.df, seq_len(nrow(template.df)))
data(Ippolito)
template.df <- rbind2(template.df, template.df)
data(Ippolito)
template.df <- template.df[1:2,]
data(Ippolito)
template.df$ID[1] <- "newID"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.