
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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
412 Views
To remove dollar sign in data.table object in R, we can follow the below steps −First of all, create a data.table object.Then, use gsub function along with lapply function to remove dollar sign.ExampleCreate the data.table objectLet’s create a data.table object as shown below −library(data.table) Sale_PriceRead More

Nizamuddin Siddiqui
585 Views
To multiply vector values in sequence with data.table object columns in R, we can follow the below steps:−First of all, create a data.table.Then, create a vector.After that, use t function for transpose and multiplication sign * to multiply vector values in sequence with data.table object columns.Example 1Create the data.table objectLet’s ... Read More

Nizamuddin Siddiqui
150 Views
To find the column totals 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 column totals if some columns are categorical.Example 1Create the data frameLet’s create a data ... Read More

Nizamuddin Siddiqui
395 Views
To add rows in an R data frame, we can follow the below steps −First of all, create a data frame.Then, use rbind function and the vectors that will be added as rows to the data frame.ExampleCreate the data frameLet’s create a data frame as shown below −xRead More

Nizamuddin Siddiqui
361 Views
To create a column of first non-zero value in each row of a data.table object in R, we can follow the below steps −First of all, create a data.table object with some zero values.Then, use apply function and a custom function to find the first non-zero in each row of ... Read More

Nizamuddin Siddiqui
427 Views
To find the percent of zeros in each row of an R data frame, we can follow the below steps −First of all, create a data frame.Then, use rowSums function along with ncol function to find the percent of zeros in each row of the data frame.ExampleCreate the data frameLet’s ... Read More

Nizamuddin Siddiqui
735 Views
To subset an R data frame by ignoring a value in one of the columns, we can follow the below steps −First of all, create a data frame.Then, use single square brackets to subset the data frame by ignoring a value in one of the columns.ExampleCreate the data frameLet’s create ... Read More

Nizamuddin Siddiqui
2K+ Views
To remove percentage sign at last position from every value in R data frame column, we can follow the below steps −First of all, create a data frame with a column having percent sign at last position in every value.Then, use gsub function to remove the percent sign at last ... Read More

Nizamuddin Siddiqui
1K+ Views
To find the absolute maximum of each group in R data frame, we can follow the below steps −First of all, create a data frame.Then, use summarise_each function of dplyr package along with which.max and abs function to find the absolute maximum of each group after grouping with group_by.Example 1Create ... Read More

Nizamuddin Siddiqui
94 Views
To find the rank of each value in columns 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 rank of each value in columns if some columns are ... Read More