Trending questions in Data Analytics

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 in Data Analytics by Sophie may
• 9,870 points
82 views
0 votes
1 answer

R programming: glm() function

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

Jan 23 in Data Analytics by Tyrion anex
• 8,280 points
80 views
0 votes
1 answer

R programming: sapply() function

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

Jan 23 in Data Analytics by Tyrion anex
• 8,280 points
36 views
0 votes
1 answer

R programming: Flip coin simulation

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

Jan 21 in Data Analytics by Sophie may
• 9,870 points
71 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 in Data Analytics by Sophie may
• 9,870 points
59 views
0 votes
2 answers

Error when executing write.csv function in R

row.names = F READ MORE

Mar 5 in Data Analytics by anonymous
401 views
0 votes
1 answer

R programming basics

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

Jan 18 in Data Analytics by Tyrion anex
• 8,280 points
55 views
+1 vote
0 answers

group By Sum

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

Jan 17 in Data Analytics by Rajendra

recategorized Jan 18 by Vardhan 70 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 in Data Analytics by Tyrion anex
• 8,280 points
115 views
0 votes
1 answer

Does R provide support for tacit programming?

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

Jan 17 in Data Analytics by Sophie may
• 9,870 points
55 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 in Data Analytics by Tyrion anex
• 8,280 points
85 views
0 votes
1 answer

R programming: loop difference

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

Jan 17 in Data Analytics by Sophie may
• 9,870 points
51 views
0 votes
2 answers

How to count unique values in R?

You can try this way, as.data.frame(v) %>% count(v) READ MORE

Aug 8 in Data Analytics by anonymous
1,726 views
0 votes
2 answers

What are the skills required for data science?

Data Science is a platform for analyzing ...READ MORE

Apr 4 in Data Analytics by MrBoot
• 1,210 points
44 views
0 votes
1 answer

Using CMD Windows to execute R language

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

Jan 14 in Data Analytics by Sophie may
• 9,870 points
72 views
0 votes
1 answer

Change font size of valueBox - shiny R

Try writing your valueBox with this syntax: valueBox( ...READ MORE

Dec 4, 2018 in Data Analytics by Haseeb
1,827 views
0 votes
2 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
• 42,410 points
59 views
0 votes
1 answer

Error saying "Error in file(out, "wt") : cannot open the connection" when execute help command in r

Hey @Ali, change working dir, exit r ...READ MORE

Nov 20, 2018 in Data Analytics by Maverick
• 10,040 points
2,418 views
+4 votes
2 answers

Predict weight when height is given using linear regression in R

You can try something like this: # The ...READ MORE

Dec 12, 2018 in Data Analytics by Purva
1,271 views
0 votes
1 answer

Report function outputs in R programming

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

Jan 14 in Data Analytics by Sophie may
• 9,870 points
34 views
0 votes
1 answer

R Programming error: twitteR OAuthFactory object

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

Jan 11 in Data Analytics by Tyrion anex
• 8,280 points
94 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 in Data Analytics by Sophie may
• 9,870 points
72 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 in Data Analytics by Sophie may
• 9,870 points
44 views
0 votes
1 answer

Installing JQ on Mac by command-line

On a mac, any application can be ...READ MORE

Dec 6, 2018 in Data Analytics by Shubham
• 13,310 points

edited Dec 12, 2018 by Shubham 1,555 views
0 votes
1 answer

R error: Unused arguments

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

Dec 13, 2018 in Data Analytics by Sophie may
• 9,870 points
1,243 views
0 votes
1 answer

Concurrent Programming Using R

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

Jan 9 in Data Analytics by Tyrion anex
• 8,280 points
69 views
0 votes
1 answer

Data slicing using R programming

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

Jan 9 in Data Analytics by Tyrion anex
• 8,280 points
55 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 in Data Analytics by Tyrion anex
• 8,280 points
128 views
0 votes
1 answer

R programming: Does the R language have reflection?

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

Jan 8 in Data Analytics by Sophie may
• 9,870 points
82 views
0 votes
1 answer

Does R have an underlying C layer?

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

Jan 8 in Data Analytics by Sophie may
• 9,870 points
53 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 in Data Analytics by Tyrion anex
• 8,280 points
60 views
+1 vote
1 answer

Jupyter Notebook : superscripts and subscripts

You can use the markdown cell to do this. ...READ MORE

Dec 6, 2018 in Data Analytics by Shubham
• 13,310 points

edited Dec 12, 2018 by Shubham 1,311 views
0 votes
2 answers

Locating row index of a column which has the maximum value - R

Hi, Nirvana You can also try this. which(iris$Sepal.Length == ...READ MORE

Aug 21 in Data Analytics by anonymous
• 31,840 points
128 views
0 votes
1 answer

Data segmentation using R programming

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

Jan 4 in Data Analytics by Sophie may
• 9,870 points
48 views
0 votes
0 answers

How to use the where clause in R programming?

I'm trying to implement a where clause ...READ MORE

Dec 24, 2018 in Data Analytics by Sophie may
• 9,870 points
504 views
+1 vote
1 answer

Error saying object not found in R

Change your link_addr to linkAddr and it ...READ MORE

Dec 11, 2018 in Data Analytics by Maverick
• 10,040 points
944 views
0 votes
2 answers

How to write lines to a text file in R?

sink("outfile.txt") cat("hello") cat("\n" ...READ MORE

May 24 in Data Analytics by anonymous
2,456 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,280 points
74 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 27, 2018 in Data Analytics by Sophie may
• 9,870 points
52 views
0 votes
1 answer

R programming: Finding the difference between 2 vectors

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

Dec 27, 2018 in Data Analytics by Sophie may
• 9,870 points
47 views
0 votes
2 answers

unique length of combinations

Try this: sum(mtcars$mpg == 21.0 & mtcars$cyl == ...READ MORE

Dec 26, 2018 in Data Analytics by Omkar
• 67,660 points
38 views
0 votes
2 answers

How to subset rows containing NA in a chosen column of a data frame?

You can give this a try. subset(dataframe, is.na(dataframe$col2)) ...READ MORE

Aug 21 in Data Analytics by anonymous
• 31,840 points
123 views
0 votes
1 answer

Error in shiny R "Warning: Error in read.table: 'file' must be a character string or connection"

Your if statement in the server.R is ...READ MORE

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

Error saying "ERROR: Error sourcing C:\Users\ali\AppData\Local\Temp\Rtmp8iTRBM\file54f8276958b3"

Seems like there is a problem with ...READ MORE

Nov 28, 2018 in Data Analytics by Maverick
• 10,040 points
1,168 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,280 points
45 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
• 42,410 points
79 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
• 9,870 points
306 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
• 9,870 points
436 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
• 10,430 points

edited Dec 11, 2018 by Ali 386 views