Trending questions in Data Analytics

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
• 32,890 points
164 views
0 votes
1 answer

Tibble vs Dataframe

Hi Shilpa, The differences are - 1. Tibble ...READ MORE

Aug 25, 2019 in Data Analytics by anonymous
• 32,890 points
860 views
0 votes
1 answer

fetch all rows with null values in dataframe or dataset - R

Use below code -  which(is.na(air)) is.na() will return a boolean ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 32,890 points
2,601 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
• 32,890 points
110 views
0 votes
1 answer

provide a delay to call function in r

Hi, Mehareen slowly() takes a function and modifies ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 32,890 points
103 views
0 votes
1 answer

Simulation of a stochastic processes with drift

Check out below code. It's an example to ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 32,890 points
107 views
0 votes
1 answer

Convert hclusters to tree in R

Hi Kalyan, 1. Create hcluster using hclust for example, object <- ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 32,890 points
93 views
0 votes
0 answers

Convert nested list to dendogram - R

How to convert nested lists to dendrogram? ...READ MORE

Aug 30, 2019 in Data Analytics by ramya
130 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
• 32,890 points
105 views
0 votes
1 answer

How to render outputs of few elements(graphs) in shiny app?

hi Racheal, You can isolate those outputs which ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 32,890 points
89 views
0 votes
1 answer

different ways of reading text files in R?

Hi Payal, These are the ways to read ...READ MORE

Aug 29, 2019 in Data Analytics by Cherukuri
• 32,890 points
100 views
0 votes
0 answers

display first n numbers in a sequence

How to display first n numbers in ...READ MORE

Aug 30, 2019 in Data Analytics by chitra

edited Aug 30, 2019 65 views
0 votes
1 answer

Extract text from image in R

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

Aug 6, 2019 in Data Analytics by anonymous
• 32,890 points
1,036 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
252 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
• 32,890 points
699 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
232 views
0 votes
1 answer

Read an image into r

There are different packages that read images ...READ MORE

Aug 25, 2019 in Data Analytics by anonymous
• 32,890 points
582 views
0 votes
1 answer

How to put border for all legends together and separate borders for each legend in ggplot?

Hi Anitha, There are 2 functions used to ...READ MORE

Jul 24, 2019 in Data Analytics by Cherukuri
• 32,890 points
1,550 views
0 votes
1 answer

Summarize with a condition

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

Aug 7, 2019 in Data Analytics by anonymous
• 32,890 points
885 views
0 votes
1 answer

Rmarkdown color to inline and block text

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

Sep 17, 2019 in Data Analytics by anonymous
• 32,890 points
115 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, 2019 in Data Analytics by Cherukuri
• 32,890 points
103 views
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 25, 2019 in Data Analytics by anonymous
• 32,890 points
80 views
0 votes
1 answer

Importance of fields in the dataset in randomforest

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

Aug 25, 2019 in Data Analytics by anonymous
• 32,890 points
74 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, 2019 in Data Analytics by anonymous
• 32,890 points
106 views
0 votes
1 answer

Filter using dplyr

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

Sep 10, 2019 in Data Analytics by kiran
207 views
0 votes
1 answer

What is the difference between corrgram and corrplot?

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

Aug 20, 2019 in Data Analytics by anonymous
• 32,890 points
247 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
• 32,890 points
78 views
0 votes
1 answer

How to format output in shiny app?

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

Aug 20, 2019 in Data Analytics by anonymous
• 32,890 points
236 views
0 votes
1 answer

Append r output in the title of rmarkdown document

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

Sep 10, 2019 in Data Analytics by priya
107 views
0 votes
1 answer

Contingency tables in R

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

Aug 21, 2019 in Data Analytics by anonymous
• 32,890 points
174 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, 2019 in Data Analytics by anonymous
• 32,890 points
163 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, 2019 in Data Analytics by sindhu
68 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
• 32,890 points
146 views
0 votes
1 answer

ggplot2 - scatter plot with boxplot to show the outliers

Add another layer of scatter plot on ...READ MORE

Aug 1, 2019 in Data Analytics by Cherukuri
• 32,890 points
979 views
0 votes
1 answer

Search elements in a vector or list

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

Aug 21, 2019 in Data Analytics by Cherukuri
• 32,890 points
99 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
75 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
• 32,890 points
68 views
0 votes
1 answer

Return the current working directory in R

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

Aug 21, 2019 in Data Analytics by anonymous
• 32,890 points
63 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, 2019 in Data Analytics by anonymous
• 32,890 points
97 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
• 32,890 points
146 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
67 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
• 32,890 points
80 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
• 32,890 points
108 views
0 votes
0 answers

Add filters to reactive output in shiny

I created a shiny app to calculate ...READ MORE

Aug 13, 2019 in Data Analytics by aditya
293 views
0 votes
1 answer

Display no labels in plot - R ggplot

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

Aug 20, 2019 in Data Analytics by anonymous
• 32,890 points
101 views
0 votes
1 answer

Calculate running total

Hi rubini, Use accumulate or reduce function to ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
71 views
0 votes
1 answer

Summarize only number or integer columns in the dataframe.

Hi, Payal. Use the below function. data frame %>% ...READ MORE

Aug 25, 2019 in Data Analytics by anonymous
• 32,890 points
72 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 13, 2019 in Data Analytics by kajal
185 views
0 votes
0 answers

Remove specific elements from list using condition in R

How to remove specific elements from list ...READ MORE

Aug 13, 2019 in Data Analytics by radha
183 views
0 votes
1 answer

2 dataframes in single dplyr pipeline

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

Aug 20, 2019 in Data Analytics by anonymous
• 32,890 points
71 views