Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/mainfunctions.R

This function computes a bitstring representation for a spread or star of `PG(n-1,2)`

1 | ```
getBitstrings(spr)
``` |

`spr` |
A spread or star of |

This code obtains the bitstring representation (as described in Spencer et al. 2019) for any given spread or star of `PG(n-1,2)`

. The spread should be formatted as a 3-dimensional array with `spr[i,j,k]`

indicating whether or not the `i`

th basic factor is present in the `j`

th effect of the `k`

th flat of `spr`

. This representation facilitates fast equivalence checking for spreads or stars.

A matrix with each row characterizing the elements of a distinct flat in spr.

Neil Spencer, Pritam Ranjan, Franklin Mendivil

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]

`checkSpreadEquivalence`

for checking equivalence of spreads.

`checkStarEquivalence`

for checking equivalence of spreads.

1 2 3 4 5 6 7 8 9 | ```
## Example 1: The bitstring representation of a 1-spread of PG(3,2)
data(spreadn4t2a)
getBitstrings(spreadn4t2a)
## Example 2: The bitstring representation of a star of PG(4,2) consisting of 4-flats.
data(starn5t3a)
getBitstrings(starn5t3a)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.