Blog Archives

Little useless-useful R functions – Plotting the decimal and binary conversion

How does the conversion between decimal to binary or from binary to decimal behave? With another useless function, I have plotted the points (x = decimal number, y = converted binary number) on a scatter plot. Just to find out

Tagged with: , , , ,
Posted in Uncategorized, Useless R functions

Little useless-useful R functions – Animating datasets

I firmly believe that animation and transition between different data states can give end-users much better insights and understanding of the data, than a single table with data points or correlation metrics. With help of ggplot, gganimate, you can quickly

Tagged with: , , , ,
Posted in Useless R functions

Little useless-useful R functions – Making boxplot from a picture

Generating violin boxplots from image. Yes, why not. 🙂 We create a raster image from a picture and calculating the ratio of the pixels on the scale of grayscale. The more the darker colour is represented in the pixels, the

Tagged with: , , , ,
Posted in Uncategorized, Useless R functions

Little useless-useful R functions – Interactive Voronoi diagram generator using R and x11()

Yes. Finally, the Voronoi diagrams with the use of x11() function. This diagram is presentation of a plane that is partitioned every time, a user clicks on the canvas of x11. This plane is partitioned into smaller regions that are

Tagged with: , , , , , , ,
Posted in Uncategorized, Useless R functions

Little useless-useful R functions – Colourful ggplot line graphs

How about some colours in line graph? Or even more wacky? Nevertheless, let’s create a function that generates some sample “mocked” data and draws a line chart: And run all together with three parameters: n – number of data points

Tagged with: , , , , ,
Posted in Uncategorized, Useless R functions

Little useless-useful R functions – Looping through variable names and generating plots

Facets in ggplot2 are great for showing multiple plots on a single canvas. Assuming this usually covers many scenarios, there might be a case that you would want to save all the combinations of x and y variables in a

Tagged with: , , , ,
Posted in Uncategorized, Useless R functions

Little useless-useful R functions – Use pipe %>% in ggplot2

Using pipe %>% or chaining commands is very intuitive for creating following set of commands for data preparation. Visualization library ggplot in this manner uses sign “+” (plus) to do all the chaining. What if we would have to replace

Tagged with: , , , , , ,
Posted in Uncategorized, Useless R functions

Little useless-useful R functions – Making scatter plot from an image

Taking a jpg image and converting it to raster, getting pixelized data manipulation of the image and plot a scatter image. Sound like another useless R function, that can produce a scatter plot in a shape of a logo with

Tagged with: , , , , , , , , ,
Posted in Uncategorized

Advent of Code 2019 challenge with R

I have decided to tackle this year’s Advent Of Code using R (more or less). I know there are more preferred languages, such as Python, C#, Java, JavaScript, Go, Kotlin, C++, Elixir, but it was worth trying. Into the 8th

Tagged with: , , , ,
Posted in Uncategorized

Hangman game with R

Hangman is a classic word game in which you need to need to guess as many possible letters in word, so you can guess the word, before running out of tries (lives). Upon running out of tries, you are hanged!

Tagged with: , , , , ,
Posted in Uncategorized
Follow TomazTsql on WordPress.com
Programs I Use: SQL Search
Programs I Use: R Studio
Programs I Use: Plan Explorer
Rdeči Noski – Charity

Rdeči noski

100% of donations made here go to charity, no deductions, no fees. For CLOWNDOCTORS - encouraging more joy and happiness to children staying in hospitals (http://www.rednoses.eu/red-noses-organisations/slovenia/)

€2.00

Top SQL Server Bloggers 2018
TomazTsql

Tomaz doing BI and DEV with SQL Server and R, Python, Power BI, Azure and beyond

Discover WordPress

A daily selection of the best content published on WordPress, collected for you by humans who love to read.

Revolutions

Tomaz doing BI and DEV with SQL Server and R, Python, Power BI, Azure and beyond

tenbulls.co.uk

tenbulls.co.uk - attaining enlightenment with the Microsoft Data and Cloud Platforms with a sprinkling of Open Source and supporting technologies!

SQL DBA with A Beard

He's a SQL DBA and he has a beard

Reeves Smith's SQL & BI Blog

A blog about SQL Server and the Microsoft Business Intelligence stack with some random Non-Microsoft tools thrown in for good measure.

SQL Server

for Application Developers

Business Analytics 3.0

Data Driven Business Models

SQL Database Engine Blog

Tomaz doing BI and DEV with SQL Server and R, Python, Power BI, Azure and beyond

Search Msdn

Tomaz doing BI and DEV with SQL Server and R, Python, Power BI, Azure and beyond

R-bloggers

Tomaz doing BI and DEV with SQL Server and R, Python, Power BI, Azure and beyond

R-bloggers

R news and tutorials contributed by hundreds of R bloggers

Data Until I Die!

Data for Life :)

Paul Turley's SQL Server BI Blog

sharing my experiences with the Microsoft data platform, SQL Server BI, Data Modeling, SSAS Design, Power Pivot, Power BI, SSRS Advanced Design, Power BI, Dashboards & Visualization since 2009

Grant Fritchey

Intimidating Databases and Code

Madhivanan's SQL blog

A modern business theme

Alessandro Alpi's Blog

DevOps could be the disease you die with, but don’t die of.

Paul te Braak

Business Intelligence Blog

Sql Insane Asylum (A Blog by Pat Wright)

Information about SQL (PostgreSQL & SQL Server) from the Asylum.

Gareth's Blog

A blog about Life, SQL & Everything ...