I have the following code where I fit a variogram using gstat.

vA = variogram(dep_var~elevation=x+y, data, cressie=TRUE)
vmodel = vgm("Sph")
vB = fit.variogram(vA,vmodel)

How can I get the nugget parameter from the 'vB' variable?

I am using vB$psill[1] as the nugget but it is large.

closed as unclear what you're asking by Spacedman, whyzar, BERA, Kersten, aldo_tapia Nov 16 '17 at 10:16

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • We need some more details - what value is it? why do you think its too large? what does the variogram plot look like? – Spacedman Nov 15 '17 at 23:02

Browse other questions tagged or ask your own question.