![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
469 Views
To divide the row values by number of columns in R’s data.table object, we can follow the below steps −First of all, create a data.table object.Then, use apply function to divide the data.table object row values by number of columns.Create the data frameLet's create a data frame as shown below ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
15K+ Views
To extract the p-value from t test in R, we can follow the below steps −First of all, create a data frame with numerical column or a numerical vector.Then, use t.test function to perform the test and put $p.value at the end to extract the p-value from the test output.Example1Create ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
1K+ Views
To create a subset of an R data frame based on multiple columns, we can follow the below steps −First of all, create a data frame.Then, use single square brackets to subset the data frame based on multiple columns.Create the data frameLet's create a data frame as shown below − Live ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
745 Views
To check if a character column only contains alphabets in R data frame, we can follow the below steps −First of all, create a data frame with a character column.Then, use grepl function to check if all the values in the column contains only alphabets.Example 1Let's create a data frame ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
6K+ Views
To find the proportion using normal distribution in R, we can use pnorm function where we can provide the mean and standard deviation of population along with sample, also the tail position can be set by using lower.tail argument to TRUE or FALSE. Check out the below examples to understand ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
150 Views
To find the frequency of continuously repeated string values in an R data frame column, we can follow the below steps −First of all, create a data frame with a string column.Then, use sequence function and rleid function after converting the data frame into data.table object to find the frequency ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
430 Views
To find the row and column index for upper triangular matrix elements in R, we can follow the below steps −First of all, create a matrix.Then, use which function with upper.tri function to find the row and column index for upper triangular matrix elements.After, that attach the values corresponding to ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
176 Views
To divide matrix row values by row mean in R, we can follow the below steps −First of all, create a matrix.Then, use apply function to divide the matrix row values by row mean.Create the matrixLet’s create a matrix as shown below − Live DemoM
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
351 Views
To combine multiple R data frames stored in multiple lists based on a common column, we can follow the below steps −First of all, create two lists of data frames.Then, use map2_df function from purrr package and inner_join function from dplyr package to combine the data frames stored in lists ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
853 Views
To create plotly bar chart with values on top of bars in R, we can follow the below steps −First of all, create two vectors one having categories and one counts and create the bar chart using plotly.Then, create the same bar chart with add_text function of plotly package.Create the ... Read More