Last data update: 2014.03.03

R: Generate a sequence spanning the xlim of a lattice window.
cplxR Documentation

Generate a sequence spanning the xlim of a lattice window.

Description

Generate a sequence of length points spanning the current.panel.limits()$xlim of a lattice window.

Usage

cplx(length)

Arguments

length

Integer number of points.

Value

One-column matrix containing length rows. The first value is the x-value at the left side of the window. The last value is the x-value at the right side of the window. The in between points are evenly spaced.

Author(s)

Richard M. Heiberger <rmh@temple.edu>

See Also

scale

Examples

cplx(11)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(HH)
Loading required package: lattice
Loading required package: grid
Loading required package: latticeExtra
Loading required package: RColorBrewer
Loading required package: multcomp
Loading required package: mvtnorm
Loading required package: survival
Loading required package: TH.data
Loading required package: MASS

Attaching package: 'TH.data'

The following object is masked from 'package:MASS':

    geyser

Loading required package: gridExtra
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/HH/cplx.Rd_%03d_medium.png", width=480, height=480)
> ### Name: cplx
> ### Title: Generate a sequence spanning the xlim of a lattice window.
> ### Aliases: cplx
> ### Keywords: dplot
> 
> ### ** Examples
> 
> cplx(11)
      [,1]
 [1,]    0
 [2,]   48
 [3,]   96
 [4,]  144
 [5,]  192
 [6,]  240
 [7,]  288
 [8,]  336
 [9,]  384
[10,]  432
[11,]  480
attr(,"scaled:center")
[1] 1
attr(,"scaled:scale")
[1] 0.02083333
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>