Trending questions in Data Analytics

0 votes
1 answer

What is a chi Squared value?

The chi-squared statistic is a single number that tells ...READ MORE

Nov 3, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,834 views
0 votes
1 answer

How to deploy shiny app to shinyapps.io?

There are 2 ways to deploy shiny ...READ MORE

Nov 4, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,834 views
0 votes
1 answer

How to create color functions for mappers in lealet?

Hey, Create a function using colorNumeric.Factor/bins. Then call ...READ MORE

Sep 25, 2019 in Data Analytics by anonymous
• 33,050 points
1,362 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,050 points
2,683 views
0 votes
1 answer

R chart using plotly

Plot_ly example library(plotly) today <- Sys.Date() tm <- ...READ MORE

Nov 4, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,781 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, 2019 in Data Analytics by anonymous
• 33,050 points
2,947 views
0 votes
1 answer

plot map points from a dataframe

Hi Peter, Use below code. leaflet(df) %>% addTiles() %>% ...READ MORE

Sep 17, 2019 in Data Analytics by priya
1,625 views
0 votes
1 answer

Save lefalet maps as html output

Use saveWidget to save the output as ...READ MORE

Sep 23, 2019 in Data Analytics by anonymous
• 3,450 points
1,345 views
0 votes
0 answers

Allow user input on maps

Can anyone explain how to add controls ...READ MORE

Sep 24, 2019 in Data Analytics by ch
• 3,450 points
1,335 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,050 points
2,837 views
+7 votes
4 answers

How can I include javascript code into my shiny R dashboard?

There are multiple ways doing this. One ...READ MORE

Dec 5, 2018 in Data Analytics by Maverick
• 10,840 points
7,677 views
0 votes
1 answer

R - Dummy variable creation

@Uday, dummy variables can be created using ...READ MORE

Nov 4, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,444 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,050 points
1,285 views
0 votes
1 answer

Motion chart in R

A simple motion scatter chart using the ...READ MORE

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

Add custom lines/sentences within ggplot

Use geom_text along with position and text ...READ MORE

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

How can I add line to show mean for each barplot, not for all dataset?

Hey ranjith,  Use geom_hline() function to add reference lines ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,279 views
0 votes
1 answer

How to add ggplot over each other?

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

Nov 3, 2019 in Data Analytics by anonymous
• 33,050 points
1,296 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,050 points
1,208 views
0 votes
1 answer

Show count of unique values for each value in the field in dataframe

Hi, Use below r code. For one field, you ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,050 points
2,894 views
0 votes
0 answers

Add multiple maps over each other

How to multiple layers of maps over ...READ MORE

Sep 19, 2019 in Data Analytics by anonymous
• 33,050 points
1,315 views
+1 vote
1 answer

Error saying "Error in file(out, "wt") : cannot open the connection" when execute help command in r

Hey @Ali, change working dir, exit r ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
14,296 views
0 votes
1 answer

ggplot2 - Adjust plot titles,labels

Vjust and hjust attributes are used to set ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,437 views
0 votes
1 answer

Unable to install TA-Lib on Pycharm

It took me a while to solve ...READ MORE

May 15, 2019 in Data Analytics by Sophie may
• 10,620 points
6,706 views
0 votes
1 answer

How to create a Heatmap in R?

Its very simple. Use heatmap function and ...READ MORE

Nov 3, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,421 views
0 votes
1 answer

Rearrange columns while fetching from datasource

You cannot reorder the columns like below. suppose ...READ MORE

Nov 4, 2019 in Data Analytics by rajeev
1,330 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,050 points
2,297 views
0 votes
1 answer

ggplot2 - Convert the labels in %.

Use geom_label or geom_text and provide labels ...READ MORE

Oct 30, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,361 views
0 votes
0 answers

fix the map area using leaflet and use ggplot

I created a map using leaflet and ...READ MORE

Sep 18, 2019 in Data Analytics by anonymous
• 33,050 points
1,234 views
0 votes
2 answers

How can you find total number of null values in a dataset column wise?

data['Column Name'].isnull().sum() READ MORE

May 7, 2020 in Data Analytics by anonymous
3,459 views
0 votes
2 answers

Error with installing ggplotly.

@bobby, uninstall Rtools and reinstall Rtools with ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,050 points
1,922 views
0 votes
1 answer

plot trees in R

Hi, Vijay. You can create trees using different ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,050 points
1,932 views
0 votes
1 answer

How to get interactive plots in R?

The best packages for creating interactive visualizations ...READ MORE

Nov 2, 2019 in Data Analytics by anonymous
• 33,050 points
1,300 views
0 votes
1 answer

Aggregation of fields vs field value line chart in R

Of course, it can be done. Let ...READ MORE

Nov 3, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,295 views
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,050 points
1,488 views
0 votes
1 answer

Hide code while running markdown html document

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

Sep 10, 2019 in Data Analytics by kamal
2,157 views
0 votes
1 answer

How to provide color to ggplot scatter chart depending on field value?

cyl is a continuous value field, so ...READ MORE

Nov 2, 2019 in Data Analytics by anonymous
• 33,050 points
1,470 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,050 points
1,608 views
0 votes
1 answer

What are the different ways of writing into file from R?

Hi Payal, These are the ways to write text ...READ MORE

Aug 29, 2019 in Data Analytics by anonymous
• 33,050 points
1,838 views
0 votes
2 answers

How to subset rows containing NA in a chosen column of a data frame?

You can give this a try. subset(dataframe, is.na(dataframe$col2)) ...READ MORE

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

Grouping/bining of variables using Rcmdr

@kriti, Select the data model, Go to ...READ MORE

Nov 4, 2019 in Data Analytics by rubini
1,220 views
0 votes
1 answer

Convert markdown pages into interactive shiny apps.

Hi, Follow the below steps: 1. Add shiny runtime ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,050 points
1,698 views
0 votes
1 answer

Draw lines/plot without dataset - R

Hi @raghav, You can draw specific graphs only ...READ MORE

Jul 24, 2019 in Data Analytics by anonymous
3,285 views
0 votes
1 answer

How to create a tree like structure from R list/vector?

Hi, puja. Use below function to create a ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,050 points
1,663 views
0 votes
1 answer

2 dataframes in single dplyr pipeline

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

Aug 21, 2019 in Data Analytics by anonymous
• 33,050 points
2,365 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, 2019 in Data Analytics by kamal
1,916 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
4,310 views
0 votes
1 answer

R - convert tree to nested list

Hi Akshay, To convert data.tree structure to a list-of-list ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,050 points
1,571 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,050 points
1,984 views
0 votes
0 answers

Error installing mailR package.

Error installing mailR package. Below error in console. ...READ MORE

Sep 3, 2019 in Data Analytics by nitya
1,414 views
0 votes
1 answer

How to convert a list to data frame in R?

Let's assume your list of lists is ...READ MORE

Apr 12, 2018 in Data Analytics by nirvana
• 3,090 points

edited Apr 12, 2018 by nirvana 23,325 views