Most viewed questions in Data Analytics

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,030 points
1,124 views
0 votes
1 answer

What is active binding in R programming

Active bindings in R are much like ...READ MORE

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

Issue while running Oozie job

Dear Learner, Hope you are doing well. To overcome ...READ MORE

Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
1,121 views
0 votes
1 answer

Draw boxplot with notch in R.

Hi@akhtar, We can draw a boxplot with a ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,440 points
1,116 views
0 votes
1 answer

Concatenate 2 strings in R

You can use the paste() command: You can ...READ MORE

Apr 14, 2018 in Data Analytics by Sahiti
• 6,370 points
1,109 views
0 votes
0 answers

Error saying "could not find function "html_text"" when using html_text function in R

I'm trying to web scrap a page ...READ MORE

Nov 21, 2018 in Data Analytics by Ali
• 11,360 points
1,104 views
0 votes
1 answer

Error saying "R cannot be resolved" on eclipse while running a simple application

Every time you get this error, check ...READ MORE

Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
1,103 views
0 votes
2 answers

How do you build a custom function in Python?

Function arguments in Python In Python, Custom functions ...READ MORE

Sep 4, 2018 in Data Analytics by shams
• 3,670 points
1,100 views
0 votes
1 answer

Caret and Shiny R giving error

try this server.R code: server=function(input, output){ values ...READ MORE

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

How can I control the size of points in an R scatterplot?

plot(variable, type='o' , pch=5, cex=.3) The pch argument ...READ MORE

May 3, 2018 in Data Analytics by shams
• 3,670 points
1,084 views
0 votes
1 answer

What does 'r' mean before a Regex pattern?

Since the string is to be treated ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
1,082 views
0 votes
1 answer

How to create a new R6 Class in R?

You have to first create an object ...READ MORE

Jul 5, 2018 in Data Analytics by DataKing99
• 8,240 points
1,072 views
0 votes
1 answer

Error: package or namespace load failed for ‘arulesViz’ in R

I installed package KernSmooth and it seemed ...READ MORE

Sep 4, 2020 in Data Analytics by Chandrakant
• 140 points
1,071 views
0 votes
1 answer

Error saying "object 'mvnorm' not found"

You seem to have made a small ...READ MORE

Nov 9, 2018 in Data Analytics by Maverick
• 10,840 points
1,069 views
0 votes
1 answer

How to import text file as a single character string?

First way: rd<-readChar("temp.txt",file.info("temp.txt")$size) ...READ MORE

Apr 23, 2018 in Data Analytics by DeepCoder786
• 1,720 points
1,068 views
0 votes
1 answer

Selecting a sublist with purrr

Yes, purrr does provide a package called ...READ MORE

Apr 4, 2018 in Data Analytics by Bharani
• 4,660 points
1,064 views
0 votes
1 answer

Building Random Forest on a data-set comprising of missing(NA) values

You have two options, either impute the ...READ MORE

Apr 3, 2018 in Data Analytics by Bharani
• 4,660 points
1,060 views
0 votes
1 answer

Removing all objects from work-space except one - R

You can use the 'keep()' function from ...READ MORE

May 17, 2018 in Data Analytics by Bharani
• 4,660 points
1,059 views
0 votes
1 answer

R programming: How to pass variables from a r program to mysql function?

To include the R variables called start.date and end.date, you can use paste to ...READ MORE

Dec 28, 2018 in Data Analytics by Tyrion anex
• 8,700 points
1,057 views
0 votes
1 answer

How can I create log linear models in R language?

By using the loglm () function  READ MORE

Oct 10, 2018 in Data Analytics by zombie
• 3,790 points
1,057 views
0 votes
1 answer

On a given dataset would time taken to train n - random forest be equal to time taken to train n X (Decision tree)

No, the time to train the random ...READ MORE

Jul 24, 2018 in Data Analytics by Abhi
• 3,720 points
1,057 views
0 votes
1 answer

R programming: Finding the difference between 2 vectors

Try this function, it worked for me: f ...READ MORE

Dec 28, 2018 in Data Analytics by Sophie may
• 10,610 points
1,054 views
0 votes
1 answer

Error saying "ERROR: unused argument (menuItem("Amazon-web-service"))"

This error usually means you're screwing the ...READ MORE

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
1,054 views
0 votes
1 answer

Create markerclusters in leaflet

Hi, It's quite simple, add below snippet along ...READ MORE

Sep 23, 2019 in Data Analytics by ch
• 3,450 points
1,052 views
+1 vote
1 answer

Difference between validation set and a test set

Validation set can be considered as a part ...READ MORE

Jul 24, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
1,051 views
0 votes
0 answers

R function rep() in Python (replicates elements of a list/vector)

Each element of a vector is duplicated ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
1,047 views
+1 vote
3 answers

Which language should I learn when starting career as data scientist - R or Python

I'll put down a few parameters on ...READ MORE

Oct 26, 2018 in Data Analytics by Kalgi
• 52,360 points
1,047 views
0 votes
1 answer

Error saying "Failed to get an access token." when trying to access my Google Analytics API

Try this: library(RGoogleAnalytics) oauth_token <- Auth( client.id = ...READ MORE

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

When scoring a logistic regression model , is having the predicted variable in test dataset mandatory ?

Answer to your follow up question: We can ...READ MORE

Oct 17, 2018 in Data Analytics by Anmol
• 1,780 points
1,045 views
+2 votes
1 answer

How to use points?

Mack, please give us your registered email ...READ MORE

Jul 17, 2019 in Data Analytics by Prashanth
• 180 points
1,038 views
0 votes
1 answer

How to create a list of Data frames?

Basically all we have to do is ...READ MORE

Apr 9, 2018 in Data Analytics by DeepCoder786
• 1,720 points
1,037 views
0 votes
1 answer

How to set global variables in R

To set global variables, you can use ...READ MORE

Apr 24, 2018 in Data Analytics by kappa3010
• 2,090 points
1,034 views
+1 vote
0 answers

How to zip a folder with r image files from RStudio?

How to zip a folder with r ...READ MORE

Oct 10, 2019 in Data Analytics by ch
• 3,450 points
1,028 views
0 votes
1 answer

How can I reactively add actionButtons to the tableOutput?

Use DT for this purpose: library(shiny) library(DT) ui <- fluidPage( ...READ MORE

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

How to arrange ggplots in custom order?

You can arrange a ggplot by using ...READ MORE

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

How to create Heatmap for visualizing my dataset?

Hi@akhtar, You have to import seaborn module to ...READ MORE

May 4, 2020 in Data Analytics by MD
• 95,440 points
1,021 views
+1 vote
1 answer

R has something called lazy evaluation, what does that mean?

Let me explain this with an example. ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,360 points
1,016 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
• 33,030 points
1,010 views
0 votes
2 answers

PCA model in R

Principal component analysis (PCA) is routinely employed on ...READ MORE

Jul 19, 2018 in Data Analytics by zombie
• 3,790 points
1,008 views
0 votes
1 answer

Confusion matrix in R

A confusion matrix can be used to ...READ MORE

Jul 5, 2018 in Data Analytics by DataKing99
• 8,240 points
1,008 views
0 votes
1 answer

R numbers from 1 to 100

Your error is seeking for range, which ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
1,007 views
+1 vote
1 answer

Error in .External.graphics - R

You need to install arulesViz package,and load ...READ MORE

Jul 8, 2019 in Data Analytics by sindhu
1,003 views
0 votes
1 answer

Error saying "Error in lapply(rdmTweets, as.data.frame) : object 'rdmTweets' not found"

You need to load the data file ...READ MORE

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

use of tilde in R

One use of ~ is to mention ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,030 points
1,001 views
0 votes
1 answer

What does "pch" stand for?

Plot character or pch is the standard ...READ MORE

Jun 23, 2022 in Data Analytics by Sohail
• 3,040 points
997 views
0 votes
2 answers

"Train" and "Test" sets in Data Science

Normally to perform supervised learning you need ...READ MORE

Aug 3, 2018 in Data Analytics by Abhi
• 3,720 points
997 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
991 views
0 votes
1 answer

What are R tools

Rtools provides a toolchain for Windows platform ...READ MORE

Oct 26, 2018 in Data Analytics by Kalgi
• 52,360 points
990 views
0 votes
2 answers

how to convert a data frame into a list in R

Convert whole data frame into a list?? ...READ MORE

Sep 4, 2019 in Data Analytics by anonymous
• 33,030 points
979 views
0 votes
1 answer

How to color geom_bar by y-axis values?

You can use cut ggplot(cars, aes(x = as.factor(cyl))) + ...READ MORE

Dec 6, 2018 in Data Analytics by Maverick
• 10,840 points
976 views