Trending questions in Data Analytics

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,620 points
3,488 views
+1 vote
1 answer

Error saying "Error in map_df(1, function(i) { : could not find function "map_df"" in R

Make sure you’ve installed the package purr ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
7,319 views
0 votes
1 answer

Error saying "Error in parse(file, keep.source = FALSE, srcfile = src, encoding = enc) : " in shiny R

The error means you’re missing out on ...READ MORE

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
6,893 views
+1 vote
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,490 points

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

Error saying "Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ"

Make sure is a factor time <- as.factor(c("pm", ...READ MORE

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

Error saying "no applicable method for 'meta' applied to an object of class" when trying to create TermDocumentMatrix

Heyy @Hannah, the following line of code ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,350 points
7,731 views
+1 vote
4 answers

Which is the best r package used to scrap web pages?

You can use rvest or Rselenium package. READ MORE

Feb 13, 2019 in Data Analytics by Marv
1,317 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
609 views
+1 vote
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 29, 2018 in Data Analytics by Maverick
• 10,840 points
6,525 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,620 points
1,043 views
0 votes
2 answers

what are the different ways of getting/reading data into for cleaning

Most used functions for reading or extracting ...READ MORE

Aug 23, 2019 in Data Analytics by anonymous
• 33,050 points
933 views
+1 vote
2 answers

Stacked barchart - R programming with ggplot2

Use position = stack inside geom_bar() ggplot(mydata, aes(x = ...READ MORE

Aug 23, 2019 in Data Analytics by anonymous
• 33,050 points
1,064 views
+1 vote
2 answers
0 votes
1 answer

Python : Cannot Import Data using Pandas

So< if your error says: ...READ MORE

Dec 7, 2018 in Data Analytics by Upasana
• 8,620 points
5,966 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,620 points
826 views
+1 vote
1 answer

How to calculate relative risk in R language?

The risk can be calculated by using ...READ MORE

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

Turn values into scientific notation in R

Consider the below vector: a<-c(0.1324,0.0001234,234.21341324,09.324324) You can convert it ...READ MORE

Jul 19, 2018 in Data Analytics by DataKing99
• 8,250 points
11,848 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
716 views
+1 vote
1 answer

R Programming: Using iteration value to change field names

Remove the first and last column from ...READ MORE

Mar 26, 2019 in Data Analytics by Sophie may
• 10,620 points
1,000 views
+1 vote
2 answers

How to count the number of elements with the values in a vector?

Use dplyr function group_by(). > n = as.data.frame(num) > ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,050 points
5,213 views
+1 vote
3 answers

What is logistic regression?

Logistic regression is analysis to conduct when ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
2,303 views
+2 votes
4 answers

Which tool Should I learn first Tableu or SAS

Hello I think it will be very much ...READ MORE

Mar 13, 2019 in Data Analytics by MrBoot
• 1,230 points
2,928 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
2,198 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,620 points
628 views
+1 vote
1 answer

R programming: For graphics

Use the bquote to write the expression and place ...READ MORE

Mar 16, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,095 views
+1 vote
4 answers

Python vs. R for data science

I would say both Python and R ...READ MORE

Aug 1, 2019 in Data Analytics by briny
2,596 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,840 points
5,299 views
0 votes
0 answers

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

Mar 29, 2019 in Data Analytics by anonymous
411 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,620 points
1,103 views
0 votes
3 answers

What is Linear Regression?

linear regression is useful for finding relationship ...READ MORE

Aug 7, 2019 in Data Analytics by nikita
1,737 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
1,174 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,620 points
1,050 views
+1 vote
1 answer

Calculating relative risks in R

You can calculate the relative risk as  ...READ MORE

Mar 16, 2019 in Data Analytics by Tyrion anex
• 8,700 points
562 views
+1 vote
1 answer

R programming error: sum of products

Best soln is to integrate R linear algebra: > ...READ MORE

Mar 6, 2019 in Data Analytics by Sophie may
• 10,620 points
939 views
+1 vote
2 answers

Different data structures in R

The different data types in R are ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,050 points
2,026 views
+1 vote
3 answers

%>% What are these symbols/characters used for in R?

%>% is called a pipe. The process ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
1,575 views
+1 vote
1 answer

R programming: Finding closest pair

The dist() function will help you find the ...READ MORE

Mar 5, 2019 in Data Analytics by Tyrion anex
• 8,700 points
854 views
+1 vote
1 answer

R Programming: Market Basket Analysis Error

The basket.sorted() has less than 5 rules. Refer ...READ MORE

Feb 12, 2019 in Data Analytics by Sophie may
• 10,620 points
1,740 views
+1 vote
1 answer

R programming: Classifying wine dataset

Run the below code, it should work: wineData$taste ...READ MORE

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

Error saying "could not find function "read_html"" when trying to use read_html function

Hey @Ali, Execute the following two commands: install.packages(&l ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
5,178 views
+1 vote
1 answer

Error when trying to convert data frame into a csv file in R

If packages.csv file is open on your ...READ MORE

Nov 21, 2018 in Data Analytics by Kalgi
• 52,350 points
5,097 views
0 votes
1 answer

Error saying "ERROR: Expected tag to be of type header" while creating a dashboard using shiny R

sliderInput("bins","number of breaks",1,100,50), this line should come under ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
4,780 views
+1 vote
1 answer

How can I use which() function in R ?

which() function determines the position of elements ...READ MORE

Sep 25, 2018 in Data Analytics by Daisy
• 8,140 points
7,590 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,620 points
893 views
+1 vote
1 answer

R programming: How to subset data and plot graphs in R?

You can create a grouping variable depending ...READ MORE

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

How to create a 2D array of vectors of different lengths in R programming?

You can try making a list of matrices ...READ MORE

Feb 1, 2019 in Data Analytics by Sophie may
• 10,620 points
1,829 views
+1 vote
1 answer

Error saying "vector size cannot be NA" when using R with data mining

You can use the removesparseterm function.  Removes sparse ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
5,182 views
+1 vote
1 answer

R programming: Generating random frequencies

Follow this, it might help you: Produce sample ...READ MORE

Feb 18, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,044 views
0 votes
1 answer

How to reduce the height of valueBox in shiny R?

Add this line before using your vlaueBoxes tags$head(tags$style(HTML(".small-box ...READ MORE

Dec 4, 2018 in Data Analytics by Haseeb
4,315 views