Description Usage Arguments Details Value Author(s) See Also Examples
Given a call to a plot function, return the data coordinates.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | plotCoords(name, object, call, envir, ...)
## Default S3 method:
plotCoords(name, object, call, envir, data, panel.args, ...)
## S3 method for class 'qqnorm'
plotCoords(name, object, call, envir, ...)
## S3 method for class 'qqplot'
plotCoords(name, object, call, envir, ...)
plotCoords.plot(name, object, call, envir, ...)
## Default S3 method:
plotCoords.plot(name, object, call, envir, data, ...)
## S3 method for class 'dendrogram'
plotCoords.plot(name, object, call, envir, ...)
## S3 method for class 'mca'
plotCoords.plot(name, object, call, envir, ...)
plotCoords.biplot(name, object, call, envir, ...)
## Default S3 method:
plotCoords.biplot(name, object, call, envir, ...)
## S3 method for class 'prcomp'
plotCoords.biplot(name, object, call, envir, ...)
## S3 method for class 'princomp'
plotCoords.biplot(name, object, call, envir, ...)
## S3 method for class 'qqmath'
plotCoords(name, object, call, envir, panel.args, ...)
## S3 method for class 'cloud'
plotCoords(name, object, call, envir, panel.args, ...)
## S3 method for class 'parallel'
plotCoords(name, object, call, envir, panel.args, ...)
## S3 method for class 'splom'
plotCoords(name, object, call, envir, panel.args,
    packet, ...)
 | 
| name | The class of this object is the name of the plot function. Hence methods can be defined for different plot functions. | 
| object | the object passed as first argument to the plot call. | 
| call | the plot call. | 
| envir | environment containing objects referenced by the call. Call arguments should be evaluated in this environment. | 
| panel.args | passed for Lattice plots only: panel arguments for the relevant panel. | 
| packet |  passed for Lattice plots only: packet number for which
to return data (corresponds to  | 
| data |  passed for non-Lattice plots only: a "data" argument, or NULL,
to be used in evaluating call arguments (in addition to  | 
| ... | ignored. | 
None yet...
a list with components:
| x, y | data point coordinates (in native panel / user coordinates). | 
| subscripts | (optional) data point subscripts. | 
Felix Andrews felix@nfrac.org
| 1 2 3 4 5 6 7 | ## Note, these are not designed to be called directly;
## they are used internally in playwith().
## But for demonstration purposes:
pargs <- trellis.panelArgs(qqmath(rnorm(20)), packet = 1)
plotCoords(structure("qqmath", class = "qqmath"),
           call = quote(qqmath(rnorm(20))), envir = new.env(),
           panel.args = pargs)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.