Latest questions in Data Analytics

0 votes
1 answer

How to edit the labels and limit if a plot using ggplot? - R

Add a limit to axis ticks using ...READ MORE

Nov 3, 2019 in Data Analytics by anonymous
• 33,030 points
523 views
0 votes
1 answer

How to merge or join 2 dataframes in r?

Hi, When you merge two Dataframes, the result ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,440 points
511 views
0 votes
1 answer

How to filter only those rows with a condition in R?

Write R code as below temp = data ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
• 33,030 points
619 views
0 votes
1 answer

Dataset data type incorrect - R

You can assign datatypes for the field ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
1,260 views
0 votes
1 answer

Export the plot to a pdf or png - R

You need to close the device to ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
2,528 views
0 votes
1 answer

How to create a date variable in R?

Create a string with date notation as ...READ MORE

Jul 16, 2019 in Data Analytics by anonymous
7,720 views
0 votes
1 answer

Sort a field based on another field in R

Hi.. Just for sorting, you can use arrange ...READ MORE

Aug 29, 2019 in Data Analytics by Gups_1985
629 views
0 votes
1 answer

How to import and clean a text file into dataframe in R?

You can use readLines() or read.table() depending ...READ MORE

Jul 16, 2019 in Data Analytics by anonymous
6,084 views
+1 vote
0 answers

How to show CLUSTERS AFTER USING Kmeans(data,n) in R?

Hi, I'm new to R. I used ...READ MORE

Jul 12, 2019 in Data Analytics by prakash
349 views
0 votes
0 answers

Chart/plot to show 3 dimensions in a chart - R

Hi, I want to show chart with ...READ MORE

Jul 12, 2019 in Data Analytics by kalyan
385 views
0 votes
0 answers

Convert columns into rows in R Data frame

Can we convert columns into rows in ...READ MORE

Jul 12, 2019 in Data Analytics by Anita
1,504 views
0 votes
1 answer

Difference between summarise() and summarize() in R

summarise() and summarize() are synonyms. READ MORE

Sep 24, 2019 in Data Analytics by anonymous
8,538 views
+1 vote
0 answers

dplyr R - Pipelining

Hi, can you tell how pipelining works ...READ MORE

Jul 12, 2019 in Data Analytics by riya
423 views
+1 vote
0 answers

Color attribute values in plot - R

Hi, i want to show different colors ...READ MORE

Jul 12, 2019 in Data Analytics by keerthi
741 views
0 votes
0 answers

Show different shapes wrt a field in a scatter chart in R

Hi, I'm new to R. I want ...READ MORE

Jul 12, 2019 in Data Analytics by lydia
340 views
0 votes
1 answer

Split plot into multiple plots corresponding to each value of the field in R

Use facet_grid() and pass the field to ...READ MORE

Nov 4, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,612 views
0 votes
0 answers

How to normalize values in fields to show in plots in R?

Hi, I use a dataset called airquality ...READ MORE

Jul 9, 2019 in Data Analytics by sindhu
618 views
0 votes
1 answer

create data.frame with random numbers in R

First create a matrix with random numbers ...READ MORE

Sep 24, 2019 in Data Analytics by Debasmita Das
2,747 views
0 votes
1 answer

What is set.seed() in R?

Let me explain in simple words, set seed ...READ MORE

Jul 9, 2019 in Data Analytics by anonymous
• 33,030 points
38,114 views
0 votes
0 answers

R plots to show categorical fields in graphs

Which R plots are best to show ...READ MORE

Jul 9, 2019 in Data Analytics by nikita
371 views
0 votes
1 answer

Convert data.frame object into character vector/list

Hi, it is possible to store them ...READ MORE

Jul 9, 2019 in Data Analytics by anonymous
• 33,030 points
6,308 views
+1 vote
0 answers

Can i add a boxplot using 2 fields/attributes in x axis like dual axis in R?

Can i add a boxplot using 2 ...READ MORE

Jul 9, 2019 in Data Analytics by lokesh
501 views
0 votes
0 answers

How to install KMggplot2 Plugin for Rcmdr in R?

How to install KMggplot2 Plugin for Rcmdr ...READ MORE

Jul 8, 2019 in Data Analytics by nithin
504 views
0 votes
0 answers

RCommander - R

How to plot graphs using RCommander Tool? READ MORE

Jul 8, 2019 in Data Analytics by rahul
350 views
0 votes
1 answer

Error: package or namespace load failed for ‘arulesViz’ in R

I installed package KernSmooth and it seemed ...READ MORE

