Most answered questions in Data Analytics

0 votes
1 answer

Anova Analysis vs KMeans - R

The main difference between them is that ...READ MORE

Oct 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,577 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,030 points
669 views
0 votes
1 answer

ggplot2 - scatter plot with boxplot to show the outliers

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

Aug 2, 2019 in Data Analytics by Cherukuri
• 33,030 points
2,706 views
0 votes
1 answer

Change ggplot2 default color palette

If the scale is continuous, then you can ...READ MORE

Aug 20, 2019 in Data Analytics by anonymous
• 33,030 points
3,845 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,030 points
558 views
0 votes
1 answer

Shiny app - tabs refresh content

Asha, It's very important to not add too ...READ MORE

Sep 24, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,633 views
0 votes
1 answer

R - Split date into dd,mm,yy

I use superstore data and show how ...READ MORE

Oct 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,737 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
• 33,030 points
689 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, 2019 in Data Analytics by rahul

edited Sep 17, 2019 7,111 views
0 votes
1 answer

What are the different types of input for parameters in rmarkdown?

There are different types of inputs that ...READ MORE

Jul 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,145 views
0 votes
1 answer

File selection for parameter in rmarkdown

A small example -  params: dataset: ...READ MORE

Jul 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
617 views
0 votes
1 answer

List inputs for parameter selection

Use choices attribute to provide a list ...READ MORE

Jul 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
569 views
0 votes
1 answer

Provide selection of parameter in rmarkdown

Use choices attribute to provide a list ...READ MORE

Jul 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
579 views
0 votes
1 answer

rmarkdown Parameters declaration and using parameters

Create parameters using params attribute inside Rmarkdown ...READ MORE

Jul 31, 2019 in Data Analytics by anonymous
1,027 views
0 votes
1 answer

Error: object 'params' not found.

@pragyat, Remove " " around data value in ...READ MORE

Nov 4, 2019 in Data Analytics by priya
3,011 views
0 votes
1 answer

parameterized reports using RMarkdown

Add params attribute like below specifying dataset ...READ MORE

Nov 4, 2019 in Data Analytics by kamal
1,018 views
0 votes
1 answer

display the output r code as title in R script Rmarkdown script to html page

Use the file input from parameter and ...READ MORE

Jul 31, 2019 in Data Analytics by anonymous
1,360 views
0 votes
1 answer

Display only output and caption with any warnings or code in Rmarkdown

Use echo=FALSE and fig.cap = "caption in ...READ MORE

Jul 31, 2019 in Data Analytics by anonymous
637 views
0 votes
1 answer

Packages to send mails from R

There are different packages available to send ...READ MORE

Jul 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
477 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
516 views
0 votes
1 answer

List all dataframes in R session.

Try this. for(x in ls()){   if("data.frame" %in% ...READ MORE

Nov 4, 2019 in Data Analytics by anonymous
• 33,030 points
3,256 views
0 votes
1 answer

cant open a json file in r

You can use the package jsonlite to read ...READ MORE

Nov 4, 2019 in Data Analytics by pallavi
1,096 views
0 votes
1 answer

Send mail from R script

Hi,  You can visit these link here, It ...READ MORE

Jul 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
632 views
0 votes
1 answer

R interactive maps

If you are using Tmap then change ...READ MORE

Jul 30, 2019 in Data Analytics by anonymous
• 33,030 points
616 views
0 votes
1 answer

Read from database and store in R as dataframe

Your code would fetch you a MySQL ...READ MORE

Jul 30, 2019 in Data Analytics by anonymous
• 33,030 points
1,052 views
0 votes
1 answer

Store a built in dataset or dataframe from R to database

dbWriteTable() function allows you to store data ...READ MORE

Jul 30, 2019 in Data Analytics by anonymous
• 33,030 points
1,004 views
0 votes
1 answer

Clustering strings in R

Convert the field as factors and use ...READ MORE

Jul 30, 2019 in Data Analytics by anonymous
• 33,030 points
875 views
0 votes
1 answer

Extract data fron R dataset

You can use the dplyr package,  Convert the ...READ MORE

Jul 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
523 views
0 votes
1 answer

Sunburst charts using plotly

See below example library(plotly) p <- plot_ly( labels ...READ MORE

Nov 3, 2019 in Data Analytics by Cherukuri
• 33,030 points
2,150 views
0 votes
1 answer

Waterfall chart using plotly in R

A simple waterfall chart using plotly - df ...READ MORE

Nov 2, 2019 in Data Analytics by Cherukuri
• 33,030 points
2,797 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,030 points
927 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,030 points
578 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,030 points
711 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,030 points
1,088 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,030 points
919 views
0 votes
1 answer

Convert character to integer type - R

Use substring() function to extract value from ...READ MORE

Nov 3, 2019 in Data Analytics by Cherukuri
• 33,030 points
10,083 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,030 points
599 views
0 votes
1 answer

How to check row value of one column wrt another column?

Hi ratna, For suppose DF is the DataFrame ...READ MORE

Jul 26, 2019 in Data Analytics by anonymous
786 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,030 points
999 views
0 votes
1 answer

Add secondary axis as a dual axis in R plot

You can add a secondary axis in ...READ MORE

Nov 4, 2019 in Data Analytics by keerthi
2,003 views
0 votes
1 answer

Duplicate axis for a R plot

Add duplicate axis using dup.axis attribute like ...READ MORE

Nov 4, 2019 in Data Analytics by radha
1,748 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
2,445 views
0 votes
1 answer

Change the order of multiple legends in ggplot

Hi Radha, You can change the order of ...READ MORE

Jul 24, 2019 in Data Analytics by Cherukuri
• 33,030 points
24,688 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
• 33,030 points
5,271 views
0 votes
1 answer

How to convert a continuous variable to discrete variable and vice versa in R?

Discretize function convert a continuous variable into ...READ MORE

Nov 4, 2019 in Data Analytics by rajeev
4,199 views
0 votes
1 answer

Change the order of legend values in a plot in R

@prardhana, Use scale_fill/color/size_discrete/contin....(labels = c()). compare both to see ...READ MORE

Nov 4, 2019 in Data Analytics by payal
1,941 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,030 points
761 views
0 votes
1 answer

plot a line chart along with point labels in the plot

Follow the below steps: 1. Create a ggplot ...READ MORE

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

which to use fill or color to show colors in R plots?

The color attribute is only used for ...READ MORE

Nov 4, 2019 in Data Analytics by komal
1,748 views
0 votes
1 answer

Create a dual axis column/bar chart using ggplot in R

Add position = "stack" in geom_bar() function ...READ MORE

Nov 4, 2019 in Data Analytics by sindhu
4,531 views