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,620 points
837 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,620 points
1,591 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,857 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
947 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,620 points
7,419 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,620 points
1,511 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
724 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
2,107 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,620 points
1,538 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,620 points
1,031 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
846 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,620 points
1,032 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,620 points
1,305 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
1,375 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,816 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,620 points
1,536 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,620 points
980 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
1,327 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,620 points
1,176 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,620 points
1,411 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
1,380 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
1,602 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,620 points
1,283 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,620 points
878 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,903 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
1,147 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,620 points
962 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,648 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,620 points
1,738 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,620 points
1,033 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
2,173 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,620 points
1,088 views
0 votes
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,620 points
1,154 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
948 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,906 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,620 points
3,832 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,620 points
1,176 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 2,170 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,620 points
3,235 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,620 points
2,480 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,620 points
7,031 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
1,366 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,894 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
1,334 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
995 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
924 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
2,346 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,340 points
1,344 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
1,124 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
739 views