Trending questions in Data Analytics

0 votes
1 answer

Importance of fields in the dataset in randomforest

Use Function importance() which defines the importance ...READ MORE

Aug 25 in Data Analytics by anonymous
• 28,320 points
14 views
0 votes
1 answer

Add multiple sub plots within same panel.

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

Aug 26 in Data Analytics by anonymous
• 28,320 points
20 views
0 votes
1 answer

compare actual values vs predicted values in decision tree

You can compare test data using table() ...READ MORE

Aug 24 in Data Analytics by Cherukuri
• 28,320 points
29 views
0 votes
1 answer

Define a matrix, vector and determinent in rmarkdown html document

Hi Riya, I have given some examples below ...READ MORE

Sep 17 in Data Analytics by rahul

edited Sep 17 28 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 25 in Data Analytics by Cherukuri
• 28,320 points
16 views
0 votes
1 answer

Rmarkdown color to inline and block text

Hey, To mark text as inline, use a ...READ MORE

Sep 17 in Data Analytics by anonymous
• 28,320 points
21 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 in Data Analytics by anonymous
• 28,320 points
14 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
• 28,320 points
18 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
• 28,320 points
175 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 25 in Data Analytics by anonymous
• 28,320 points
19 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 25 in Data Analytics by anonymous
• 28,320 points
17 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
12 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
17 views
0 votes
1 answer
0 votes
1 answer

Contingency tables in R

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

Aug 21 in Data Analytics by anonymous
• 28,320 points
96 views
0 votes
1 answer

Append r output in the title of rmarkdown document

Insert with `r <code> ` withion markdown ...READ MORE

Sep 10 in Data Analytics by priya
15 views
0 votes
1 answer

Export the updated or manipulated dataframe or result as csv and excel file

Hi, Karthik. Check it out how to write ...READ MORE

Sep 10 in Data Analytics by sindhu
16 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
• 28,320 points
93 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
• 28,320 points
255 views
0 votes
0 answers

R vs Tableau data visualization.

Hi, I recently found this r package ...READ MORE

Aug 23 in Data Analytics by yash
19 views
0 votes
0 answers

How to add tooltips to ggplot object?

How to add tooltips to ggplot object? READ MORE

Aug 23 in Data Analytics by ashish
16 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
• 28,320 points
110 views
0 votes
1 answer

How to use add_tally() and add_count()

Hey, add_tally and add_count returns the count of ...READ MORE

Sep 10 in Data Analytics by Cherukuri
• 28,320 points
30 views
0 votes
1 answer

Filter using dplyr

@Sagar, use filter followed by condition for ...READ MORE

Sep 10 in Data Analytics by kiran
22 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
• 28,320 points
19 views
0 votes
0 answers

geom_point() in r

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

Aug 23 in Data Analytics by rachna
10 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
• 28,320 points
23 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
• 28,320 points
25 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
• 28,320 points
12 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
• 28,320 points
11 views
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
• 28,320 points
11 views
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
• 28,320 points
29 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
• 28,320 points
38 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
• 28,320 points
22 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
• 28,320 points
19 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
• 28,320 points
17 views
0 votes
1 answer

Difference between summarise() and summarize() in R

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

Sep 24 in Data Analytics by anonymous
127 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 in Data Analytics by kavitha
10 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
• 28,320 points
44 views
0 votes
1 answer

create data.frame with random numbers in R

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

Sep 23 in Data Analytics by Debasmita Das
152 views
0 votes
0 answers

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

How to crop white space around image(Magick) ...READ MORE

Aug 20 in Data Analytics by sreenivas
13 views
0 votes
0 answers

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

Error: Recommender method UCBF not implemented for ...READ MORE

Aug 20 in Data Analytics by kalyan
14 views
0 votes
2 answers

How to add an image to shiny application?

Hi Prachi. To include an image in the ...READ MORE

Aug 30 in Data Analytics by anonymous
• 28,320 points
33 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
• 28,320 points
18 views
0 votes
1 answer

How to include css code in shiny r app?

To include a CSS file, use includeCSS(), ...READ MORE

Aug 30 in Data Analytics by anonymous
• 28,320 points
39 views
0 votes
2 answers

How to call Rmarkdown from another R script?

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

Aug 20 in Data Analytics by anonymous
• 28,320 points
26 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
• 28,320 points
26 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
• 28,320 points
18 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
• 28,320 points
13 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
• 28,320 points
27 views