Description Usage Arguments Details Value Examples
Function to allow table a sample from a Teradata table.
1 |
tdf |
td data frame. |
sizes |
size specification for the sample or samples you'd like to take. |
oTable |
output table name. |
oDatabase |
output database name. |
Function can draw one or more samples from a td data frame table. Sizes can be integer or decimal values under 1. With multiple samples you will get another column called sampleid so you can distinguish. If no output table is specified you will get a data frame with your samples back.
td data frame pointing new sample table.
1 2 3 4 | ## Not run:
td.sample(tdf,1000,"newSample")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.