Trending questions in Data Analytics

0 votes
1 answer

R programming: 'predict() interval' difference between prediction and confidence

The intervals can include the uncertainty on ...READ MORE

Jan 16, 2019 in Data Analytics by Tyrion anex
• 8,700 points
680 views
0 votes
1 answer

R programming: loop difference

Use the lubridate package to do this: d$departure ...READ MORE

Jan 17, 2019 in Data Analytics by Sophie may
• 10,610 points
638 views
0 votes
1 answer

How to pass command line arguments to run a Rscript

1. For taking an argument from the ...READ MORE

Aug 6, 2018 in Data Analytics by Anmol
• 1,780 points
7,726 views
0 votes
1 answer

R programming: sapply() function

There are 2 ways to do it, ...READ MORE

Jan 23, 2019 in Data Analytics by Tyrion anex
• 8,700 points
317 views
+1 vote
0 answers

group By Sum

Hi, I want group By sum in R ...READ MORE

Jan 18, 2019 in Data Analytics by Rajendra

recategorized Jan 18, 2019 by Vardhan 560 views
0 votes
1 answer

Replace comma with a period in data cleaning using R

You can use the scan function in ...READ MORE

Nov 13, 2018 in Data Analytics by Maverick
• 10,840 points
3,338 views
0 votes
1 answer

Check if a matrix is diagonalizable in R Programming Language

On a given matrix, a, the first way ...READ MORE

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

R Programming error: twitteR OAuthFactory object

