Point with error bars

pt_error( x, y, SE, pch, bg, ln.col, ln.lwd, cex = 1, pt.lwd = 0.5, pt.lty = 1, pt.col = "black", length = 0.07 )

x | x-value |
---|---|

y | y-value (or mean) |

SE | standard error |

pch | plotting ‘character’, i.e., symbol to use. see points() |

bg | background (fill) color for the open plot symbols given by pch = 21:25. see points() |

ln.col | color of error bar lines |

ln.lwd | width of error bar lines |

cex | size of point |

pt.lwd | line width of points |

pt.lty | line type for points |

pt.col | color of point |

length | length of the edges of the error bar head (in inches). |

draws lines in the form of error bars

see arrows() and errorbars() functions

pt_error(x.val,mean.val,se.val,21,"dodgerblue1","grey",2,cex=2)