Description Usage Arguments Value Examples
Take a sudoku game and represent the information as a data frame giving the row, column, square and symbol for each entry. This is a useful form if the (complete) game is to be used as an experimental design
1 2 3 4 5 6 7 | designGame(g, ...)
## Default S3 method:
designGame(g, ...)
## S3 method for class 'sudoku'
designGame(g, ...)
|
g |
a sudoku game, presumably solved |
... |
currently ignored |
a data frame with four colums, Row
, Col
,
Square
and Symbol
1 2 3 4 5 | set.seed(2019)
d <- seedGame(4) %>% solve() %>%
regulariseGame(target = "b") %>%
designGame()
rbind(head(d), tail(d))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.