You need to install the following packages: install.packages(c('RO ...READ MORE

Jan 11, 2019 in Data Analytics by Tyrion anex
• 8,700 points
747 views
+5 votes
0 answers

"Error in tagAssert: argument "body" is missing, with no default" when trying to create a dashboard using shiny R

I'm trying to create a dashboard using ...READ MORE

Dec 11, 2018 in Data Analytics by Ali
• 11,360 points

edited Dec 11, 2018 by Ali 1,888 views
0 votes
1 answer

What is the paradigm of R language?

R provides features of object-oriented and functional programming ...READ MORE

Jan 10, 2019 in Data Analytics by Sophie may
• 10,610 points
719 views
0 votes
1 answer

Is there a way to terminate an R program without causing an error?

You can make use of the 'browser' ...READ MORE

Jan 10, 2019 in Data Analytics by Sophie may
• 10,610 points
713 views
0 votes
1 answer

Data slicing using R programming

You can perform data slicing by splitting the ...READ MORE

Jan 9, 2019 in Data Analytics by Tyrion anex
• 8,700 points
760 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,214 views
0 votes
1 answer

Does R provide support for tacit programming?

R has a package called magrittr. That's ...READ MORE

Jan 17, 2019 in Data Analytics by Sophie may
• 10,610 points
406 views
0 votes
1 answer

How can I measuring running time of R Code ?

5 ways to measure running time of ...READ MORE

Apr 17, 2018 in Data Analytics by anonymous
12,288 views
0 votes
1 answer

Concurrent Programming Using R

Concurrent programming has been supported by various ...READ MORE

Jan 9, 2019 in Data Analytics by Tyrion anex
• 8,700 points
734 views
0 votes
1 answer

R programming basics

There's a small change you can make, ...READ MORE

Jan 18, 2019 in Data Analytics by Tyrion anex
• 8,700 points
327 views
+1 vote
1 answer

R & MySQl : Error connecting to Database

Check the dbConnect's documentation, you must pass values ...READ MORE

Dec 14, 2018 in Data Analytics by Sophie may
• 10,610 points
1,754 views
+3 votes
3 answers

What is NLP? Can you tell me about its future?

When you ask Siri to give you ...READ MORE

Dec 18, 2018 in Data Analytics by Kalgi
• 52,360 points
1,375 views
0 votes
1 answer

R programming: Does the R language have reflection?

The answer to your question is yes. ...READ MORE

Jan 8, 2019 in Data Analytics by Sophie may
• 10,610 points
664 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,360 views
0 votes
1 answer

Report function outputs in R programming

In your case, you've stored the output ...READ MORE

Jan 14, 2019 in Data Analytics by Sophie may
• 10,610 points
370 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,044 views
+1 vote
1 answer

How to sendkeysElement using R?

You have silly typo errors in your ...READ MORE

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

Element wise multiplication in R

In R the simple vector multiplication gives ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
3,597 views
+1 vote
1 answer

Error saying "Error in .jfindClass(as.character(driverClass)[1]) : class not found " in R

Cassandra drivers seem to have dependencies that ...READ MORE

Dec 12, 2018 in Data Analytics by Maverick
• 10,840 points
1,686 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,047 views
+1 vote
2 answers

How to sort a data frame by columns in R?

You can use dplyr function arrange() like ...READ MORE

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

R programming: Plot color-coded map of world leader's age

In the structure of the value returned ...READ MORE

Jan 7, 2019 in Data Analytics by Tyrion anex
• 8,700 points
521 views
+1 vote
1 answer

Is it possible to change the column names of the dataset that I'm using in R?

That is definitely possible in R. You ...READ MORE

Dec 17, 2018 in Data Analytics by Anisha

edited Dec 17, 2018 1,384 views
0 votes
1 answer

Does R have an underlying C layer?

R is written in C language just ...READ MORE

Jan 8, 2019 in Data Analytics by Sophie may
• 10,610 points
402 views
0 votes
1 answer

Data segmentation using R programming

I tried solving your problem, try the ...READ MORE

Jan 5, 2019 in Data Analytics by Sophie may
• 10,610 points
478 views
0 votes
1 answer

What are special values in R

Like most programming languages, R has a ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
2,692 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,402 views
+10 votes
3 answers

Which is a better initiative to learn data science: Python or R?

Well it truly depends on your requirement, If ...READ MORE

Aug 9, 2018 in Data Analytics by Abhi
• 3,720 points
1,177 views
+1 vote
2 answers

Custom Function to replace missing values in a vector with the mean of values

Try this. lapply(a,function(x){ifelse(is.na(x),mean(a,na.rm = TRUE ...READ MORE

Aug 14, 2019 in Data Analytics by anonymous
1,655 views
0 votes
1 answer

Errors saying "Error: unexpected '}' in "}"

This is a syntax error: Enclose your if ...READ MORE

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

Error saying " Failed to connect to database: Error: Lost connection to MySQL server at 'handshake"

try this: library(RODBCext) sqlString <- "Select * from yourtable ...READ MORE

Nov 12, 2018 in Data Analytics by Maverick
• 10,840 points
2,614 views
+1 vote
1 answer

R Code : Combine two lists with different structures

You seem to be having an empty ...READ MORE

Dec 13, 2018 in Data Analytics by Shubham
• 13,490 points
1,234 views
+1 vote
1 answer

Building a Time series prediction model on web login timestamp

I had done something similar and ran ...READ MORE

Dec 7, 2018 in Data Analytics by Upasana
• 8,620 points
1,480 views
0 votes
1 answer

Error saying expected symbol in R

Write the code in the following way: myfunction ...READ MORE

Nov 9, 2018 in Data Analytics by Maverick
• 10,840 points
2,724 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,188 views
0 votes
1 answer

Error:Shadow graphics device error: r error 4 (R code execution error) when trying to use plot() and ggplot()

Its working perfectly fine with R version ...READ MORE

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

What does the inf special character mean in R?

inf stands for infinity and only applies ...READ MORE

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

Error saying "Error in rnorm() : argument "n" is missing, with no default" in R

Hey @ali, rnorm() function requires an argument, ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
3,061 views
+1 vote
1 answer

How to add grid in ggsurvplot without changing theme in R?

Try something like : j <- ggsurvplot( ...READ MORE

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

R Programming error in 'fert'

You're using a factor: fert <- factor(c(50,20,10,10,20,50)) levels(fert) #[1] ...READ MORE

Dec 28, 2018 in Data Analytics by Sophie may
• 10,610 points
470 views
+1 vote
1 answer

problem with tabitems in shiny R

Check your braces. Code tabitems after aws ...READ MORE

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

How can I append rows to an R data frame?

Consider a dataSet i.e cicar(present under library ...READ MORE

May 9, 2018 in Data Analytics by zombie
• 3,790 points
10,508 views