Most answered questions in Data Analytics

0 votes
1 answer

annotate marks in chart/ggplot

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

Aug 21 in Data Analytics by anonymous
• 31,840 points
12 views
0 votes
1 answer

Contingency tables in R

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

Aug 21 in Data Analytics by anonymous
• 31,840 points
100 views
0 votes
1 answer

R - Bar chart (bivariate/multivariate Analysis)

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

Aug 22 in Data Analytics by anonymous
• 31,840 points
28 views
0 votes
1 answer

Create random numbers in R

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

Aug 21 in Data Analytics by anonymous
• 31,840 points
33 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 21 in Data Analytics by anonymous
• 31,840 points
26 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 21 in Data Analytics by anonymous
• 31,840 points
185 views
0 votes
1 answer

Return the current working directory in R

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

Aug 21 in Data Analytics by anonymous
• 31,840 points
14 views
0 votes
1 answer

Search elements in a vector or list

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

Aug 21 in Data Analytics by Cherukuri
• 31,840 points
14 views
0 votes
1 answer

Check palindrome or not in R

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

Aug 20 in Data Analytics by anonymous
• 31,840 points
31 views
0 votes
1 answer
0 votes
1 answer

What is the difference between corrgram and corrplot?

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

Aug 20 in Data Analytics by anonymous
• 31,840 points
37 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 20 in Data Analytics by anonymous
• 31,840 points
24 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 in Data Analytics by Cherukuri
• 31,840 points
21 views
0 votes
1 answer

How to format output in shiny app?

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

Aug 20 in Data Analytics by anonymous
• 31,840 points
21 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 in Data Analytics by anonymous
• 31,840 points
20 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 in Data Analytics by Cherukuri
• 31,840 points
282 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 in Data Analytics by anonymous
• 31,840 points
187 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 20 in Data Analytics by anonymous
• 31,840 points
69 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 in Data Analytics by anonymous
• 31,840 points
50 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 in Data Analytics by anonymous
• 31,840 points
23 views
0 votes
1 answer

How to add text inside shiny app?

Hi, You can use tahs$h1() to h6() to ...READ MORE

Aug 19 in Data Analytics by anonymous
• 31,840 points
23 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 in Data Analytics by anonymous
• 31,840 points
15 views
0 votes
1 answer

Donut chart - R

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

Oct 28 in Data Analytics by Cherukuri
• 31,840 points
22 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 in Data Analytics by anonymous
• 31,840 points
388 views
0 votes
1 answer

How to build a correlation matrix in R?

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

Oct 28 in Data Analytics by Cherukuri
• 31,840 points
53 views
0 votes
1 answer

Images do not appear with runtime:shiny

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

Sep 24 in Data Analytics by anonymous
• 31,840 points
26 views
0 votes
1 answer

Shiny App or Dashboard - R

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

Oct 28 in Data Analytics by anonymous
• 31,840 points
20 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 in Data Analytics by anonymous
• 31,840 points
30 views
0 votes
1 answer

Display labels within pie chart

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

Nov 2 in Data Analytics by Cherukuri
• 31,840 points
28 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 in Data Analytics by anonymous
• 31,840 points
23 views
0 votes
1 answer

pie chart using ggplot - R

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

Aug 19 in Data Analytics by anonymous
• 31,840 points
43 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 in Data Analytics by anonymous
• 31,840 points
81 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 in Data Analytics by anonymous
• 31,840 points
29 views
0 votes
1 answer

Display no labels in plot - R ggplot

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

Aug 20 in Data Analytics by anonymous
• 31,840 points
31 views
0 votes
1 answer

Shiny app widgests side by side

Hey, Use CSS to float the input widgets ...READ MORE

Sep 24 in Data Analytics by anonymous
• 31,840 points
16 views
0 votes
1 answer

R Shiny: Select input choice inside server function.

Use renderUI function within the server function ...READ MORE

Oct 28 in Data Analytics by Cherukuri
• 31,840 points
55 views
0 votes
1 answer

How to take input from user in R?

Readline() function read input from console as ...READ MORE

Oct 14 in Data Analytics by Cherukuri
• 31,840 points
25 views
0 votes
1 answer

R - any_vars and all_vars() functions

Hi, Chaitra The main difference between them is ...READ MORE

Aug 25 in Data Analytics by anonymous
• 31,840 points
75 views
0 votes
1 answer

difference between plyr and dplyr

@Kunal, Both are similar package used for ...READ MORE

Oct 29 in Data Analytics by Cherukuri
• 31,840 points
96 views
0 votes
1 answer

2 dataframes in single dplyr pipeline

You can use 2 different data frames ...READ MORE

Aug 20 in Data Analytics by anonymous
• 31,840 points
20 views
0 votes
1 answer

Add a index/Row number column to dataframe

Hi, Bharath. You can add index using seq(1:nrow(data frame)). Example ...READ MORE

Sep 10 in Data Analytics by Cherukuri
• 31,840 points
21 views
0 votes
1 answer

How to add ggplot over each other?

Do you mean to add multiple geom ...READ MORE

Nov 3 in Data Analytics by anonymous
• 31,840 points
20 views
0 votes
1 answer

Hide code while running markdown html document

Assign echo and warning as false to display ...READ MORE

Sep 10 in Data Analytics by kamal
17 views
0 votes
1 answer

Edit image in R

There are different packages in r to edit the ...READ MORE

Aug 7 in Data Analytics by anonymous
• 31,840 points
22 views
0 votes
1 answer

How do I make a matrix from a list of vectors in R?

Suppose l1 and l2 are my vectors, li = ...READ MORE

Aug 6 in Data Analytics by Cherukuri
• 31,840 points
26 views
0 votes
1 answer

How to save datasets in R as external file?

One way is to save the data ...READ MORE

Sep 10 in Data Analytics by kamal
22 views
0 votes
1 answer

use of tilde in R

One use of ~ is to mention ...READ MORE

Aug 6 in Data Analytics by anonymous
• 31,840 points
31 views
0 votes
1 answer

Summarize with a condition

You can provide condition to summarize using ...READ MORE

Aug 7 in Data Analytics by anonymous
• 31,840 points
18 views
0 votes
1 answer

Extract text from image in R

Try below code to fetch the image ...READ MORE

Aug 6 in Data Analytics by anonymous
• 31,840 points
82 views
0 votes
1 answer

Overlap images to create a new picture

Use image_flatten() or image_mosaic() to overlap image over ...READ MORE

Aug 7 in Data Analytics by anonymous
• 31,840 points
35 views