Most answered questions in Data Analytics

0 votes
1 answer

R Programming: Converting lists

Try this: a<-list(c("a", "b"), c("c", "d"), c("e", "f")) t(data ...READ MORE

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

R Programming: Predicting Outliers

You can remove outliers without a loop, ...READ MORE

Jan 28, 2019 in Data Analytics by Sophie may
• 10,610 points
608 views
+2 votes
1 answer

R programming: Drawing an xbar and R chart using qcc package

Try this: #x-Bar library(qcc) x=c(1080͵ 1390͵ 1460͵ ...READ MORE

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

Can I schedule an R program to run on a daily basis?

Make use of the standard operating system facilities ...READ MORE

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

How to convert JSON into CSV in R programming?

Use the jsonlite::fromJSON to read the data into ...READ MORE

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

R programming: Missing value error

You can achieve this by wrapping isTRUE() around your if-condition: for ...READ MORE

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

R programming: glm() function

Since you mentioned you have factorized variables, ...READ MORE

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

R programming: Flip coin simulation

Make use of the ggplot2 package. Start by installing and ...READ MORE

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

Is it possible to link the R language and Julia?

R has a specific package just for ...READ MORE

Jan 21, 2019 in Data Analytics by Sophie may
• 10,610 points
517 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
330 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
414 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
643 views
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
691 views
0 votes
1 answer

R programming: How to convert Tiff to IMG (ERDAS) format?

This code should work: library(raster) input <- list.files(pattern='tif$') output <- ...READ MORE

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

Using CMD Windows to execute R language

So, Command line arguments can't be directly ...READ MORE

Jan 14, 2019 in Data Analytics by Sophie may
• 10,610 points
883 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
377 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
753 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
724 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
731 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
768 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
751 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
675 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
404 views
0 votes
1 answer

R Programming: Implement Newton Raphson Algorithm

The problem is that the expressions for f and f1 ...READ MORE

Jan 7, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,449 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
528 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
483 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,071 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,063 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
475 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,538 views
+1 vote
1 answer

Does Geshi support the R programming language?

rplus was not included in the official ...READ MORE

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

Can we have an if loop inside a for loop in R programming?

You're If loop doesn't have any condition ...READ MORE

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

R programming error

Alright, you can either use gsub to match the ...READ MORE

Dec 18, 2018 in Data Analytics by Tyrion anex
• 8,700 points
462 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,456 views
0 votes
1 answer

R programming: Unexpected symbol error

Format your code this way: myfunction <- function() ...READ MORE

Dec 17, 2018 in Data Analytics by Sophie may
• 10,610 points
2,892 views
+1 vote
1 answer

R Programming: matrices

Try this, It will test if a matrix ...READ MORE

Dec 17, 2018 in Data Analytics by Sophie may
• 10,610 points
450 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,402 views
0 votes
1 answer

R error: when installing packages from terminal

I faced the same problem, you must set ...READ MORE

Dec 14, 2018 in Data Analytics by Sophie may
• 10,610 points
2,577 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,776 views
+1 vote
1 answer

R error: Unused arguments

 invoke REBMIX by trying this: REBMIX[[i, j, k]] ...READ MORE

Dec 14, 2018 in Data Analytics by Sophie may
• 10,610 points
6,093 views
+1 vote
1 answer

R error: Cannot install package while starting R

Try to reinstall R. I got a ...READ MORE

Dec 14, 2018 in Data Analytics by Tyrion anex
• 8,700 points
761 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,248 views
+1 vote
1 answer

Machine Learning and Python Code

You can create an array called actualScore ...READ MORE

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

Filter something from dataframe in an order in R

You can use conditional filtering for this ...READ MORE

Dec 13, 2018 in Data Analytics by Maverick
• 10,840 points
479 views
+1 vote
1 answer

How to create global data sets in R?

You can use the <<- operator for assigning variables ...READ MORE

Dec 12, 2018 in Data Analytics by Maverick
• 10,840 points
376 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,695 views
+3 votes
1 answer

Predict weight and height of a person based on his nationality in R

One of the way by which you ...READ MORE

Dec 12, 2018 in Data Analytics by Kalgi
• 52,360 points
808 views
+1 vote
1 answer

We can list all data frames in R, Is that possible in python?

Try this: h = [g for n, g ...READ MORE

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

Can rows be converted into columns in R?

You can use of the R package ...READ MORE

Dec 11, 2018 in Data Analytics by Maverick
• 10,840 points
376 views