Tag: R

  • Merry Christmas and Happy 2014

    xmassRI hope everyone’s wishes come true!!! I wish happiness and health to all of you!!

    And this is the code to reproduce this image in R

    The code: (more…)

  • The use of neural networks in R with neuralnet package.

    As the computing power grows the implementation of Artificial Neural Networks (ANN) becomes more and more common in computational systems and programs. Here it is explained what a simple feedforward artificial neural network is and how it is supposed to work.  This article is a demonstration about the R library neuralnet [1a,b] and how it can be applied. (more…)

  • Image Editing Program with R (GUI)

    R is not only for statistics. There is a big progress in packaging creation and there is a vast amount of libraries that let you do many things other than only statistics and data analysis. In this project it is demonstrated a GUI that lets the user make simple edits on photos. The edits user can do is to switch between GRB color mode and Grayscale, edit the Brightness of the image, the Contrast and the Gamma.  I wouldn’t recommend using this script on large pictures that are several megabytes because it makes the system crash. (more…)

  • Handle or create a phone contacts file (“.vcf” format version 3.0[1])

    I thought of this project in order to convert some of my  phone’s contact numbers from their national format (the one with the 00 in front of the number) to the one that the local providers recognize.

    It was a bit challenging as it had to do with things like seeking from information inside data frames, converting data frames, applying changes, save data frames the way user wants etc. Some new aspects also stood on the way. Some of them I cannot figure, until this point, how to solve them.

    The program is very different in its final form than it was thought first to be.  (more…)

  • Rabies animal infections in Greece

    This brief analysis is a demonstration about the number of animal infections with the rabies virus [1] in Greece. The period of interest is between October 2012 and November 2013 where the last infected animals were recorded. (more…)

  • Importing a .csv file with data and using SQL commands to select the data we want and then plot them.

    The program imports data in .csv format. It uses SQL SELECT command with two arguments, it asks the user if it is needed to group some of the data so it may use the COUNT and GROUP BY commands. After the new tables are created, it plots the data and prompts the user to give name to the plot and data.frame so they will be exported as jpeg and .csv respectively.  At the end it asks if there are data that are not numeric so it plots a bar chart instead of line plot. (more…)