Commit f68418d
Improve variogram docs, deduplicate point implementation, and update vignette (#1132)
* Improve variogram docs and deduplicate point implementation
- Have variogram_score_multivariate_point() delegate to
variogram_score_multivariate() with w = NULL instead of
reimplementing the same loop
- Use @inheritParams and @inherit to consolidate roxygen docs
across the sample and point variogram functions
- Improve parameter docs for w (fix dat -> predicted reference),
w_vs (explain pairwise weighting), and p
- Add proper descriptions, @return, and @references to
energy_score_multivariate()
- Fix energy score keyword from internal_input_check to metric
Closes #1118, closes #1124
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Update multivariate vignette with variogram score and point forecasts
- Add section on variogram score alongside energy score with
explanation of what each measures
- Show how to customise variogram parameters via purrr::partial()
- Add multivariate point forecast section using
as_forecast_multivariate_point()
- Add variogram score examples to the matrix-based section,
including weight matrix (w_vs) and order parameter (p)
Closes #1116
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Flesh out variogram score explanation in docs and vignette
- Explain what the variogram score measures in concrete terms
(pairwise differences between targets, not abstract dimensions)
- Improve p parameter docs to explain how it scales differences
- Use "targets" instead of "dimensions" throughout for clarity
- Add note on p parameter and link to docs in vignette
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Flesh out variogram score explanation in roxygen
- Explain what the score measures in concrete terms (pairwise
differences between targets, not abstract dimensions)
- Improve p parameter docs to explain how it scales differences
- Use "targets" instead of "dimensions" throughout for clarity
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Reorder vignette text: customisation intro before p explanation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Remove matrix-based scoringRules comparison section from vignette
The section compared scoringutils wrappers against raw
scoringRules calls, which is an implementation detail that
doesn't help users. The vignette now focuses on the
scoringutils API via score().
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Mention mv_group_id grouping in score function descriptions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Sam Abbott <contact@samabbott.co.uk>1 parent e6e6bda commit f68418d
File tree
6 files changed
+180
-129
lines changed- R
- man
- vignettes
6 files changed
+180
-129
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 14 | | |
20 | 15 | | |
21 | 16 | | |
| |||
27 | 22 | | |
28 | 23 | | |
29 | 24 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
44 | 33 | | |
45 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | | - | |
38 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
39 | 54 | | |
40 | 55 | | |
41 | 56 | | |
| |||
54 | 69 | | |
55 | 70 | | |
56 | 71 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
62 | 83 | | |
63 | 84 | | |
64 | 85 | | |
65 | 86 | | |
66 | 87 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
72 | 101 | | |
73 | 102 | | |
74 | 103 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
117 | 97 | | |
118 | 98 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
130 | 107 | | |
131 | | - | |
132 | 108 | | |
133 | 109 | | |
134 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
135 | 114 | | |
136 | 115 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
151 | 123 | | |
152 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
153 | 129 | | |
| 130 | + | |
| 131 | + | |
0 commit comments