[R-pkg-devel] Warning from dependencies: 'fields::fastTpsMLE'
Jin Li
j|n||68 @end|ng |rom gm@||@com
Thu Mar 3 05:53:32 CET 2022
Many thanks, Michael.
The `fastTpsMLE` was used to estimate `lambda` for `Tps` as below:
library(fields); library(spm); data(petrel)
x=petrel[, c(1,2)]; y=petrel[, 5]; theta = 3
lambda <- fields::fastTpsMLE(x, y, theta = theta)$lambda.best
lambda
[1] 0.9875504
I have just updated the `fields` package. However, `lambda` is not reported
by `fastTps`. But I need an estimate of `lamda` for `Tps`. Is there a
solution for this?
Best,
Jin
On Thu, Mar 3, 2022 at 2:35 AM Michael Barr <mike using bikeactuary.com> wrote:
> fastTpsMLE is not in the current version of fields - latest version I see
> with it is 11.x. 12.x onward you use fastTps() and can specify REML=TRUE
> for the estimator. You are probably using 12.x and looking at older
> documentation. A quick glance at the older source for fastTpsMLE and I
> think that they were actually using REML in practice (holding some
> parameters fixed, optimizing others).
> ------------------------------
> *From:* R-package-devel <r-package-devel-bounces using r-project.org> on behalf
> of Ivan Krylov <krylov.r00t using gmail.com>
> *Sent:* Wednesday, March 2, 2022 9:58 AM
> *To:* Jin Li <jinli68 using gmail.com>
> *Cc:* r-package-devel using r-project.org <r-package-devel using r-project.org>
> *Subject:* Re: [R-pkg-devel] Warning from dependencies:
> 'fields::fastTpsMLE'
>
> On Wed, 2 Mar 2022 15:04:51 +1100
> Jin Li <jinli68 using gmail.com> wrote:
>
> > Missing or unexported object: 'fields::fastTpsMLE'
>
> The current CRAN version of fields doesn't seem to have "fastTpsMLE" in
> its documentation:
> https://cran.r-project.org/web/packages/fields/fields.pdf
>
> I also can't seem to find fastTpsMLE in the GitHub repo of the package:
> https://github.com/dnychka/fieldsRPackage/search?q=fastTpsMLE
>
> Which version of fields do you have installed?
>
> --
> Best regards,
> Ivan
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
--
Jin
------------------------------------------
Jin Li, PhD
Founder, Data2action, Australia
https://www.researchgate.net/profile/Jin_Li32
https://scholar.google.com/citations?user=Jeot53EAAAAJ&hl=en
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list