Description Usage Arguments Details Value Examples
Allow manipulation and extraction of a td data frame.
1 2 | ## S3 method for class 'td.data.frame'
x[i, j]
|
x |
td data frame. |
i |
element to extract |
j |
element to extract |
This overloaded function operates almost exactly like a data frame extract. It can be used to reduce the number of columns by using the index values. One noticeable difference is that a td data frame has no actual data in the client. This means that row operations don't extract certain rows like a data frame object. You must use td.sample if you wish to alter table sizes.
td data frame of new column dimensions.
1 2 3 4 5 | ## Not run:
tdf[3] #returns td data frame with just column 3
tdf["age"] #returns td data frame with column age
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.