Description Usage Arguments Value Examples
Output a weighted random sample of documents. Documents weighted by their length.
1 | sample_docs(ocr_dir = NULL, output_dir = NULL, nsamp = NULL)
|
ocr_dir |
path to folder containing OCRd documents; required |
output_dir |
path to folder containing sampled OCRd documents; required |
nsamp |
number of sampled files; required |
a vector of names of the sampled files. It also creates a directory with sampled files
1 2 3 4 | ## Not run:
sample_docs(ocr_dir="path_to_ocr_dir", output_dir = "path_to_output_dir_with_sample_docs")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.