Learn R Programming

epade (version 0.2.2)

curves.ade: Curves

Description

Draw points and a line between the points

Usage

curves.ade(x, y=NULL, group=NULL, data=NULL, vnames=NULL,
          main=NULL, xlab=NULL, ylab=NULL, legendon="topright",
          xlim=NULL, ylim=NULL, lwd=1, lwd2=1, cex=1, pch=16,
          lty=1, lty2=2, col=NULL, xticks=NULL, yticks=NULL,
          tcol=NULL, bgcol=NULL, alpha=NULL, fitline=0,
          wall=0, v=NULL, h=NULL, diag=F, points=T)

Arguments

x
  • a numeric vector of x coordinates for the points
a string with the name of the variable in the data.frame a formula y~x or y~x+group

item

  • y
  • a string with the name of the variable in the data.frame
  • a formula y~x or y~x+group
  • group
  • a character string with the name of the group variable in the data.frame
  • data
  • vnames
  • main
  • xlab
  • ylab
  • legendon
  • "bottom"
  • "bottomleft"
  • "left"
  • "topleft"
  • "top"
  • "topright"
  • "right"
  • "center"
  • xlim
  • ylim
  • lwd
  • lwd2
  • cex
  • pch
  • lty
  • lty2
  • col
  • xticks
  • yticks
  • tcol
  • bgcol
  • alpha
  • fitline
  • 1. a lm regression line
  • 2. a loess local regression line
  • 3. a pylinomial regression line
  • wall
  • v
  • h
  • diag
  • points

itemize

  • 0. not fit

Details

It is only a wrapper function for scatter.ade.

See Also

scatter.ade

Examples

Run this code
x<-  -100:100
curves.ade(x, x^2, points=FALSE)

Run the code above in your browser using DataLab