Description Usage Arguments Value References Examples
View source: R/objective_functions.R
rwp
computes the difference between a measured and fitted pattern. See
equation for Rwp in section 2.1 of Butler and Hillier (2021).
1 |
measured |
a vector of count intensities for a measured pattern |
fitted |
a vector of count intensities for a fitted pattern |
weighting |
an optional weighting vector of the same length as those specified
in |
a single numeric value
Butler, B.M., Hillier, S., 2021. powdR: An R package for quantitative mineralogy using full pattern summation of X-ray powder diffraction data. Computers and Geosciences. 147, 104662. doi:10.1016/j.cageo.2020.104662
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.