![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
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](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
856 Views
To generate a repeated values column with each value in output selected randomly in R data frame, we can use replicate function. The replicate function will repeat the vector values up to the number of times we want and each value will be randomly selected. To understand how it works, ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
326 Views
As of now it is not possible to create a vector of matrices in R. If we want to do it, we should prefer a list, hence we can create a list with matrices.For Example, if we have matrices say M1, M2, and M3 and we want to create a ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
760 Views
To find the index of values in data.table object column in R if they occur once, we can follow the below steps −First of all, create a data.table object.Then, use which function along with duplicated function and single square brackets for subsetting to find the index of values in a ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
165 Views
To find the exponent of each value if some columns are categorical in R data frame, we can follow the below steps −First of all, create a data frame.Then, use numcolwise function from plyr package to find the exponent if some columns are categorical.ExampleCreate the data frameLet’s create a data ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
2K+ Views
To sort a numerical factor column in an R data frame, we would need to column with as.character then as.numeric function and then order function will be used.For Example, if we have a data frame called df that contains a numerical factor column say F then we can use sort ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
971 Views
To convert first letter into capital in R data frame column, we can follow the below steps −First of all, create a data frame with string column.Then, use sub function to convert first letter into capital in string column.ExampleCreate the data frameLet’s create a data frame as shown below −NamesRead More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
61 Views
To create a column of rounded values 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 rounded valuesin data frames stored in the list.ExampleCreate the list of data framesUsing ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
170 Views
To create a column of factorial values 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 factorial values in data frames stored in the list.ExampleCreate the list of data ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
2K+ Views
To find the count of unique group combinations in an R data frame, we can use count function of dplyr package along with ungroup function.For Example, if we have a data frame called df that contains three grouping columns say G1, G2, and G3 then we can count the unique ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
126 Views
To create a column of absolute values 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 absolute values in data frames stored in the list.ExampleCreate the list of data ... Read More