Before messing with lgcp I'd look at spatstat - lgcp is more intended for
relative risk calculations where you have "cases" and "controls", and also
for
space-time data.
spatstat seems to have functions for fitting (and simulating) LGCPs to
point patterns so I think that might be what you are after...
Barry
On Tue, Feb 9, 2021 at 8:18 PM Edzer Pebesma <
edzer.pebesma at uni-muenster.de> wrote:
A way out of this may be to make a local copy of the lgcp sources,
remove the rpanel dependency from DESCRIPTION, and install it from
there. You won't get the functions that need rpanel, but those might not
be essential.
On 09/02/2021 20:09, Manuel Sp?nola wrote:
Thank you very much Edzer.
I tried to install lgcp, but I got an error message regarding BWidget.
I think that Bwidget is an external software and I don't know how to
install it in MacOS (Big Sur 11.2).
Manuel
This is the error that I get when trying to install lgcp in R 4.0.3:
xcrun: error: invalid active developer path
(/Library/Developer/CommandLineTools), missing xcrun at:
/Library/Developer/CommandLineTools/usr/bin/xcrun
Warning message:
In system2("/usr/bin/otool", c("-L", shQuote(DSO)), stdout = TRUE) :
running command ''/usr/bin/otool' -L
'/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so''
had
status 1
Error in structure(.External(.C_dotTcl, ...), class = "tclObj") :
[tcl] can't find package BWidget.
Error: unable to load R code in package ?rpanel?
Execution halted
El mar, 9 feb 2021 a las 12:51, Edzer Pebesma
(<edzer.pebesma at uni-muenster.de <mailto:edzer.pebesma at uni-muenster.de>>)
escribi?:
Have you tried package lgcp?
On 09/02/2021 17:26, Manuel Sp?nola wrote:
> Dear list members,
>
> I would like to know of any R package that can be used for
> distribution with presence-only data using log-Gaussian Cox