Skip to content

hscattergram between two different variables

2 messages · facrimas at libero.it, Edzer Pebesma

#
Dear all,


I want to plot the cross hscattergram between two different variables.

I used the following instruction:

hscat(jura.pred$Cd~jura.pred$Zn, jura.pred, c(0, 0.1, 0.2, 0.3, 0.5, 1), 
alpha=c(0,45))

where jura.pred$Cd and jura.pred$Ni are the two variables, but the result 
obtained is the same of the univariate case when I put 1 instead of jura.
pred$Zn.

Can you help me?

Thanks

Cristiano
LC_MONETARY=English_Canada.1252;LC_NUMERIC=C;LC_TIME=English_Canada.1252
5 days later
#
facrimas at libero.it wrote:
This cannot be done with hscat (package gstat), right now. It doesn't
say so explicitly, but from the description:

 formula: specifies the dependent variable

you could have understood that a single dependent variable is considered.

It doesn't seem terribly hard to program, either from scratch or
building upon the sources in package gstat.
--
Edzer