[R-sig-Geo] spgwr's gwr.whole.test's error on rw1090

Danlin Yu danlinyu at csd.uwm.edu
Tue May 18 21:30:50 CEST 2004


Hi, Hisaji ONO:

    I think the error message actually just indicates that the function
print.coefmat() that has been called in the gwr.whole.test() is no longer
part of R (you can find this infomation by using ?Defunct in R).
    From the ?Defunct you can also find that the print.coefmat() function
is an older name for 'printCoefmat' with a different default for
'na.print'. I therefore replaced all the print.coefmat in the source code
of spgwr with printCoefmat, and the program gives the correct responses. 
    Wish this help.

On Wed, 19 May 2004, Hisaji ONO wrote:

> Hello.
> 
>  I've tried to run example(gwr.whole.test).
> 
>  I've got following errors.
> 
> gwr.whole.test(col.gauss)
> Loading required package: ctest
> Test of GWR model called as:
> gwr(formula = crime ~ income + housing, data = columbus, coords =
> cbind(columbus$x,
>     columbus$y), bandwidth = col.bw)
> 
>         Shapiro-Wilk normality test
> 
> data:  crime
> W = 0.9722, p-value = 0.2956
> 
> Brunsdon, Fotheringham & Charlton (1999) ANOVA table
> Error: 'print.coefmat' is defunct.
> See ?Defunct.
> In addition: Warning messages:
> 1: package 'mva' has been merged into 'stats'
> 2: NA/Inf replaced by maximum positive value
> 3: package 'ctest' has been merged into 'stats'
> 
>  Could you teach me how to resolve this?
> 
>  Regards.
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-geo
> 

    Sincerely,
    Danlin Yu

----------------------------------
Ph.D. Candidate
Department of Geography
University of Wisconsin, Milwaukee
Tel: (414)229-5818
Fax: (414)229-3981
Email: danlinyu at uwm.edu




More information about the R-sig-Geo mailing list