best_swaps | R Documentation |
swaps
parameter for Robin Hood detrending.Use Nolan's algorithm to find the ideal swaps
parameter for Robin Hood
detrending.
best_swaps(img, quick = FALSE)
img |
A 4-dimensional array in the style of an
ijtiff_img (indexed by |
quick |
If |
A natural number. The ideal swaps
parameter for boxcar detrending.
If there are multiple channels, the function returns a vector, one swaps
parameter for each channel.
## Not run: ## These examples are not run on CRAN because they take too long. ## You can still try them for yourself. img <- ijtiff::read_tif(system.file("extdata", "bleached.tif", package = "detrendr" )) best_swaps(img) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.