Most voted questions in Data Analytics

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,019 views
0 votes
1 answer

R programming: Merging in R Programming

You can merge the two data frames ...READ MORE

Apr 24, 2019 in Data Analytics by Sophie may
• 10,610 points
549 views
0 votes
1 answer

R Programming - Unable to read files

This is happening because you're not returning ...READ MORE

Apr 16, 2019 in Data Analytics by Tyrion anex
• 8,700 points
408 views
0 votes
0 answers

R programming error: Deleting the right column

Hi, I'm new to R programming. Below ...READ MORE

Apr 16, 2019 in Data Analytics by Sophie may
• 10,610 points
469 views
0 votes
1 answer

R programming: drc package error

You need two variables, (x and y). ...READ MORE

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

R programming: SQL Syntax

R has a library called, sqldf to do ...READ MORE

Apr 5, 2019 in Data Analytics by Sophie may
• 10,610 points
334 views
0 votes
2 answers

R programming: r bind error

You can use arrange function at last ...READ MORE

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

R programming error

Loop 1: the value of speed is ...READ MORE

Apr 3, 2019 in Data Analytics by Tyrion anex
• 8,700 points
373 views
0 votes
2 answers

How to create a table in R without external file?

Tibble also creates a table-like structure. Use below ...READ MORE

Sep 3, 2019 in Data Analytics by anonymous
• 33,030 points
2,690 views
0 votes
1 answer

How to split strings in R?

You can use the  strsplit method to do ...READ MORE

Mar 30, 2019 in Data Analytics by Sophie may
• 10,610 points
377 views
0 votes
0 answers

how does 1=1 helps when joining 2 tables in sql?

Mar 29, 2019 in Data Analytics by anonymous
294 views
0 votes
1 answer

R programming: Naming the output file using a variable

Use the paste command: write.csv(max.hsi, paste0("Index_", i,".csv ...READ MORE

Mar 26, 2019 in Data Analytics by Sophie may
• 10,610 points
5,814 views
0 votes
1 answer

R Programming: Perform negative binomial distribution

Try this: pnbinom(3,2,0.5) sum(dnbinom(0:3,2,0.5)) This will give the following output: > ...READ MORE

Mar 12, 2019 in Data Analytics by Sophie may
• 10,610 points
526 views
0 votes
1 answer

How to run R code using JAVA program?

You're trying to call an external application. ...READ MORE

Mar 12, 2019 in Data Analytics by Sophie may
• 10,610 points
5,151 views
0 votes
1 answer

R programming error: RODBC

You can perform quasi-perl-style string interpolation using ...READ MORE

Mar 6, 2019 in Data Analytics by Sophie may
• 10,610 points
788 views
0 votes
1 answer

Negative Binomial Distribution in R Programming

You can try this: pnbinom(3,2,0.5) sum(dnbinom(0:3,2,0.5)) Here's the output: > pnbinom(3,2,0.5) [1] ...READ MORE

Mar 5, 2019 in Data Analytics by Tyrion anex
• 8,700 points
784 views
0 votes
1 answer

R Programming: Finding items with exceptional sequence

Here's a code that will help with ...READ MORE

Feb 27, 2019 in Data Analytics by Sophie may
• 10,610 points
422 views
0 votes
1 answer

R programming: leap years calculation

Here's a small modification to your code, ...READ MORE

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

How to remove HTML tags from string in R Programming?

Try this simple code to remove the <br ...READ MORE

Feb 1, 2019 in Data Analytics by Sophie may
• 10,610 points
4,324 views
0 votes
1 answer

Modular programming in R language

R provides support to create subscripts. For ex. ...READ MORE

Jan 31, 2019 in Data Analytics by Tyrion anex
• 8,700 points
634 views
0 votes
2 answers

R programming: Removing NA values

Hi, Use na.rm = TRUE or Fetch values which has ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
844 views
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
607 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,684 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
951 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
321 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
940 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
514 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
2 answers

R Programming error in if condition

Hi. Instead of breaking the line add it ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
762 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
412 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
688 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,163 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
879 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
722 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
730 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
766 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
746 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
672 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,446 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
526 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
482 views
0 votes
3 answers

Can a C program be written in R programming language?

If you have a algorithm you can ...READ MORE

Apr 9, 2019 in Data Analytics by anonymous
1,675 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,065 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,059 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