Thank you for all your information.
I got it.

How about estimate each parameters of gwr with R? including, estimate in non sample area?

 
Best Regards,
Lilis Nurul Husna
Institute of Statistics 

Jakarta



________________________________
 Dari: Roger Bivand <Roger.Bivand@nhh.no>
Kepada: Barry Rowlingson <b.rowlingson@lancaster.ac.uk> 

g-geo@r-project.org> 
Dikirim: Senin, 16 Juli 2012 20:29
Judul: Re: [R-sig-Geo] How to get each bandwidth values on observation points using adaptive kernel in spgwr ?

On Mon, 16 Jul 2012, Barry Rowlingson wrote:


wrote:
>> when i run
>>
>>
>> res <- gw.adapt(cbind(columbus$x, columbus$y), cbind(columbus$x,
>> columbus$y), quant=0.5)
>>
>>
>> there is error message
>>
>> Error: could not find function "gw.adapt"
>>
>>
>> why did it happen?
>
> 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!).

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

>
> 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:
>
>> packageDescription("spgwr")$Version
> [1] "0.6-14"
>
> Barry
>

-- 
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand@nhh.no
	[[alternative HTML version deleted]]

