Most voted questions in Data Analytics

0 votes
1 answer

How to see the tree after making decision tree?

Hey Bindhu, If you have created a decision tree using ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
369 views
0 votes
1 answer

R vs Tableau data visualization.

@Yash, This is a requirement based question. ...READ MORE

Oct 28, 2019 in Data Analytics by anonymous
• 33,030 points
7,766 views
0 votes
1 answer

What are the top packages in R for data visualization?

These are the top R packages used ...READ MORE

Aug 26, 2019 in Data Analytics by Cherukuri
• 33,030 points
707 views
0 votes
1 answer

Add multiple sub plots within same panel.

Hi, Karthi The subplot() function in plotly provides ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
1,692 views
0 votes
1 answer

How to add tooltips to ggplot object?

@ashish, you can use ggplotly package to ...READ MORE

Oct 28, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,491 views
0 votes
1 answer

How to convert a ggplot to plotly object?

Hi, John, There is a package called ggplotly ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
1,373 views
0 votes
1 answer

Can you use 2 dataframes in one ggplot?

Hi, Archana You can use only one data ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
511 views
0 votes
0 answers

geom_point() in r

Hi, Is it possible to add point ...READ MORE

Aug 23, 2019 in Data Analytics by rachna
455 views
0 votes
1 answer

Filter with nested if condition in R

Hi Raksha, Use the filter function to filter ...READ MORE

Oct 14, 2019 in Data Analytics by anonymous
• 33,030 points
2,625 views
0 votes
1 answer

How to use plyr and dplyr functions inside one source file?

Hi, Lakshmi, Use dplyr::function( ) or plyr::function( ). Since ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
507 views
0 votes
1 answer

Reverse the stack order in a stacked bar chart

Hi kriti, Use below code inside geom_bar function. position ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
7,383 views
0 votes
1 answer

annotate marks in chart/ggplot

One way is to use ggrepel package. ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
418 views
0 votes
1 answer

Contingency tables in R

You can build 2 types of contingency ...READ MORE

Aug 22, 2019 in Data Analytics by anonymous
• 33,030 points
628 views
0 votes
1 answer

R - Bar chart (bivariate/multivariate Analysis)

The bivariate analysis could be shown in ...READ MORE

Aug 22, 2019 in Data Analytics by anonymous
• 33,030 points
5,184 views
0 votes
0 answers

Merge dataframes with similar field values into one with aggregation

For suppose if these are my dataframes, ...READ MORE

Aug 21, 2019 in Data Analytics by kavitha
326 views
0 votes
1 answer

Create random numbers in R

There are many ways to create a ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
525 views
0 votes
1 answer

Drop rows on condition from dataframe/dataset

Use code as below dataframe[which(dataframe$sales >= median(dataframe$sales)),] or ...READ MORE

Aug 22, 2019 in Data Analytics by anonymous
• 33,030 points
899 views
0 votes
1 answer

How to hide/show tabs in shiny app in R?

Hi, Radha One way is to use hidetab ...READ MORE

Aug 22, 2019 in Data Analytics by anonymous
• 33,030 points
6,024 views
0 votes
1 answer

Return the current working directory in R

Use below command to fetch the current ...READ MORE

Aug 22, 2019 in Data Analytics by anonymous
• 33,030 points
423 views
0 votes
1 answer

Search elements in a vector or list

There are multiple functions and operators that can ...READ MORE

Aug 22, 2019 in Data Analytics by Cherukuri
• 33,030 points
414 views
0 votes
1 answer

Check palindrome or not in R

Hi, I found this code simple and easy. is_palindrome ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
6,673 views
0 votes
1 answer

