Trending questions in Data Analytics

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,360 points
449 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
4,971 views
0 votes
1 answer

Errors on eclipse console as soon as I create a new activity

Restart your eclipse might be solve this ...READ MORE

Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
363 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,360 points
659 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,360 points
418 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
3,978 views
+1 vote
1 answer

ROC curve use

ROC curve is basically used to reflect ...READ MORE

Oct 30, 2018 in Data Analytics by kurt_cobain
• 9,390 points
635 views
+1 vote
1 answer

Getting the following error: Error in eval

This error is caused by references to ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,360 points
551 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
3,690 views
0 votes
1 answer

Why should I adopt R programming

R Programming is the best mechanism for ...READ MORE

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

what causes these cannot open errors in R?

They are caused by attempts to read a ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,360 points
502 views
+1 vote
1 answer

What does “replacement has” Error mean?

This error occurs when one tries to ...READ MORE

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

Trying to add an extra column to an already existing matrix

Try this @Ali, a <- matrix(1:5000, nrow=100) a <- ...READ MORE

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

Can R and hadoop be used together to get better results?

The most common way to link R ...READ MORE

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

Most common errors faced when programming with R

These the two most common errors I ...READ MORE

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

"Error in if" while trying to execute simple code in R

This caused non-logical data or missing values passed ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,360 points
434 views
0 votes
2 answers

When scoring a logistic regression model , is having the predicted variable in test dataset mandatory ?

Answer to your follow up question: We can ...READ MORE

Oct 17, 2018 in Data Analytics by Anmol
• 1,780 points
1,031 views
0 votes
1 answer

How are the job opportunities for R programmers?

R offers bright job prospects for any ...READ MORE

Oct 29, 2018 in Data Analytics by Maverick
• 10,840 points
502 views
0 votes
3 answers

What is the goal of A/B Testing?

With A/B Testing you can see which ...READ MORE

Sep 18, 2018 in Data Analytics by zombie
• 3,790 points
2,792 views
0 votes
1 answer

Install R on windows

Hey @Ali,  Go to the following link: https://cran.r-project.org/bin/windows/base/ and ...READ MORE

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

Simple matrix logic in R

In R, if you have a matrix: m1 ...READ MORE

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

Looping error in R

You need a sequence to iterate over ...READ MORE

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

Expression Computation - R programming

The sequence of ones: cumsum(10^(0:4)) ## [1] ...READ MORE

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

What are R packages

These are a few R packages available: tidyverse Shiny rma ...READ MORE

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

Bias and Variance

In the learning algorithms, Bias is generally ...READ MORE

Oct 23, 2018 in Data Analytics by kurt_cobain
• 9,390 points
573 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,128 views
0 votes
1 answer

How can I create log linear models in R language?

By using the loglm () function  READ MORE

Oct 10, 2018 in Data Analytics by zombie
• 3,790 points
1,050 views
0 votes
1 answer

Reliability of Bayes Theorem

Baye’s theorem is useful for determining the ...READ MORE

Oct 17, 2018 in Data Analytics by kurt_cobain
• 9,390 points
612 views
0 votes
1 answer

Bias-Variance Decomposition

It is generally used to decompose problems ...READ MORE

Oct 23, 2018 in Data Analytics by kurt_cobain
• 9,390 points
345 views
0 votes
1 answer

What is the difference between rnorm and runif functions ?

rnorm function generates "n" normal random numbers ...READ MORE

Oct 10, 2018 in Data Analytics by zombie
• 3,790 points
901 views
0 votes
1 answer

How to plot side-by-side Plots with ggplot2 in R?

By Using gridExtra library we can easily ...READ MORE

Apr 16, 2018 in Data Analytics by DeepCoder786
• 1,720 points

edited Jun 9, 2020 by MD 8,531 views
0 votes
1 answer

Handling Imbalanced dataset

This usually occurs when a vast set ...READ MORE

Oct 17, 2018 in Data Analytics by kurt_cobain
• 9,390 points
571 views
0 votes
1 answer

