Trending questions in Data Analytics

0 votes
1 answer

Error in source("myfunction.R") : myfunction.R:2:3: unexpected symbol 1: 2: R version

Try formatting your code like this: myfunction <- ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
2,458 views
0 votes
1 answer

Finding the nth highest value in a vector or a data-frame column

sort(x,T)[n] Here, 'x' is the data-frame/vector and 'n' ...READ MORE

May 31, 2018 in Data Analytics by Bharani
• 4,660 points
9,003 views
0 votes
1 answer

How can I convert a factor variable to numeric in R ?

A factor variable can be converted to ...READ MORE

Sep 19, 2018 in Data Analytics by shams
• 3,670 points
4,166 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
538 views
0 votes
1 answer

Unable to see histogram even though its been created without any errors in shiny R

In your server.R 4th line. Replace it ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
1,034 views
0 votes
1 answer

How do I remove unnecessary redundant data from a dataset?

You can use dimensionality reduction methods such ...READ MORE

Nov 13, 2018 in Data Analytics by Maverick
• 10,840 points
1,731 views
0 votes
0 answers

Error saying "could not find function "html_text"" when using html_text function in R

I'm trying to web scrap a page ...READ MORE

Nov 21, 2018 in Data Analytics by Ali
• 11,360 points
1,436 views
0 votes
1 answer

Is it possible to use a where clause within ggplot?

You can use the subset function to filter rows ...READ MORE

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

How do I add Icons to my messages on my dashboard which I’m creating using shiny r?