R Error in matrix(if (is.null(value)) logical() else value, nrow = nr, dimnames = list(rn, : length of 'dimnames' [2] not equal to array extent

Hi Shiva, You need to provide a matrix ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
12,771 views
0 votes
1 answer

What is the difference between corrgram and corrplot?

Differences - Input - corrgram takes a dataset ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
950 views
0 votes
1 answer

R - Create a repetitive list from a smaller length vector to fit into dataframe

Hi Nithin, rep() is used to replicate a ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
425 views
0 votes
1 answer

How to crop white space around image(Magick) in R?

@sreenivas, Use image_trim to crop the extra part of ...READ MORE

Oct 28, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,711 views
0 votes
1 answer

How to format output in shiny app?

You can use sprintf() to define the ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
834 views
0 votes
1 answer

R Error: Recommender method UCBF not implemented for data type realRatingMatrix

Kalyan, Try changing method from UBCF to POPULAR. train ...READ MORE

Oct 28, 2019 in Data Analytics by anonymous
• 33,030 points
828 views
0 votes
1 answer

R Shiny Error: no applicable method for 'filter_' applied to an object of class "c('reactiveExpr','reactive')"

The error could be because of using reactive ...READ MORE

Aug 21, 2019 in Data Analytics by Cherukuri
• 33,030 points
8,509 views
0 votes
1 answer

R Shiny Error: Object of type 'closure' is not subsettable

The error you mentioned happens when you ...READ MORE

Aug 20, 2019 in Data Analytics by anonymous
• 33,030 points
6,023 views
0 votes
1 answer

R Shiny Error: evaluation nested too deeply: infinite recursion / options(expressions=)?

Hi Kalpana, This error is due to ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
2,808 views
0 votes
1 answer

Shiny r ,I'm doing a dashboard and I can not replace in the table below the name of the column by choosing the selectinput.

Hi, When you want to change any input ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
853 views
0 votes
1 answer

nth maximum and nth smallest number in vector

Hi, You can use nth() function to find ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
1,005 views
0 votes
1 answer

How to add 2 ggplots side by side?

Hi, Use ggarrange() function to show multiple ggplot in ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
1,970 views
0 votes
1 answer

Donut chart - R

@Kruthi, Refer to this blog on how to ...READ MORE

Oct 28, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,648 views
0 votes
1 answer

Error: stat_count() must not be used with a y aesthetic.

Hi Rayan, This error comes due to the ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
9,372 views
0 votes
1 answer

How to build a correlation matrix in R?

@payal, You want to find the correlation ...READ MORE

Oct 28, 2019 in Data Analytics by Cherukuri
• 33,030 points
506 views
0 votes
1 answer

Images do not appear with runtime:shiny

@kalyan Before running the file, create a www ...READ MORE

Sep 24, 2019 in Data Analytics by anonymous
• 33,030 points
763 views
0 votes
1 answer

Shiny App or Dashboard - R

@Ruchitha, As the name says, the shiny app ...READ MORE

Oct 28, 2019 in Data Analytics by anonymous
• 33,030 points
442 views
0 votes
1 answer

How to add labels on bars in bar chart in ggplot?

Use geom_text() to add labels on the ...READ MORE

Aug 20, 2019 in Data Analytics by anonymous
• 33,030 points
3,619 views
0 votes
1 answer

Display labels within pie chart

See below example- df <- data.frame( name ...READ MORE

Nov 2, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,940 views
0 votes
1 answer

How to replace only set of values in a vector to different values in a dataframe?

If you have a condition using which ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
583 views
0 votes
1 answer

pie chart using ggplot - R

Hi, even I was searching for this ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
2,163 views
0 votes
1 answer

R Shiny - Error in as.vector: cannot coerce type 'externalptr' to vector of type 'character'

Ravin, read the image into list src ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
2,589 views
0 votes
0 answers

Select input dynamically in r shiny

The datset im using will be updated ...READ MORE

Aug 14, 2019 in Data Analytics by ruchi
320 views
0 votes
1 answer

Submit all 3 inputs vs one using button in shiny

Hi, Preethi. When you want to submit individually, ...READ MORE

Sep 24, 2019 in Data Analytics by anonymous
• 33,030 points
392 views
0 votes
2 answers

How to call Rmarkdown from another R script?

render() is used to call external Rmarkdown ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
6,780 views
0 votes
0 answers

Update value of one variable from another variable in shiny

How to update the value of one ...READ MORE

Aug 14, 2019 in Data Analytics by kajal
532 views
0 votes
0 answers

Add filters to reactive output in shiny

I created a shiny app to calculate ...READ MORE

Aug 14, 2019 in Data Analytics by aditya
660 views
0 votes
0 answers

R Shiny - How to add hierarchial widgets from previous selection without buttons?

How to add hierarchial widgets from previous ...READ MORE

Aug 14, 2019 in Data Analytics by payal
296 views
0 votes
1 answer

Display no labels in plot - R ggplot

Hi, One small trick is to change the ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
845 views