In this tutorial, we are going to export a data frame to CSV file in R. Being a high-end statistical analysis language, R offers tremendous functions and packages, which aids you in the process of data analysis.
In this tutorial, we are going to create an area chart using the ggplot2 library. Well, if you are aware of using geom_area() function, you are just a few steps away from creating a beautiful area chart in R.
You can use sink() function in R to drive the data to the external connections. Today we will be looking into the applications of the sink() function in R. We are going to try to make connections in multiple formats such as text and csv file types.
The sub() and gsub() function in R is used for substitution as well as replacement operations. But you can use them wisely. Let’s move forward and explore these functions using relevant illustrations.
The binding or combining of the rows is very easy with the rbind() function in R. rbind() stands for row binding. In simpler terms joining of multiple
The head() and tail() function in R are the most useful function when it comes to reading and analysing the data. Simple syntax, best results
Hello folks, this article will talk about the applications of the rep() function in R. You may know that, you can also use paste() function to concatenate the values in R.
You can use cbind() function in R exclusively to bind or combine the multiple columns together. Hello folks, today, our focus will be on the applications
The by() function in R is an easy function that allows us to group data within a data set, and perform mathematical functions on it. It takes a vector.
The trunc() function in R is more often used by the programmers to round the values to zero decimal points. In other words, you can convert float values.
the subset() function in R is used to subset the data from it's parent data. i.e. extracting data from a string, vector,matrix and dataset as well.
Substring() function in R is widely used to either extract the characters present in the data or to manipulate the data. You can easily extract the required characters from a string.
strsplit() function in R - strsplit() is an exceptional R function, which splits the input string vector into sub-strings. Now, let’s see how we can split a string vector using the strsplit().
Generating a sequence in R using the function seq() has many uses in data analysis. You can generate a particular sequence using seq() function in R.
You can easliy generate the quantiles in R using the quantile() function. A qunatile is nothing but a sample which is divided into equal groups or sizes.
The order() function in R is very useful in sorting a particular data values according to a specific variable. Hello folks, changing the order of the values or elements present in a data frame or a vector is found to be very effective in data analysis. Hence, this R tutorial is focussed on the order() function which is used to order the data.
Strings are generally a one-dimensional (1D) arrays that contain single or multiple values in it. Strings can include character data, numerical data, and any special characters as well.
What if I tell, that you can export data frames to excel in R within a couple of minutes? This is possible with the help of functions like writexl and. let's understand top 5 way to export a data frame to excel in R
Taking a user input is very simple in R using readline() function. In this tutorial, we will see how we can prompt the user in R. Interacting with the users for the input is going to be the best part whenever you code. Prompting the user for the input and reacting to that input is way exciting than anything. In this tutorial, we are going to take any user input’s and let’s do some meaningful stuff with it.
Using floor() and ceiling() function in R is easy. In this tutorial, we are focusing on the working and uses of these functions in R.