View source: R/measure_directory.R
measure_directory | R Documentation |
measure all images in a directory
measure_directory(
path,
write_images = TRUE,
eye_method = TRUE,
scaling_factor = FALSE
)
path |
path to directory. string. See Details for more info. |
write_images |
write images to png? boolean |
eye_method |
use eye method when possible? boolean |
scaling_factor |
scale measurements to other unit. boolean. See Details for more info |
path must contain images in either png or jpg format. note that subdirectories will be ignored (not recursive). scaling_factor describes how many pixels occur in one other unit. editme!
## Not run:
measure_directory("path/to/directory")
# scale images to other unit
measure_directory("path/to/directory", scaling_factor = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.