Trending questions in Data Analytics

+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
1,213 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
926 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
1,014 views
0 votes
1 answer

What is raw data?

Raw data is the data that hasn’t ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
975 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,407 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
854 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
975 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,436 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
911 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
900 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
863 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,727 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,779 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
1,008 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
1,048 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
1,047 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,911 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
828 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
805 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,223 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
967 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
647 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
647 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
1,056 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
1,170 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
850 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
969 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
576 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
1,034 views
0 votes
1 answer

What is Selection Bias?

Selection bias is the bias introduced by the ...READ MORE

Aug 20, 2018 in Data Analytics by Abhi
• 3,720 points
4,356 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
1,116 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,281 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
938 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
893 views
0 votes
1 answer

How to download the historical data from two random picked stocks?

assign the output of sample into a variable. my_picks <- ...READ MORE

Nov 5, 2018 in Data Analytics by Kalgi
• 52,350 points
974 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
800 views
+1 vote
1 answer

Translate curl into R program

Use the RCurl library, its always a ...READ MORE

Nov 2, 2018 in Data Analytics by Maverick
• 10,840 points
1,053 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
905 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,166 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,364 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
747 views
+1 vote
1 answer

R programming Web Scraping

Try something like this: library(rvest) library(rvest) library(tidyverse) urls <- read_html("https://www.edureka.co/aws-certification-training") pag <- ...READ MORE

Oct 29, 2018 in Data Analytics by Maverick
• 10,840 points
1,143 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
795 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
872 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
992 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
989 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
852 views
+1 vote
1 answer

Sklearn GaussianMixture

The GaussianMixture object implements the expectation-maximization (EM) ...READ MORE

Oct 30, 2018 in Data Analytics by Priyaj
• 58,020 points
1,065 views
+1 vote
1 answer

Remove NA values from the output in R programming

Edit your code: columnmean <- function(x, removeNA = ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,350 points
1,016 views
0 votes
3 answers

R vs MATLAB, which is better with respect to machine learning?

Hello, Both are a good programming language you ...READ MORE

Apr 12, 2019 in Data Analytics by SA
• 1,090 points
1,948 views