View source: R/generate_indices.R
generate_indices | R Documentation |
Returns a vector of randomly generated refractive indices from a expected normal distribution of glass fragments.
generate_indices(n = 10, .sd_multi = 1)
n |
Number of refractive indices to generate. |
.sd_multi |
Scale factor of the standard deviation. Greater values imply more variance in the random sample. |
A vector of randomly generated RIs.
test_ris = generate_indices(8) partition(test_ris) test_ris_varied = generate_indices(.sd_multi = 5) partition(test_ris_varied)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.