Trending questions in Data Analytics

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
2,019 views
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
2,011 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,966 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,536 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
3,141 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,849 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,976 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,798 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,536 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,690 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
3,041 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,465 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
13,257 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,787 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,608 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,464 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,482 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,849 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,475 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
3,096 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,373 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,473 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,901 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,593 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,610 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,479 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,494 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,526 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,702 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,395 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
2,125 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,493 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,473 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,684 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
2,089 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,334 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,650 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,762 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
2,010 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,397 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,615 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,484 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,848 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
2,116 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,539 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,855 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,581 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
2,164 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,738 views
+1 vote
3 answers

How to change column names of a Data frame?

Hi, To change the name of a column ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,460 points
3,289 views