https://github.com/cran/lattice
Raw File
Tip revision: e8f83ed8e960c178e20c4368e0b78fae8bc7c142 authored by Deepayan Sarkar on 17 April 2006, 00:00:00 UTC
version 0.13-8
Tip revision: e8f83ed
NAMESPACE


useDynLib(lattice, .registration = TRUE)

import(grid)


## ## can I do this?
## export(grid.prompt)


importFrom(grDevices, dev.list, cm.colors, gray, heat.colors)
importFrom(graphics, plot, co.intervals)


importFrom(stats, as.formula, density, fitted.values, loess.smooth,
           median, ppoints, qnorm, residuals, update)


export(

       ## high level generics:

       histogram,
       densityplot,
       qqmath,
       qq,
       bwplot,
       dotplot,
       barchart,
       stripplot,
       xyplot,
       contourplot,
       levelplot,
       cloud,
       wireframe,
       splom,
       parallel,
       tmd,

       rfs,
       oneway,

       ## default panel functions

       panel.histogram,
       panel.densityplot,
       panel.qqmath,
       panel.qq,
       panel.bwplot,
       panel.dotplot,
       panel.barchart,
       panel.stripplot,
       panel.xyplot,
       panel.contourplot,
       panel.levelplot,
       panel.cloud,       panel.3dscatter, 
       panel.wireframe,   panel.3dwire,
       panel.pairs,
       panel.splom,       diag.panel.splom,
       panel.parallel,
       panel.tmd.default, panel.tmd.qqmath,
       
       ## Components for use in custom panel functions:

       ## superposition (usually unnecessary)

       panel.superpose,
       panel.superpose.2,
       
       ## data-driven (usually summary of some sort)

       panel.violin,
       panel.rug,
       panel.linejoin,
       panel.lmline,
       panel.loess,
       panel.qqmathline,

       ## decorative / adds reference

       panel.abline,
       panel.curve,
       panel.fill,
       panel.grid,
       panel.mathdensity,
       panel.axis,


       


       ## replacements for low level standard graphics functions

       lplot.xy,
       llines,    panel.lines,
       lpoints,   panel.points,
       lsegments, panel.segments,
       ltext,     panel.arrows,
       lrect,     panel.text,
       larrows,   panel.rect,
       lpolygon,  panel.polygon,


       ## useful prepanel functions

       prepanel.tmd.default, prepanel.tmd.qqmath,
       prepanel.lmline,
       prepanel.loess,
       prepanel.qqmathline,


       ## shingles 

       shingle,
       is.shingle,
       as.shingle, 
       as.factorOrShingle,
       equal.count,

### construct.scales,


       draw.colorkey,
       draw.key,
       simpleKey, 
       latticeParseFormula,

       ## 3D utilities

       ltransform3dMatrix,
       ltransform3dto3d,

       ## miscellaneous utilities

       strip.default,
       strip.custom,

       do.breaks,
       make.groups,
       banking, 
       Rows,

       ## settings 

       show.settings,
       trellis.device,
       trellis.par.get,
       trellis.par.set,
       lattice.getOption,
       lattice.options,
       canonical.theme,
       col.whitebg,
       


       ## interaction etc
       
       panel.identify,
       trellis.currentLayout,
       trellis.focus,
       trellis.unfocus,
       trellis.switchFocus,
       trellis.panelArgs,
       trellis.vpname,
       trellis.grobname,
       current.panel.limits,

       trellis.last.object


       )


## methods related to shingles

S3method("[",           shingle)
S3method(as.data.frame, shingle)
S3method(plot,          shingle)
S3method(print,         shingle)
S3method(summary,       shingle)
S3method(as.character,  shingleLevel)
S3method(print,         shingleLevel)

## methods for ``trellis'' objects (see also tmd below)

S3method(print,    trellis)
S3method(plot,     trellis)
S3method(update,   trellis)
S3method(dim,      trellis)
S3method(dimnames, trellis)
S3method("[",      trellis)
S3method(t,        trellis)
S3method(summary,  trellis)
S3method(print,    summary.trellis)


## methods for high level functions

S3method(barchart,    formula)
S3method(barchart,    array)
S3method(barchart,    default)
S3method(barchart,    matrix)
S3method(barchart,    numeric)
S3method(barchart,    table)

S3method(bwplot,      formula)
S3method(bwplot,      numeric)
S3method(densityplot, formula)
S3method(densityplot, numeric)
S3method(dotplot,     formula)
S3method(dotplot,     array)
S3method(dotplot,     default)
S3method(dotplot,     matrix)
S3method(dotplot,     numeric)
S3method(dotplot,     table)
S3method(histogram,   formula)
S3method(histogram,   factor)
S3method(histogram,   numeric)
S3method(qqmath,      formula)
S3method(qqmath,      numeric)
S3method(stripplot,   formula)
S3method(stripplot,   numeric)
S3method(qq,          formula)
S3method(xyplot,      formula)
S3method(levelplot,   formula)
S3method(levelplot,   matrix)
S3method(contourplot, formula)
S3method(contourplot, matrix)
S3method(cloud,       formula)
S3method(cloud,       matrix)
S3method(wireframe,   formula)
S3method(wireframe,   matrix)
S3method(splom,       formula)
S3method(splom,       data.frame)
S3method(parallel,    formula)
S3method(parallel,    data.frame)

S3method(tmd,         formula)
S3method(tmd,         trellis)


### Local variables:
### mode: R
### End:
back to top