Try something like this: dashboardHeader(title="Edureka", dropdownMenu type = "message", messageItem(from = ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
970 views
0 votes
1 answer

Error saying "missing 'sequenceID' or 'eventID'" when trying to convert my data into cSPADE compatible format.

Try this: source dataset in this format: 1 3 ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
1,563 views
0 votes
1 answer

How do I get notifications on my dashboard using shiny R?

Try this, its one of the possible ...READ MORE

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

What does “Error: object '<myvariable>' not found” mean?

The error means that R could not ...READ MORE

Oct 29, 2018 in Data Analytics by Ali
• 11,360 points
2,197 views
0 votes
1 answer

how to run a logistic regression with clustered standard errors in R?

have a look at rms package. lrm is logistic ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,350 points
1,866 views
0 votes
1 answer

Error saying "Error: object 'packages' not found" when trying to web scrap using r

Hey @Ali, Its a very silly mistake. ...READ MORE

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

What is shiny R?

Shiny is an open source R package that ...READ MORE

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
898 views
0 votes
1 answer

Error saying "Failed to get an access token." when trying to access my Google Analytics API

Try this: library(RGoogleAnalytics) oauth_token <- Auth( client.id = ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
1,367 views
0 votes
1 answer

What is a css selector and where is it used?

CSS Selector is a combination of element ...READ MORE

Nov 21, 2018 in Data Analytics by Kalgi
• 52,350 points
1,064 views
+1 vote
1 answer

Error saying "The following signatures couldn't be verified because the public key is not available: NO_PUBKEY"

Try this: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ...READ MORE

Nov 12, 2018 in Data Analytics by Maverick
• 10,840 points
1,413 views
0 votes
1 answer

Error saying "R cannot be resolved" on eclipse while running a simple application

Every time you get this error, check ...READ MORE

Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
1,627 views
0 votes
1 answer

how do I run this R program on hadoop.

You can use hadoop streaming to read ...READ MORE

Nov 16, 2018 in Data Analytics by Maverick
• 10,840 points
1,272 views
0 votes
1 answer

Is a GUI available for some basic csv file edits?

You can manipulate any csv file with ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
1,350 views
0 votes
1 answer

issue with dashboardSidebar function using shiny R

You can use the function sidebarMenu function ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
677 views
0 votes
1 answer

Error saying "Error in lapply(rdmTweets, as.data.frame) : object 'rdmTweets' not found"

You need to load the data file ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
1,284 views
0 votes
1 answer

catch warnings and errors in rpy2

To get the warnings as an rpy2 ...READ MORE

Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
1,578 views
0 votes
1 answer

Creating barplot with standard errors plotted in R

For df1 plot # Group data by when ...READ MORE

Nov 12, 2018 in Data Analytics by Maverick
• 10,840 points
1,380 views
0 votes
1 answer

Cleaning raw data

Try this using read.fwf d <- read.fwf(textConnection( " ...READ MORE

Nov 13, 2018 in Data Analytics by Ali
• 11,360 points
1,288 views
0 votes
1 answer

How do I get different distributions of our dataset in R?

There are multiple ways of getting this. ...READ MORE

Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
701 views
0 votes
1 answer

Is there a way to display correlation in graphical manner in R?

Ans There are multiple ways of getting this. ...READ MORE

Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
651 views
+1 vote
1 answer

Does R programming support Firebird database?

Yes ofcourse you can. This page will ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
1,779 views
+1 vote
1 answer

How to read R errors through JRI

You'll be able to perform those R-Expressions, ...READ MORE

Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
1,395 views
0 votes
1 answer

Convert Brightkite location ID to place name

This can be dine using The geonames API. GeoNames ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
1,105 views
0 votes
1 answer

web sracping using R

Hey @Ali, You can use the rvest ...READ MORE

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

Error saying "object 'mvnorm' not found"

You seem to have made a small ...READ MORE

Nov 9, 2018 in Data Analytics by Maverick
• 10,840 points
1,352 views
0 votes
1 answer

extract token using R

Just add collapse = FALSE in your unnest_tokens: library(tidytext) library(dplyr) jobs %>% ...READ MORE

Nov 16, 2018 in Data Analytics by Maverick
• 10,840 points
1,008 views
0 votes
1 answer

How do I make a parameter dynamic on the url while webscraping?

Just add %d to the parameter you ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
808 views
+1 vote
3 answers

Integration of Google Collaboratory with github

You can use SSH protocol to connect ...READ MORE

Aug 7, 2018 in Data Analytics by Kalgi
• 52,350 points
3,499 views
0 votes
1 answer

Why is data cleaning needed?

Data cleaning is the fourth step in ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
1,067 views
+1 vote
1 answer

How to standardize rows when cleaning data?

The goal of this step is to ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
1,010 views
0 votes
1 answer

Getting rid of extra periods - cleaning data using R

Just try removing the periods using sub ...READ MORE

Nov 13, 2018 in Data Analytics by Maverick
• 10,840 points
1,074 views
0 votes
1 answer

Python or R – Which one would you prefer for text analytics?

We will prefer Python because of the ...READ MORE

Aug 20, 2018 in Data Analytics by Abhi
• 3,720 points
4,736 views
0 votes
1 answer

Whats the difference between withCallingHandlers and trycatch?

tryCatch withCallingHandlers Program execution breaks and continues with the first expression ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,350 points
1,365 views
0 votes
1 answer

Error sayimg "Executing test function test.should_error ... Timing stopped at: 0 0 0 " in R

In your testthat tests you declare an anonymous function like so: function() ...READ MORE

Nov 12, 2018 in Data Analytics by Maverick
• 10,840 points
1,105 views
0 votes
1 answer

What do you mean by technically correct data in data science?

we define technically correct data as a ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
1,023 views
0 votes
1 answer

What are the important skills to have in Python with regard to data analysis?

The following are some of the important ...READ MORE

Aug 20, 2018 in Data Analytics by Abhi
• 3,720 points
4,729 views
0 votes
1 answer

R programming logic

Use gsub to match the substring that we want ...READ MORE

Nov 16, 2018 in Data Analytics by Maverick
• 10,840 points
928 views
0 votes
1 answer

Different ways to scrap data

Different ways to scrap data off the ...READ MORE

Nov 22, 2018 in Data Analytics by Kalgi
• 52,350 points
696 views
0 votes
1 answer

What is active binding in R programming

Active bindings in R are much like ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
1,649 views
0 votes
1 answer

Trying to find frequent itemsets of a data set using arules package

Try replacing ID <- c("A123","A123","A123","A123","B456","B456","B456") item <- c("bread", "butter", "milk", ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
952 views
0 votes
1 answer

Manipulate character string using gsub() and perform multivariate data cleaning efficiently in R

gsubfn is perfect for this task: library(gsubfn) as.vector(sapply(gsubfn("[A-Z]", list(B="* 1", ...READ MORE

Nov 13, 2018 in Data Analytics by Maverick
• 10,840 points
1,034 views
0 votes
1 answer

When I pars xml (scraping Google RSS) national symbol (Cyrillic) is breaking

try this: url.tmp <- "http://news.google.ru/news?hl=ru&gl=ru&q=" symbol <- "быть OR ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
916 views