Analysis in R: No break? “sudokuAlt” package, which creates NUMBER PLACE

RAnalytics
スポンサーリンク

This is an introduction to the ”sudokuAlt” package, which allows you to create highly addictive ‘number places’. Note that the larger the game size, the more computer processing power is needed to create it.

Package version is 0.2-1. Checked with R version 4.2.2.

スポンサーリンク

Install Package

Run the following command.

#Install Package
install.packages("sudokuAlt")

Example

See the command and package help for details.

#Loading the library
library("sudokuAlt")

#Games downloaded from "http://www.sudoku.com.au/":fetchAUGame command
#difficulty option:"easy", "medium", "hard", "tough"
FAUGame <- fetchAUGame(1, "tough")
#Play Game
plot(originalGame(FAUGame))
#Show answer
plot(solve(FAUGame))

#Make a game:makeGame command
#n optin:Specify game size: default 3
MGame <- makeGame(n = 3)
#Game calculation, the larger the game size, the longer the calculation time
MGame <- solve(MGame)
#Play Game
plot(originalGame(MGame))
#Show answer
plot(solve(MGame))

Output Example

fetchAUGame command

・Play game

numberplace

・Show answer

numberplace2

I hope this makes your analysis a little easier !!

Amazon audibleの登録の紹介

プライム会員限定で2024年7月22日まで3か月無料体験キャンペーン開催中です。無料体験後は月額1,500円で聞き放題です。なお、聞き放題対象外の本はAudible会員であれば非会員価格の30%引きで購入することが可能です。

Amazon audibleはプロのナレーターが朗読した本をアプリで聞くことができるサービスで、オフライン再生も可能です。通勤や作業のお供にAmazon audibleのご登録はいかがでしょうか。

・AmazonのAudible

https://amzn.to/3L4FI5o

Copied title and URL