Most viewed questions in Data Analytics

0 votes
1 answer

How can I import a file in R without giving the destination/file path to the specified file?

You can use the window explorer to ...READ MORE

Aug 28, 2018 in Data Analytics by Abhi
• 3,720 points

edited Aug 28, 2018 by Vardhan 2,483 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,412 views
0 votes
1 answer

Error saying "Error in install.packages(rvest) : object 'rvest' not found" when trying to install a package in R

In this line, Install.packages(“rvest”) Add rvest inside double ...READ MORE

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

What ~ (tilde) command do?

Something that characterizes formulas in R is ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
2,395 views
0 votes
1 answer

Converting R data-frame to h2o object

All you have to do is run ...READ MORE

Apr 3, 2018 in Data Analytics by Bharani
• 4,660 points
2,385 views
+4 votes
3 answers

Issue with dynamic messages when creating a dashboard using shiny R

I had a wrong argument to one ...READ MORE

Dec 3, 2018 in Data Analytics by Ali
• 11,360 points
2,375 views
0 votes
1 answer

unable to install reprtree package

The solution to the same issue is ...READ MORE

Nov 2, 2019 in Data Analytics by Cherukuri
• 33,030 points
2,371 views
+1 vote
1 answer

Error saying "could not find function "shinyUI"" in shiny R

Its a small spelling mistake that you've ...READ MORE

Nov 28, 2018 in Data Analytics by Maverick
• 10,840 points
2,363 views
0 votes
1 answer

Univariate/ Bivariate/ Multivariate

Univariate: These analyses are descriptive statistical analysis techniques which ...READ MORE

Jul 13, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
2,360 views
0 votes
1 answer

What is the difference between library () and require () functions in R ?

 library() require() Library () function gives an error message ...READ MORE

Sep 5, 2018 in Data Analytics by zombie
• 3,790 points
2,359 views
0 votes
1 answer

Does gradient descent methods always converge to same point?

No, they always don't. That's because in ...READ MORE

Aug 7, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
2,340 views
0 votes
1 answer

Tokenizing text file generates error using word tokenize_words

Hi Bolder, As you are using the delim ...READ MORE

Aug 28, 2018 in Data Analytics by Abhi
• 3,720 points
2,335 views
0 votes
1 answer

How to create dummy variables based on a categorical variable of lists in R?