What is the difference between library () and require () functions in R ?

 library() require() Library () function gives an error message ...READ MORE

Sep 5, 2018 in Data Analytics by zombie
• 3,790 points
2,348 views
0 votes
1 answer

How to add regression line equation and R2 on graph?

Below is one solution: # GET EQUATION AND ...READ MORE

Jun 1, 2018 in Data Analytics by DataKing99
• 8,240 points
6,490 views
0 votes
1 answer

How to extract a dplyr tbl column as a vector?

With dplyr 0.7.0, you can use pull to ...READ MORE

Jun 6, 2018 in Data Analytics by Sahiti
• 6,370 points
6,195 views
0 votes
1 answer

How can I increase the number of axis ticks in R ?

You can try to override ggplots default ...READ MORE

May 30, 2018 in Data Analytics by zombie
• 3,790 points
6,466 views
0 votes
1 answer

Extracting numeric columns from a data.frame - R

You can use the select_if() function from ...READ MORE

May 4, 2018 in Data Analytics by Bharani
• 4,660 points
7,528 views
0 votes
1 answer

How can I import a file in R without giving the destination/file path to the specified file?

You can use the window explorer to ...READ MORE

Aug 28, 2018 in Data Analytics by Abhi
• 3,720 points

edited Aug 28, 2018 by Vardhan 2,468 views
0 votes
1 answer

How to extract specific columns from a DataFrame ?

Yes there are so many ways: df[,c(V2,V4)] and another ...READ MORE

Apr 11, 2018 in Data Analytics by DeepCoder786
• 1,720 points
8,376 views
0 votes
1 answer

How can I find number of columns in a dataframe

To know the number of columns in ...READ MORE

Oct 12, 2018 in Data Analytics by Abhi
• 3,720 points
424 views
0 votes
1 answer

Tokenizing text file generates error using word tokenize_words

Hi Bolder, As you are using the delim ...READ MORE

Aug 28, 2018 in Data Analytics by Abhi
• 3,720 points
2,330 views
0 votes
1 answer

Which inbuilt function can be used in such case ?

Using in-built function - setdiff(c (1, 3, ...READ MORE

Oct 10, 2018 in Data Analytics by zombie
• 3,790 points
411 views
0 votes
1 answer

How to sample n random rows per group in a dataframe?

You can assign a random ID to ...READ MORE

Jul 3, 2018 in Data Analytics by Sahiti
• 6,370 points
4,717 views
0 votes
1 answer

TensorFlow use in container software

Tensorflow can also be used with containerization ...READ MORE

Oct 8, 2018 in Data Analytics by kurt_cobain
• 9,390 points
446 views
0 votes
1 answer

Neural Networks in Deep Learning

Neural networks as the name suggests are ...READ MORE

Oct 8, 2018 in Data Analytics by kurt_cobain
• 9,390 points
374 views
0 votes
1 answer

Python API in TensorFlow

Python is the most recognizable and “the ...READ MORE

Oct 5, 2018 in Data Analytics by kurt_cobain
• 9,390 points
376 views
0 votes
1 answer

API inside TensorFlow project

The API’s inside TensorFlow are still Python-based ...READ MORE

Oct 5, 2018 in Data Analytics by kurt_cobain
• 9,390 points
355 views
0 votes
1 answer

How can I save grid.arrange() plot to file ?

grid.arrange() directly draws on our device. However, ...READ MORE

May 16, 2018 in Data Analytics by zombie
• 3,790 points
6,482 views
0 votes
1 answer

Sample random rows in DataFrame in R

First we should have some data: df1<-data.frame(matrix(rnorm(20), nrow=10)) > ...READ MORE

Apr 13, 2018 in Data Analytics by DeepCoder786
• 1,720 points
7,855 views
0 votes
1 answer

How to write a custom function which will replace all the missing values in a vector with the mean of values in R?

Consider this vector: a<-c(1,2,3,NA,4,5,NA,NA) Write the function to impute ...READ MORE

Jul 4, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
4,242 views