stripless-internal: Unexported Utility and xyLayout Functions

Description Usage Arguments Details Value See Also

Description

Unexported functions not intended to be directly called by users.

For xyLayout: Unexported generic and methods used by strucplot to create, check and/or fix a xyLayout list.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
check2lvl(d, sep = ".")

make_2level_with_center(lvls, sep = ".")

makeSpacings(spacings, levelLength)

chkSpacings(spacings)

xyLayout(xylay, ...)

## S3 method for class 'list'
xyLayout(xylay = list(),
  n = stop("Number of conditioning factors is missing"))

## S3 method for class 'matrix'
xyLayout(xylay, n)

## S3 method for class 'data.frame'
xyLayout(xylay, n)

## Default S3 method:
xyLayout(..., n)

Arguments

d

Condition list from strucParseFormula to be checked to see if it represents a 2 level design with center point.

sep

sep argument for paste().

lvls

A list of length 3 character vectors that are the level names of factors in a design to be checked.

spacings

A non-decreasing vector of positive values

levelLength

An integer vector giving the number of levels per factor at each level of the plotting hierarchy

xylay

An appropriate list, matrix, or vector for determining the plot structure. Can also be missing, length 0, etc.

n

The number of conditioning factors. The integers in the combined list that is created will be a permutation of 1, 2, ... ,n .

...

x and/or y vector for xylay list. The remaining component will be constructed as needed.

Details

Brief utility function descriptions:

check2lvl

Checks for a 2 level design with center point

make_2level_with_center

Makes a 2 level design with center point to compare to a fraction of a 3^n design

chkSpacings

Checks and constructs proper spacings list if possible

makeSpacings

Constructs a vector of spacings values for the "between" argument of xyplot

xyLayout: The various methods provide convenience and flexibility for specifying the xyLayout list argument that controls the format of strucplot displays. Essentially any sensible way of specifying xyLayout should work. See the Help page for strucplot for details.

Value

For xyLayout: a list of class "xyLayout" suitable for the xyLayout argument of strucplot.

See Also

strucplot


stripless documentation built on May 2, 2019, 10:59 a.m.