Learn R Programming

IsoCheck (version 0.1.0)

is.star: Boolean check for a proper Star

Description

Checks whether or not the input is a proper balanced covering star of PG(n-1,2).

Usage

is.star(star, printstatements = TRUE)

Arguments

star

A balanced covering star of PG(n-1,2) stored as a three dimensional binary array (see Details and Examples of checkSpreadEquivalence).

printstatements

A Boolean indicating whether or not to print possible reasons for not being a star if the input is not a balanced covering star.

Value

A Boolean indicating whether or not the input is a star.

Details

Checks whether or not the input is a proper balanced covering star of PG(n-1,2). The star should be formatted as a 3-dimensional array with star[i,j,k] indicating whether or not the ith basic factor is present in the jth effect of the kth flat of star. See Spencer et al. (2019) for details.

References

Spencer, N.A., Ranjan, P., and Mendivil, F., (2019), "Isomorphism Check for \(2^n\) Factorial Designs with Randomization Restrictions", Journal of Statistical Theory and Practice, 13(60),1-24 [https://doi.org/10.1007/s42519-019-0064-5]

See Also

is.spread for checking if the input is a balanced spread. checkSpreadIsomorphism for checking the isomorphism of balanced spreads. checkStarIsomorphism for checking the isomorphism of balanced covering stars.

Examples

Run this code
# NOT RUN {
## Example 1: checking whether "spreadn4t2a" is a proper star
data(spreadn4t2a)
is.star(spreadn4t2a)



## Example 2: checking whether "starn5t3a" is a proper star
data(starn5t3a)
is.star(starn5t3a)
# }

Run the code above in your browser using DataLab