It probably means that your data is not in the right format. PLEASE do
read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
If you show the data, it might help. It sounds like something is
empty, but it is hard to tell what from the information provided.
On Thu, Oct 8, 2009 at 9:07 AM, JRE <AKunick at gmx.de>
wrote:>
> Hello everybody,
> I want to run the following R-code, but it does'nt work.
>
>
>> res.vgm = variogram(ertrag ~ rep, # !!!
> + ? ? ? ? ? ? ? ? ? ? loc = ~ xpos + ypos, # !!!
> + ? ? ? ? ? ? ? ? ? ? width = start.range / 10,
> + ? ? ? ? ? ? ? ? ? ? data = d)
> Error in vector("double", length) : element 2 is empty;
> ? the part of the args list of '.Internal' being evaluated was:
> ? (mode, length)
>
> What does the error message mean?
>
> Many thanks for your help!
>
> JRE
>
>
> --
> View this message in context:
http://www.nabble.com/variogram-tp25802976p25802976.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem that you are trying to solve?