Sep 4, 2020 in Data Analytics by Chandrakant
• 140 points
1,068 views
0 votes
0 answers

Error: package or namespace load failed in R

Hi, I want to use dplyr package ...READ MORE

Jul 8, 2019 in Data Analytics by ramya
1,352 views
+1 vote
1 answer

Error in .External.graphics - R

You need to install arulesViz package,and load ...READ MORE

Jul 8, 2019 in Data Analytics by sindhu
1,002 views
0 votes
1 answer

batch file to run R Script

easy peasy. just pop the following into a ...READ MORE

May 24, 2020 in Data Analytics by anonymous
3,973 views
0 votes
0 answers

How to add color legend for box plots in R?

How to add color legend for box ...READ MORE

Jul 4, 2019 in Data Analytics by keerthi
1,418 views
+1 vote
1 answer

How to add create a box plot with categorical columns?

One way is to convert to factor ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
1,764 views
0 votes
1 answer

% of nulls for each column in the dataset - R

Use code as below -  lapply(air,function(x) { length(which(is ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
901 views
0 votes
3 answers

Code snippet to find number of null values in each column in a dataframe in R

colSums(is.na(data_frame_name)) will return you number of nulls ...READ MORE

Jul 5, 2019 in Data Analytics by sindhu
17,014 views
0 votes
0 answers

How to add custom labels to charts in R?

How to add custom labels to charts ...READ MORE

Jul 4, 2019 in Data Analytics by Prerana
663 views
0 votes
1 answer

fetch all rows with null values in dataframe or dataset - R

Use below code -  which(is.na(air)) is.na() will return a boolean ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
10,682 views
0 votes
1 answer

Joining 2 vectors into 1 variable - R

A small trick that you can do ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
503 views
0 votes
1 answer

Read data from various csv and store it in one dataframe

Use rbind() to join both data frames ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
443 views
0 votes
1 answer

Convert character column to Date field in R Data frame

This is a good question. READ MORE

May 4, 2020 in Data Analytics by anonymous
808 views
0 votes
2 answers

Top N and Last N records in R Data Frame

Hi, top_n( ) and top_frac( ) also is ...READ MORE

Sep 3, 2019 in Data Analytics by anonymous
• 33,030 points
4,908 views
0 votes
0 answers

Join 2 columns based on condition in R

How to join 2 columns in R ...READ MORE

Jul 1, 2019 in Data Analytics by nikita
2,133 views
0 votes
1 answer

Replace columns containing row id into a constant value - R

Create a vector of the list of ...READ MORE

Jul 4, 2019 in Data Analytics by Cherukuri
• 33,030 points
480 views
0 votes
1 answer

Difference between [[1]] and [1] in R Programming

Hey Latha, The difference between them is that ...READ MORE

Jun 29, 2019 in Data Analytics by anonymous
• 33,030 points
5,898 views
0 votes
0 answers

Split a string and store it in multiple columns from a field in R

How to Split a string and store ...READ MORE

Jun 29, 2019 in Data Analytics by Anand
735 views
0 votes
1 answer

How to replace all occurrences of a character in a character column in a data frame in R

If you used sub() to replace the ...READ MORE

Jun 29, 2019 in Data Analytics by anonymous
• 33,030 points
17,545 views
0 votes
1 answer

substring of last N characters in R

Use below code -  If the elements within ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
478 views
0 votes
1 answer

How can I figure out if an R program was executed from the command line?

Try this code: if (interactive()) { print('Hello ...READ MORE

Jun 28, 2019 in Data Analytics by Zulaikha
• 910 points
426 views
0 votes
1 answer

R programming: Data Categorization

Try this: wineData$taste <- NA ...READ MORE

Jun 28, 2019 in Data Analytics by Zulaikha
• 910 points
713 views
0 votes
1 answer

How to change the datatype of any field in an external dataset in R?

Hi Anand, Try as below - class(dataset/dataframe$col_name) <- ...READ MORE

Jun 28, 2019 in Data Analytics by anonymous
• 33,030 points
546 views
0 votes
2 answers

Change the default order of labels of factor in R

You can also use relevel() to change ...READ MORE

Jun 27, 2019 in Data Analytics by sindhu
2,572 views
0 votes
2 answers

R Package installed or not

To see all installed packages in system ...READ MORE

Jun 27, 2019 in Data Analytics by anonymous
• 33,030 points
684 views
+2 votes
1 answer

Show a list of all variables in R

Hi Swathi, You can use ls() to list ...READ MORE

Jun 27, 2019 in Data Analytics by Cherukuri
• 33,030 points
88,627 views