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
379 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,831 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
721 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,706 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,504 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,384 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
519 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
461 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,638 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
518 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,430 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
429 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
638 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,223 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
330 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
531 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
911 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,070 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
438 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
426 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,702 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,797 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
958 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
440 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,722 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
846 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
834 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,554 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,042 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,847 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
859 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,019 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,976 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,665 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,394 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
518 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
768 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
446 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,641 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,966 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
586 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,177 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,611 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
323 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
398 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,819 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
539 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
667 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
302 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
858 views