Archiv der Kategorie: R

Data visualization in R: Axis position

A standard plot provides an x-axis on the bottom and a y-axis on the left side. It is also possible to change the position of these axes. The position can be passed as parameter. The following example will create a … Weiterlesen

Veröffentlicht unter R | Kommentar hinterlassen

Data visualization in R: Axis Labels (color, size and rotation)

Remove axis labels and annotations Sometimes you want to hide an axis or the axis annotations. Maybe you don’t want to show the axis at all or you want to create a customized one and therefore hide the default one. … Weiterlesen

Veröffentlicht unter R | Kommentar hinterlassen

Data visualization in R: Label points

It could be useful to label the points of a plot to provide additional information. For example you might want to show the exact values of each point. The following example creates a plot with some points and adds the … Weiterlesen

Veröffentlicht unter R | Kommentar hinterlassen

Data visualization in R: Text in the margin

The outer margin of a plot can be used to place some text. The function mtext puts text in the bottom, left, top or right margin, according to the value set in the side parameter. plot(1,2) mtext(„text at bottom“, side … Weiterlesen

Veröffentlicht unter R | Kommentar hinterlassen

Data visualization in R: Titles for window and axis

You can define a title and a sub title for the plot and label the axis. Set the according parameters: main, sub, xlab and ylab. The following example shows an according plot. plot(1,2, main = ‚Title‘, sub = ’sub title‘ … Weiterlesen

Veröffentlicht unter R | Kommentar hinterlassen

Data visualization in R: Multi-Paneled Plots with par and layout

It is possible to create a multi-paneled plotting window with the par function and the layout function. The par function is easy to use and creates a simple panel while layout should be used for customized panels of varying sizes. … Weiterlesen

Veröffentlicht unter .NET, R | Kommentar hinterlassen

Data visualization in R: Plot Types

R offers nice graphic functions to visualize you data. Within this article I want to show you the basic and therefore very often used possibility to create a graphic. Furthermore you will learn a first parameter to adapt the presentation … Weiterlesen

Veröffentlicht unter .NET, C#, R | Kommentar hinterlassen

Use R in C#: R.NET data types

If you want to use R.NET to access R via C# applications, you have to know the R.NET type system. Following you will find a list with the R types, R.NET types and the equivalent in the .NET framework. R … Weiterlesen

Veröffentlicht unter .NET, C#, R | Kommentar hinterlassen

Use R in C#: R data types

Maybe you want to use R in C# to do some basic data analysis and create some nice plots. In such cases it is not necessary to learn the whole R syntax and know all R features. But it will … Weiterlesen

Veröffentlicht unter .NET, C#, R | Kommentar hinterlassen

Use R in C#: Create a data plot and save it as png

As shown in a previously article it is easy to integrate R in a C# application by using R.Net. Within this article I want to explain how to create a data visualization plot and export it as png file.   … Weiterlesen

Veröffentlicht unter .NET, C#, R | 2 Kommentare