Trending questions in Data Analytics

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

How is R applied in real world?

R Programming gives a broad variety of ...READ MORE

Oct 29, 2018 in Data Analytics by Maverick
• 10,840 points
1,527 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,168 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
737 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,468 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
842 views
0 votes
1 answer

Is there way for achieving continuous integration with R?

You can use svunit for this purpose. ...READ MORE

Nov 16, 2018 in Data Analytics by Maverick
• 10,840 points
708 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
829 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
722 views
0 votes
1 answer

Clean and standardize words using R

You might want to checkout the stringdist package, e.g.: library(stringdist) toMatch ...READ MORE

Nov 13, 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,157 views
+1 vote
1 answer

R errors in eclipse

remove import android.R Then clean and rebuild project. R ...READ MORE

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

Cleaning a Data Frame Using Regexp in R

The simplest way: library(dplyr) library(stringi) df %>% mutate(NUMERO_APPEL.fix = ...READ MORE

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

How to remove certain character from a vector

We can use sub to remove the * by specifying fixed = ...READ MORE

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

Error saying " "solarspectrum3" not resolved from current namespace (SolarSpectrum)"

the call to .C() or .Call() needs to be amended in ...READ MORE

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

How to give line numbers in errors in R?

Use the following command: options(show.error.locations = TRUE) READ MORE

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

R has something called lazy evaluation, what does that mean?

Let me explain this with an example. ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,350 points
1,234 views
0 votes
1 answer

Clean a set of data using R

Try this: NCM <- c(5,1,3,2,4) Mbrand <- c(1,5,3,4,2) fac<-factor(Mbrand, levels ...READ MORE

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

How do I copy an excel file to my Rconsole with all the missing values?

You can use read.table function in the ...READ MORE

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

Editing the plots/visualization on a timeline.

find the ten lowest total cash flows. ...READ MORE

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

How can I perform word stemming in R

The tm package in R provides the stemDocument() function to stem the ...READ MORE

Aug 20, 2018 in Data Analytics by Abhi
• 3,720 points
4,537 views
+1 vote
1 answer

What is dynamic scoping in R?

Under dynamic scope, if an “unknown” variable ...READ MORE

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

Look for certain values from not cleaned data

First see what rows meet t$ps04==1 & t$rectyp==1. ...READ MORE

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

Error saying "R Error: package ‘lme4’ required by ‘pbkrtest’ could not be found"

Windows 7, revo R 3.2.3 construct a directory ...READ MORE

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

Cleaning data using R

Try something like this: text1='"id","gender","age","category1","category2","category3","category4","category5","category6","category7","category8","category9","category10" 1,"Male",22,"movies","music","travel","cloths","grocery",,,,, 2,"Male",28,"travel","books","movies",,,,,,, 3,"Female",27,"rent","fuel","grocery","cloths",,,,,, 4,"Female",22,"rent","grocery","travel","movies","cloths",,,,, 5,"Female",22,"rent","online-shopping","utiliy",,,,,,,' d1 <- read.table(text=text1, sep=",", ...READ MORE

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

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
11,029 views
0 votes
1 answer

How do I import document files in R programming

Try the following: read.table("~/SMSSpamCollection", header=TRUE, sep="\t") Change "~/" to the "ptah/to/your/file/" Mess around ...READ MORE

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

I'm trying to figure out a formula to be able to divide the max and min number inside the intervals.

#One possible solution is to split by ...READ MORE

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

an error occurred" because rows do not match when trying to use lm to perform an ANOVA test

Maybe you could do something like this. ...READ MORE

Nov 2, 2018 in Data Analytics by Maverick
• 10,840 points
992 views
0 votes
2 answers

How does data cleaning play a vital role in data analysis

Data is the core you do your ...READ MORE

Jul 24, 2018 in Data Analytics by Abhi
• 3,720 points
5,382 views
+1 vote
1 answer

Display errors in sweave

s Shane suggests, use <<echo=TRUE,eval=FALSE>> for the code ...READ MORE

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

Unload package without restarting R

You can use the unloadNamespace command, as ...READ MORE

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

How to find out which version of R is loaded

You can use sessionInfo() to accomplish that. > sessionInfo() R version ...READ MORE

Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
718 views
0 votes
2 answers

Sorting algorithms available in R

R basically supports two different types of ...READ MORE

Aug 17, 2018 in Data Analytics by zombie
• 3,790 points
4,604 views
+1 vote
1 answer

Error saying " ERROR: unused argument (InformationCriterion = InformationCriterion[j]) "

Brief invoke REBMIX as : REBMIX[[i, j, k]] ...READ MORE

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

How do i send R errors from console to standard java output?

R offers a command to save its ...READ MORE

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

How to check if object is defines in R?

You can use the exists function for ...READ MORE

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

Downloading an image using R Programming

Try this: url2 ...READ MORE

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

k means vs KNN

K-means clustering is basically an unsupervised clustering ...READ MORE

Oct 30, 2018 in Data Analytics by kurt_cobain
• 9,350 points
1,008 views
0 votes
1 answer

R installation errors on ubuntu 14.04

 In /etc/apt/sources.list or one of the /etc/apt/sources.list.d/*.listreplace xenial with trusty and run apt-get update. After ...READ MORE

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

Error saying "Error in source("myfirst.R") : myfirst.R:14:2: unexpected '!' 13: 14: ë! ^"

This is a very common issue that ...READ MORE

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

Plotting standard error in R

You can probably use dot plot for ...READ MORE

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

What are R tools

Rtools provides a toolchain for Windows platform ...READ MORE

Oct 26, 2018 in Data Analytics by Kalgi
• 52,350 points
1,195 views
0 votes
1 answer

What is lexical scoping in R

Under lexical scoping rules, if an “unknown” ...READ MORE

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

Mongodb text search in R programming

this example works for me library(mongolite) m <- mongo(db ...READ MORE

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

Sort function in R

> set.seed(1) > s <- sample(seq(8, 20, by ...READ MORE

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

If-else in R code

x <- c(.5, 0.2, 2, 3.4, 0.4, ...READ MORE

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

Try catch in R

The most straightforward way is to wrap ...READ MORE

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

How do I check and catch errors in R

With tryCatch you can handle errors as you want: an.error.occured ...READ MORE

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

How to use nnet to have user specified initial weights instead of defaults for running a neural network algorithm?

The custom weights shall have the following ...READ MORE

Nov 5, 2018 in Data Analytics by Kalgi
• 52,350 points
699 views