Skip to content

How to get each bandwidth values on observation points using adaptive kernel in spgwr ?

3 messages · Barry Rowlingson, Roger Bivand, Lilis Husna

#
On Mon, Jul 16, 2012 at 10:36 AM, Lilis Husna <lily_franknich at yahoo.com> wrote:
Who told you about gw.adapt?

 It seems to now be not exported from the spgwr package, but the help
page is still there (Roger: is that a bug? Either you've missed it out
of the exports or you've left in the .Rd file!).

 If you want to use it you can use the triple-colon notation to get an
unexported function from a package:

res = spgwr:::gw.adapt(cbind(columbus$x,columbus$y),cbind(columbus$x,columbus$y),quant=0.5)

 Roger may have removed it for a good reason, and possibly put the
functionality into another function. But the quick fix would be the
triple-colon trick.

 It's also useful if you give package versions with your questions -
here's mine:
[1] "0.6-14"

Barry
#
On Mon, 16 Jul 2012, Barry Rowlingson wrote:

            
I hadn't intended to export it since I cannot see that users need to use 
it directly, but forgot to remove the help file. I've committed gw.adapt 
in the NAMESPACE to R-Forge, and it will be exposed (since a user wants 
it) in the next release, or installing from R-Forge directly. For the 
currently released package, follow Barry's advice and use the spgwr::: 
prefix.

Roger

  
    
2 days later