Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/plot.gv_WITHMULTI.R View source: R/plot.gv.R

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)
``` |

phylin documentation built on May 19, 2017, 7 p.m.

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

Please suggest features or report bugs in the GitHub issue tracker.

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.