Hi Eduardo,
You should try using the IAEA isoscape (Thanks Len!), but the issue is that you won't be able to perform an assignment on it that accounts for several important sources of uncertainty.
Since IsoriX is not just using the mean isoscape but also the prediction variance of the isoscape, the prediction covariances..., it should capture those uncertainties properly.
On the other hand, for now at least, you cannot include many predictors in IsoriX to get a very tailored isoscape which IAEA may offer.
As usual, I would recommend you to try and compare many options available out there.
If you get the same results, then you will feel confident that your results are true, which should be a must in forensic.
If you don't get the same results, comparing the results should point toward the assumptions that make a big difference and you will have learned something about your system.
Now the core question: how to do precipitation amount weighted isoscapes in IsoriX.
You have 2 options:
1). create one isoscape per month and then aggregate these isoscapes in a way that accounts for monthly precipitation amounts.
This is what is described and done in the example of the function isomultiscape() in IsoriX.
My feeling is that this way is superior to option 2 although it has never been investigated properly.
The benefits are that all is already coded in IsoriX: you would use the functions prepcipitate(), isomultifit() & isomultiscape().
The big drawback is that you cannot do calibrations based on such isoscapes (it is tricky and I have not yet coded it).
So that means that either you would need to do the calibration yourself, which means that you will probably won't be able to propagate the full uncertainty from the isoscape into the calibration and assignments.
Or you have to build an isoscape directly on coffee/soybean... from known origins instead of precipitation water.
2). follow the usual workflow but bypass the very first step: prepsources() and instead prepare by hand a dataset similarly as those produce by this function, e.g.:
source_ID mean_source_value var_source_value n_source_value lat long elev
1 ARKONA -60.99231 247.8767 134 54.67 13.43 42
2 ARTERN -61.00653 510.5720 199 51.37 11.29 164
You would need to prepare it by hand because when computing mean_source_value and var_source_value, instead of doing a simple mean and variance, you would do a precipitation weighted mean and variance.
I could modify prepsources() to do that automatically, but I have not so far.
To compute the weighted means, you just need to use the native R function weighted.mean(x, w, ...).
To compute the weighted variance, you could simply use the function Hmisc::wtd.var(), check the help as there are different methods and options you could use.
I would either use normwt = TRUE or method = "ML" and I don't think it should make much difference.
So with this option you do need to perform a little bit of data preparation, but then everything should be easy.
Again, ideally, do both and compare :-)
If you don't know how to implement some suggestions, feel free to ask for more details, but that should hopefully already point you in the right direction.
Best,
Alex