Description Usage Arguments Value Author(s) References See Also Examples
View source: R/GetSampleFromDb.R
Access a database table directly. Return a data.frame whose rows are the sample.
1 | GetSampleFromDb(n, db)
|
n |
numeric, size of sample to be taken. |
db |
connection, connection to the database table containing the data. |
data.frame, size n random subset of the rows of filename
Stephen R. Haptonstahl srh@haptonstahl.org
https://github.com/shaptonstahl/
ScalablePCA
,
GetSampleFromDataFrame
,
GetSampleFromFile
1 | ## Not run: x <- dils:::GetSampleFromDb(10, my.db)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.