Trending questions in Data Analytics

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,693 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
936 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,026 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
988 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,428 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
872 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
985 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,460 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
926 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,749 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,799 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
876 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
910 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,023 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,064 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,059 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,928 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
844 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
819 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,246 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
984 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
667 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
654 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,066 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,186 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
869 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
983 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
582 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,055 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,375 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,303 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,128 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
994 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
952 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
908 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
814 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,066 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,184 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
920 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,382 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
758 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,158 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
806 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
885 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
1,008 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
1,007 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
868 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,083 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,033 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,980 views