Publications by tomaztsql
Sudoku game with R
Sudoku is a classical logical game based on combinatorial number replacement puzzle. Objective is to to fill 9×9 matrix with digits so that each column, each row, and each box (3×3 sub-grid) of nine contain all of the digits from 1 to 9. Solving sometimes can be a nagging process. For this purpose, here is the R helper function for you to solve...
2034 sym R (1488 sym/4 pcs) 6 img
The palindrome of 02.02.2020
As of writing this blog-post, today is February 2nd, 2020. Or as I would say it, 2nd of February, 2020. There is nothing magical about it, it is just a sequence of numbers. On a boring Sunday evening, what could be more thrilling to look into this little bit further Let’s kick R Studio and start writing a lot of useless stuff. First, we don’...
3052 sym R (1480 sym/5 pcs) 8 img
What and who is IT community? What does it take to be part?
This blog post is long over due and has been rattling in my head for long time. Simply and boldly put it, community is everyone involved behind the result of your search for a particular problem. And by that I am referring to the IT community. Community (from now on, I am referring only to IT community) consists of people that are contributing an...
7310 sym
Custom Power BI visual for Line chart with two Y-Axis
Power BI support certain type of visuals that are by default available in the document. These are absolutely great and work perfectly fine, have a lot of capabilities to set properties and change the settings. But every so often in past year, I have come across the fact that I wanted to visualize a typical line chart with two lines, each with it�...
5510 sym R (663 sym/2 pcs) 48 img
Essential list of useful R packages for data scientists
I have written couple of blog posts on R packages (here | here ) and this blog post is sort of a preset of all the most needed packages for data science, statistical usage and every-day usage with R. Among thousand of R packages available on CRAN (with all the mirror sites) or Github and any developer’s repository. Many useful functions are a...
7816 sym Python (9927 sym/28 pcs) 4 img
Quine with R
Quine is a self-reproducing function or a computer program that will output its source source or itself. Terms used are for these programs are also self-replicating programs, self-reproducing programs or self-copying programs (courtesy of wikipedia). Many programming languages have been known to do this, for example in Python, a simple Quine wou...
1713 sym R (146 sym/4 pcs) 2 img
Little useless-useful R function
Nothing spectacular, but yet interesting little useless R function for playing with strings and chars. Converting Sentence case text to mixture of all and small caps resulting in sentence in mixed case. For example: "This is useless R Function that seems to exists." to: "This is UsEleSS r FuNcTion THaT SeEms To ExIsTS." And many other mixture of...
859 sym R (1532 sym/3 pcs) 6 img
Little useless-useful R function – DataFrame Maker
Since the first little useless-useful R function MixedCases gain a lot of interest in the R community, let us not stop here. In this blog-post let’s make another useless function, that would be somehow intriguing to data scientist. Function that can create a dummy data.frame. Again, the fun part is to make the function long and useless, yet ...
1369 sym R (1212 sym/5 pcs) 10 img
Little useless-useful R function – R-jobs title generator
Another post on the series of useless-useful R functions. This time more on the fun side and only using paste() function for concatenation and sample() function for selection of random items from array. The complete (longer) list of all the names available on Github. RJobTitle <- function(){ ### Values Fancystuff = c( 'Regional','Only the be...
991 sym R (2630 sym/1 pcs) 14 img
Little useless-useful R function – Psychedelic Square root with x11()
Yes, the name of today’s function is wacky, because it gives you the flickering feeling when running it with x11() function. In addition is uses simple square root and cosine function to calculate the points in graph to give it psychedelic feeling. With the following code you can generate the function to draw the “carpet” patterns. Psyched...
958 sym R (545 sym/2 pcs) 4 img