Plot the semi-variogram in a gv object. If a multiple genetic distances are found, it plots the median value and the 95% confidence interval for the median.

1 2 3 |

`x` |
'gv' object as given by 'gen.variogram'. |

`line.res` |
Number of points in the model line. |

`pch` |
Symbol to be used in the plot. |

`legend` |
Boolean indicating if a legend showing |

`leg.x` |
The x position for the legend. The legend will be placed at the right side of the plot if this value is set to NA. |

`leg.y` |
The y position for the legned. The legend will be placed at the bottom of the plot if this value is set to NA. |

`leg.cex` |
Multiplication factor for the legend symbol size. |

`...` |
Further plotting arguments to be passed. |

Simple plot of the semi-variogram contained in a 'gv' object. If the object has a model, the model line is also plotted.

Plot.

Pedro Tarroso <ptarroso@cibio.up.pt>

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ```
data(vipers)
data(d.gen)
# create a distance matrix between samples
r.dist <- dist(vipers[,1:2])
# fit a variogram with defaults (shperical model) and estimation of range
gv <- gen.variogram(r.dist, d.gen, 0.25)
#plot semi-variogram
plot(gv)
# plot semi-variogram with model
gv <- gv.model(gv)
plot(gv)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.