Most viewed questions in Data Analytics

+1 vote
2 answers

How can I get experience in Data Science as a fresher?

Work on projects of your own. It’s tough, ...READ MORE

Aug 9, 2018 in Data Analytics by Abhi
• 3,720 points
598 views
0 votes
1 answer

Intermediate + running sum of vector

Hey, It's quite simple, use the accumulate function ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
596 views
0 votes
1 answer

Clustering strings in R

Convert the field as factors and use ...READ MORE

Jul 30, 2019 in Data Analytics by anonymous
• 33,030 points
596 views
+1 vote
2 answers

avoid producing a eps-graphic with 2 pages by mixing traditional and grid graphics

The bv_set() is missing from your code hence ...READ MORE

Aug 28, 2018 in Data Analytics by Anmol
• 1,780 points
596 views
0 votes
1 answer

R Programming: Predicting Outliers

You can remove outliers without a loop, ...READ MORE

Jan 28, 2019 in Data Analytics by Sophie may
• 10,610 points
593 views
0 votes
1 answer

Making a ggplot2 plot without any legends,axes or axis labels

The below command will give you the ...READ MORE

May 29, 2018 in Data Analytics by Bharani
• 4,660 points
593 views
+1 vote
1 answer

R query and Data Science

Dear Deepika, Hope you are doing great. You can ...READ MORE

Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
591 views
0 votes
1 answer
0 votes
1 answer

Treat outliers in Dataset

Outlier values can be identified by using ...READ MORE

Jul 12, 2018 in Data Analytics by Sahiti
• 6,370 points
590 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
589 views
0 votes
1 answer

How to extract tidy output from many single-variable models using purrr/broom?

You can try this solution: filter_starwars <- function(...) ...READ MORE

May 17, 2018 in Data Analytics by DataKing99
• 8,240 points
589 views
0 votes
1 answer

Appending values to a vector - R

This is actually quite easy, all you ...READ MORE

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

Convert hclusters to tree in R

Hi Kalyan, 1. Create hcluster using hclust for example, object <- ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
588 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
588 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
588 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,360 points
587 views
0 votes
1 answer

How to join columns that are non-NA?

You can match on something like X=X ...READ MORE

Apr 18, 2018 in Data Analytics by Sahiti
• 6,370 points
582 views
0 votes
1 answer

How to replace only set of values in a vector to different values in a dataframe?

If you have a condition using which ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
581 views
0 votes
1 answer

All Levels of a Factor in a Model Matrix in R

Yes, you can modify the model.matrix() function ...READ MORE

Jun 22, 2023 in Data Analytics by anonymous
• 1,180 points
579 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,360 points
579 views
0 votes
1 answer

why the predict() function does have different rows in R

Alter this sentence: model = lm(train$latitude train$crashes) to lm(crashes ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
577 views
0 votes
1 answer

Select table name and corresponding columns frim the sql file - R

Try something like this: library(stringr) library(dplyr) library(tidyr) text <- readLines("file.txt") dataFrame <- ...READ MORE

Dec 11, 2018 in Data Analytics by Maverick
• 10,840 points
577 views
0 votes
0 answers

Allow user input on maps

Can anyone explain how to add controls ...READ MORE

Sep 24, 2019 in Data Analytics by ch
• 3,450 points
576 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
576 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
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
572 views
0 votes
1 answer

How to cluster center mean of DBSCAN in R?

Just index back into the original data ...READ MORE

Jun 26, 2018 in Data Analytics by DataKing99
• 8,240 points
572 views
+1 vote
1 answer

Machine Learning and Python Code

You can create an array called actualScore ...READ MORE

Dec 13, 2018 in Data Analytics by Shubham
• 13,490 points
569 views
0 votes
1 answer

cant get around error ''expected an indented block'' in python(jupyter lab)

Hi@David, First thing, don't share your credentials with ...READ MORE

Nov 19, 2020 in Data Analytics by MD
• 95,440 points
568 views
0 votes
1 answer

Deleting particular objects from workspace - R

You can use the rm() function to ...READ MORE

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

How to find out the package version which is loaded in R?

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

Apr 18, 2018 in Data Analytics by zombie
• 3,790 points
568 views
0 votes
1 answer

How to render outputs of few elements(graphs) in shiny app?

hi Racheal, You can isolate those outputs which ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
567 views
0 votes
0 answers

how to hide and show legends for different geom_plots* in a single ggplot?

how to hide and show legends for ...READ MORE

Jul 23, 2019 in Data Analytics by karthick
566 views
0 votes
1 answer

How to get the output of number of elements to reach a cumulative sum?

You can use the sapply function, to loop ...READ MORE

May 29, 2018 in Data Analytics by Sahiti
• 6,370 points
566 views
0 votes
1 answer

mysql connection issue in Spark VM

Dear Learner, Hope you are doing well. Please go ...READ MORE

Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
564 views
0 votes
1 answer

Read text file and save as csv file using R

hi, Read the text file and save it ...READ MORE

Sep 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
563 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
563 views
+1 vote
0 answers

group By Sum

Hi, I want group By sum in R ...READ MORE

Jan 18, 2019 in Data Analytics by Rajendra

recategorized Jan 18, 2019 by Vardhan 558 views
0 votes
0 answers

R: use of "where" to select rows by matching an element from a list

I'm trying to utilise R's "where" function ...READ MORE

Jun 10, 2022 in Data Analytics by Avinash
• 1,260 points
557 views
0 votes
1 answer

Splitting strings in a list delimited by space

Use strspltit function and provide separator as ...READ MORE

Oct 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
557 views
0 votes
1 answer

Components in grammar of graphics

Broadly speaking these are different components in grammar of ...READ MORE

Jul 24, 2018 in Data Analytics by Sahiti
• 6,370 points
557 views
0 votes
0 answers

How to visualize the randomForest model in R?

How to visualize the randomForest model in ...READ MORE

Oct 22, 2019 in Data Analytics by ch
• 3,450 points
556 views
0 votes
1 answer

Create an animation from images in R

Create a vector with all frames required ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,030 points
556 views
0 votes
1 answer

How do I become a data scientist step by step?

I am assuming that you are a ...READ MORE

Jul 26, 2018 in Data Analytics by Abhi
• 3,720 points
556 views
0 votes
1 answer

What are tensors?

Tensors are higher dimensional arrays which are ...READ MORE

Sep 26, 2018 in Data Analytics by kurt_cobain
• 9,390 points
555 views
0 votes
1 answer

How can I read a .csv file in R language?

read.csv () function is used to read ...READ MORE

Jun 12, 2018 in Data Analytics by zombie
• 3,790 points
555 views
0 votes
0 answers

Create data frame from function in R

One function that I designed can produce ...READ MORE

Jul 9, 2022 in Data Analytics by avinash
• 1,840 points
554 views
0 votes
0 answers

How to highlight one column in a bar/histogram chart?

How to highlight one column in a ...READ MORE

Aug 7, 2019 in Data Analytics by lohith
554 views
0 votes
1 answer

TensorFlow servables

These are the central rudimentary units in ...READ MORE

Sep 27, 2018 in Data Analytics by Data_Nerd
• 2,390 points
554 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
553 views