You can use mtabulate in the following way: library(qdapTools) cbind(data[1], ...READ MORE

Apr 13, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
2,335 views
0 votes
1 answer

Error in library("xlsx") : there is no package called ‘xlsx’.

Hi@akhtar, You can use the following command in ...READ MORE

Oct 29, 2020 in Data Analytics by MD
• 95,440 points
2,320 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
2,297 views
0 votes
1 answer

"no applicable method" Error in r programming

This is caused by using an object-oriented ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,360 points
2,278 views
0 votes
1 answer

How to stack scatterplot in ggplot2?

Use melt() to reshape your data with total as a factor ...READ MORE

May 8, 2018 in Data Analytics by Sahiti
• 6,370 points
2,273 views
0 votes
1 answer

Different types of seasonality in time series modelling

Seasonality in time series occurs when the ...READ MORE

Aug 9, 2018 in Data Analytics by DataKing99
• 8,240 points
2,270 views
0 votes
1 answer

R - any_vars and all_vars() functions

Hi, Chaitra The main difference between them is ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
2,267 views
+1 vote
1 answer

What are the drawbacks of trycatch method?

These are the drawbacks of using try-catch: You ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,360 points
2,254 views
+2 votes
4 answers

Which tool Should I learn first Tableu or SAS

Hello I think it will be very much ...READ MORE

Mar 13, 2019 in Data Analytics by MrBoot
• 1,190 points
2,249 views
0 votes
1 answer

Function to check if matrix empty or not

here is some question of what is ...READ MORE

Oct 29, 2018 in Data Analytics by Maverick
• 10,840 points
2,228 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,225 views
0 votes
1 answer

How to check if a directory exists and how to create and create if doesn't exist?

You can use showWarnings = FALSE NOTE:  showWarnings ...READ MORE

Apr 17, 2018 in Data Analytics by DataKing99
• 8,240 points
2,216 views
+1 vote
1 answer

Error when trying to execute something reactive on shiny R

There seem to be some issues in ...READ MORE

Dec 6, 2018 in Data Analytics by Maverick
• 10,840 points
2,215 views
0 votes
1 answer

Count the digits in a Numpy array

Hey, @Sourav, We can solve this with the ...READ MORE

Apr 21, 2020 in Data Analytics by Gitika
• 65,910 points
2,208 views
0 votes
1 answer
0 votes
1 answer

How to set the width of navlistPanel in Shiny? - R

The widths are the widths of the ...READ MORE

Jun 13, 2020 in Data Analytics by anonymous
2,202 views
0 votes
1 answer

How to convert a dataframe into json data?

Hi, kalyan. Use toJSON function from jsonlite package. ...READ MORE

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

How do I convert data frame to csv file in R?

Hey @Ali, its very simple one line ...READ MORE

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

pie chart using ggplot - R

Hi, even I was searching for this ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
2,166 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,156 views
0 votes
0 answers

Join 2 columns based on condition in R

How to join 2 columns in R ...READ MORE

Jul 1, 2019 in Data Analytics by nikita
2,134 views
0 votes
1 answer

Error in source("myfunction.R") : myfunction.R:2:3: unexpected symbol 1: 2: R version

Try formatting your code like this: myfunction <- ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
2,133 views
0 votes
2 answers

What is difference between Distributed search head and Search head cluster?

 A distributed environment describes the separation of ...READ MORE

Dec 4, 2018 in Data Analytics by Ali
• 11,360 points
2,106 views
0 votes
1 answer

Error in library("RMySQL") : there is no package called ‘RMySQL’.

Hi@akhtar, R has a built-in package named "RMySQL" ...READ MORE

Oct 29, 2020 in Data Analytics by MD
• 95,440 points
2,104 views
+1 vote
1 answer

"subscript out of bounds" error in while executing simple R program

This is caused by trying to access ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,360 points
2,098 views
0 votes
1 answer

Error in ggplot(iris, aes(x = Species, y = Sepal.Length)) : could not find function "ggplot"

Hi@akhtar, You have to install ggplot module in ...READ MORE

Jun 10, 2020 in Data Analytics by MD
• 95,440 points
2,088 views
0 votes
1 answer

How do I remove an element from a list by index in R?

Use list[index] = NULL The list value will ...READ MORE

Oct 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
2,088 views
0 votes
1 answer

What does the double percentage sign (%%) mean?

According to the "Arithmetic operators" help page ...READ MORE

Jun 14, 2022 in Data Analytics by Sohail
• 3,040 points
2,086 views
0 votes
1 answer

What is withCallingHandlers and how does it work?

withCallingHandlers works similar to tryCatch but remembers the call stack down ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,360 points
2,085 views
0 votes
1 answer

How to import data from a Json file into R?

Easy and simple: library("rjson") json_file <- "file_name" json_data <- fromJSON(file=json_file)) or ...READ MORE

Apr 26, 2018 in Data Analytics by DeepCoder786
• 1,720 points
2,078 views
0 votes
1 answer

How can I suppress warnings globally in an R Script ?

You can use: options(warn=-1) // turning off warnings ...READ MORE

May 30, 2018 in Data Analytics by zombie
• 3,790 points
2,074 views
+1 vote
1 answer

How to calculate relative risk in R language?

The risk can be calculated by using ...READ MORE

Feb 20, 2019 in Data Analytics by Sophie may
• 10,610 points
2,069 views
0 votes
1 answer

Error saying "Error: package or namespace load failed for ‘FactoMineR’" when using data mining on RStudio

Try reinstalling the package quantreg. Hope this works. Its ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
2,045 views
0 votes
1 answer

Error in library(RColorBrewer) : there is no package called ‘RColorBrewer’

Hi@akhtar, It may happen that some libraries are ...READ MORE

Oct 28, 2020 in Data Analytics by MD
• 95,440 points
2,028 views
0 votes
1 answer

By using dpylr package sum of multiple columns

Basically here we are making an equation ...READ MORE

Apr 5, 2018 in Data Analytics by DeepCoder786
• 1,720 points
2,025 views
0 votes
1 answer

13) The two data sources that telecom operators can leverage for Analytics are __________

Option a. Network and Source data READ MORE

Dec 3, 2020 in Data Analytics by Gitika
• 65,910 points
2,015 views
0 votes
2 answers

What is the difference between %% and % in R programming?

HI, %% returns remainder in case of numeric ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
2,009 views
0 votes
1 answer

Difference between Bayesian Estimate and Maximum Likelihood Estimation

In the Bayesian estimate, we have some ...READ MORE

Aug 9, 2018 in Data Analytics by DataKing99
• 8,240 points
2,008 views