C# Decision Making

C# Decision Making is used to requires the programmer to specify any one or more conditions to be evaluated by the program. In decision making, a certain block of code needs to be executed when given condition is fulfilled. It execute a statement or set of statements. If the given condition is determined to be … Read more

Categories C#

C# Nested-if statement

If there is an if statement inside another if statement, it’s known as C# Nested-if statement. In this statement, you can use one if or else if statement inside another if or else if statement(s). If the value of test-expression is true, the true block of statements will be executed in this type of construct. … Read more

Categories C#

C# Switch Statement

C# Switch Statement allows a variable to be tested for equality against a list of values. In the switch statement, each value is known as a case, and the variable which is being switched on is checked for each switch case. The switch statement is also known as long if-else-if ladders. The given expression is checked … Read more

Categories C#

C# Nested-Switch Statement

C# Nested-Switch Statement has a switch statement inside another switch statement. There is a parent switch. The inner switch is present in one of the cases in the parent switch. It is possible to have a switch as part of the statement sequence of an outer switch. Even if the case constants of the inner … Read more

Categories C#

C# If statement

 C# if statement is used to execute the particular block of code or statements when the defined condition is true. There is a conditional statement upon which given statements execute. If statement checks the given condition and evaluates the result. An if statement in C# can consist of a boolean expression which is followed by one or more … Read more

Categories C#

R Visualization

Visually appealing data visualizations can be created by writing few lines of code. We use the diverse functions of R visualization as an efficient technique for gaining insight into data through a visual medium. A human can easily get information about hidden patterns in data that might be neglected. We can work with a large … Read more

XML File in R

XML is also a markup language that stands for extensible markup language like HTML. Which contains markups tags. You read the XML file in R by installing the XML package. This package can be installed using the following command. Creating XML file Create an XML file by copying the below data into a text editor … Read more

Excel File in R

The excel file extension that stores data in the .xls or xlsx format. There are several packages to perform the operations on an excel file in R programming. These packages are XLConnect, xlsx, gdata etc. Install xlsx Package You can use the following command in the R console to install the “xlsx” package. Verify and … Read more

CSV file in R

CSV stands for Comma Separated Values file, which is a plain text file that contains a list of data. CSV file in R is used for exchanging the data between different applications. Like contact managers and databases mostly support CSV files. Getting and Setting the Working Directory The getwd() function is used to check which … Read more

R Database

The data is stored in a normalized format in the R database system. To carry statistical computing we need complex and advanced SQL queries. But in R programming we can connect very easily to many relational databases like Mysql, Sql server, Oracle, etc. It becomes a normal dataset when available in R programming and can … Read more