- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Nizamuddin Siddiqui has Published 2307 Articles
Nizamuddin Siddiqui
87 Views
To create a column of raise to the power 3 in data frames stored in R list, we can follow the below steps −First of all, create a list of data frames.Then, use lapply function to create a column of raise to the power 3 in data frames stored in ... Read More
Nizamuddin Siddiqui
2K+ Views
To randomize rows of a matrix in R, we can use sample function along with nrow function to get the random rows and then subset the matrix with single square brackets.For example, if we have a matrix called M then randomization of rows in M can be done by using ... Read More
Nizamuddin Siddiqui
110 Views
To create a column of square root in data frames stored in R list, we can follow the below steps −First of all, create a list of data frames.Then, use lapply function to create a column of square root in data frames stored in the list.ExampleCreate the list of data ... Read More
Nizamuddin Siddiqui
75 Views
To create a column of square in data frames stored in R list, we can follow the below steps −First of all, create a list of data frames.Then, use lapply function to create a column of square in data frames stored in the list.ExampleCreate the list of data framesUsing data.frame ... Read More
Nizamuddin Siddiqui
3K+ Views
If we have a data frame column that contains some duplicate values or represent categories then we might want to split the data frame based on that column.For example, if we have a data frame called df that contains a column say Col then we can split the data frame ... Read More
Nizamuddin Siddiqui
65 Views
To create a column of division in data frames stored in R list, we can follow the below steps −First of all, create a list of data frames.Then, use lapply function to create a column of division in data frames stored in the list.ExampleCreate the list of data framesUsing data.frame ... Read More
Nizamuddin Siddiqui
8K+ Views
To write text outside plot using ggplot2, we can use annotate function and coord_cartesian function. The annotate function will define the text value and the coord_cartesian function will define the position of the text outside the plot area.Check out the below example to understand how it works.ExampleFollowing snippet creates a ... Read More
Nizamuddin Siddiqui
5K+ Views
To find the mean of multiple columns based on multiple grouping columns in R data frame, we can use summarise_at function with mean function.For Example, if we have a data frame called df that contains two grouping columns say G1 and G2 and two numerical columns say Num1 and Num2 ... Read More
Nizamuddin Siddiqui
454 Views
To cut a data frame column with minimum value, we need to specify the minimum value withing cut function with the help of min function and set the include.lowest argument to TRUE. We can also specify the maximum value so that the maximum value is also taken into account while ... Read More