Most answered questions in Data Analytics

0 votes
1 answer

Grouping/bining of variables using Rcmdr

@kriti, Select the data model, Go to ...READ MORE

Nov 4, 2019 in Data Analytics by rubini
689 views
0 votes
1 answer

Does R programming provide support to execute Curl

You can use the RCurl package and ...READ MORE

Jul 19, 2019 in Data Analytics by Zulaikha
• 910 points
1,131 views
0 votes
1 answer

How to set the width of navlistPanel in Shiny? - R

The widths are the widths of the ...READ MORE

Jun 13, 2020 in Data Analytics by anonymous
2,937 views
+2 votes
1 answer

Error in FUN: cannot coerce type 'closure' to vector of type 'character' [No stack trace available] in R

You missed out " " for variables ...READ MORE

Jul 17, 2019 in Data Analytics by Cherukuri
• 33,050 points
17,243 views
+3 votes
1 answer

How to use points?

Mack, please give us your registered email ...READ MORE

Jul 17, 2019 in Data Analytics by Prashanth
• 180 points
1,404 views
0 votes
1 answer

How to provide color to ggplot scatter chart depending on field value?

cyl is a continuous value field, so ...READ MORE

Nov 2, 2019 in Data Analytics by anonymous
• 33,050 points
904 views
0 votes
1 answer

How to save ggplots?

Hi you can save plots using ggsave() Code ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
• 33,050 points
1,208 views
0 votes
1 answer

How to edit the labels and limit if a plot using ggplot? - R

Add a limit to axis ticks using ...READ MORE

Nov 3, 2019 in Data Analytics by anonymous
• 33,050 points
817 views
0 votes
1 answer

How to merge or join 2 dataframes in r?

Hi, When you merge two Dataframes, the result ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,460 points
916 views
0 votes
1 answer

How to filter only those rows with a condition in R?

Write R code as below temp = data ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
• 33,050 points
909 views
0 votes
1 answer

Dataset data type incorrect - R

You can assign datatypes for the field ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
1,837 views
0 votes
1 answer

Export the plot to a pdf or png - R

You need to close the device to ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
2,816 views
0 votes
1 answer

How to create a date variable in R?

Create a string with date notation as ...READ MORE

Jul 16, 2019 in Data Analytics by anonymous
8,515 views
0 votes
1 answer

Sort a field based on another field in R

Hi.. Just for sorting, you can use arrange ...READ MORE

Aug 29, 2019 in Data Analytics by Gups_1985
990 views
0 votes
1 answer

How to import and clean a text file into dataframe in R?

You can use readLines() or read.table() depending ...READ MORE

Jul 16, 2019 in Data Analytics by anonymous
6,742 views
0 votes
1 answer

Difference between summarise() and summarize() in R

summarise() and summarize() are synonyms. READ MORE

Sep 24, 2019 in Data Analytics by anonymous
9,359 views
0 votes
1 answer

Split plot into multiple plots corresponding to each value of the field in R

Use facet_grid() and pass the field to ...READ MORE

Nov 4, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,935 views
0 votes
1 answer

create data.frame with random numbers in R

First create a matrix with random numbers ...READ MORE

Sep 24, 2019 in Data Analytics by Debasmita Das
3,338 views
0 votes
1 answer

What is set.seed() in R?

Let me explain in simple words, set seed ...READ MORE

Jul 9, 2019 in Data Analytics by anonymous
• 33,050 points
41,864 views
0 votes
1 answer

Convert data.frame object into character vector/list

Hi, it is possible to store them ...READ MORE

Jul 9, 2019 in Data Analytics by anonymous
• 33,050 points
7,048 views
0 votes
1 answer

Error: package or namespace load failed for ‘arulesViz’ in R

I installed package KernSmooth and it seemed ...READ MORE

Sep 4, 2020 in Data Analytics by Chandrakant
• 140 points
1,373 views
+1 vote
1 answer

Error in .External.graphics - R

You need to install arulesViz package,and load ...READ MORE

Jul 8, 2019 in Data Analytics by sindhu
1,189 views
0 votes
1 answer

batch file to run R Script

easy peasy. just pop the following into a ...READ MORE

May 24, 2020 in Data Analytics by anonymous
4,577 views
+1 vote
1 answer

How to add create a box plot with categorical columns?

One way is to convert to factor ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,050 points
2,186 views
0 votes
1 answer

% of nulls for each column in the dataset - R

Use code as below -  lapply(air,function(x) { length(which(is ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,050 points
1,236 views
0 votes
1 answer

fetch all rows with null values in dataframe or dataset - R

Use below code -  which(is.na(air)) is.na() will return a boolean ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,050 points
11,333 views
0 votes
1 answer

Joining 2 vectors into 1 variable - R

A small trick that you can do ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,050 points
761 views
0 votes
1 answer

Read data from various csv and store it in one dataframe

Use rbind() to join both data frames ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,050 points
912 views
0 votes
1 answer

Convert character column to Date field in R Data frame

This is a good question. READ MORE

May 4, 2020 in Data Analytics by anonymous
1,066 views
0 votes
1 answer

Replace columns containing row id into a constant value - R

Create a vector of the list of ...READ MORE

Jul 4, 2019 in Data Analytics by Cherukuri
• 33,050 points
920 views
0 votes
1 answer

Difference between [[1]] and [1] in R Programming

Hey Latha, The difference between them is that ...READ MORE

Jun 29, 2019 in Data Analytics by anonymous
• 33,050 points
7,008 views
0 votes
1 answer

How to replace all occurrences of a character in a character column in a data frame in R

If you used sub() to replace the ...READ MORE

Jun 29, 2019 in Data Analytics by anonymous
• 33,050 points
18,127 views
0 votes
1 answer

substring of last N characters in R

Use below code -  If the elements within ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,050 points
874 views
0 votes
1 answer

How can I figure out if an R program was executed from the command line?

Try this code: if (interactive()) { print('Hello ...READ MORE

Jun 28, 2019 in Data Analytics by Zulaikha
• 910 points
753 views
0 votes
1 answer

R programming: Data Categorization

Try this: wineData$taste <- NA ...READ MORE

Jun 28, 2019 in Data Analytics by Zulaikha
• 910 points
1,033 views
0 votes
1 answer

How to change the datatype of any field in an external dataset in R?

Hi Anand, Try as below - class(dataset/dataframe$col_name) <- ...READ MORE

Jun 28, 2019 in Data Analytics by anonymous
• 33,050 points
968 views
+2 votes
1 answer

How to list variables in R

Hi Swathi, You can use ls() to list ...READ MORE

Jun 27, 2019 in Data Analytics by Cherukuri
• 33,050 points
100,447 views
0 votes
1 answer

Difference between List(list1,list2) and c(list1,list2) in R

Hi Deepa, It's quite simple, let me explain ...READ MORE

Jun 26, 2019 in Data Analytics by Cherukuri
• 33,050 points
2,268 views
0 votes
1 answer

Keras - R programming error

You haven't installed keras in the correct ...READ MORE

Jun 17, 2019 in Data Analytics by Sophie may
• 10,620 points
1,087 views
0 votes
1 answer
0 votes
1 answer

Using Cuda: Tensorflow error

This command will tell you which processes ...READ MORE

Jun 13, 2019 in Data Analytics by Zulaikha
• 910 points
752 views
0 votes
1 answer

Error while importing Tensorflow

Start by uninstalling tensorflow and protobuf and reinstall them. Use ...READ MORE

Jun 13, 2019 in Data Analytics by Zulaikha
• 910 points
1,009 views
0 votes
1 answer

Converge style functional using R

This should do it: do.call("rbind", lapply(filenames, loadFile)) READ MORE

Jun 7, 2019 in Data Analytics by Zulaikha
• 910 points
647 views
0 votes
1 answer

Scraping columns from a website by using R Programming

Here's an example, use the html_table : library(rvest) library(dplyr) url <- ...READ MORE

Jun 7, 2019 in Data Analytics by Zulaikha
• 910 points
757 views
+1 vote
1 answer

How do I sum the values of a variable by group but RETAIN all records?

Hey @Kirk, what you can do is, ...READ MORE

Jun 6, 2019 in Data Analytics by Kalgi
• 52,350 points
782 views
0 votes
1 answer

Pycharm error: could not find a version that satisfies the requirement

Check the python version installed. Tensorflow is ...READ MORE

May 29, 2019 in Data Analytics by Zulaikha
• 910 points
3,153 views
0 votes
1 answer

R programming error: { : missing value where TRUE/FALSE needed "

This should work: for ( i in 1:dim(m)[[1]] ...READ MORE

May 28, 2019 in Data Analytics by Zulaikha
• 910 points
22,281 views
0 votes
1 answer

R programming error: Plot error - “Col=”red“

Fix this line: polygon(c(0,0,1),c(1,2,1), col="red", density=c(30, ...READ MORE

May 28, 2019 in Data Analytics by Zulaikha
• 910 points
1,125 views
0 votes
1 answer

Probabilities in R programming

This should work: poker_face <- replicate(1000, sample(poker, size ...READ MORE

May 27, 2019 in Data Analytics by Zulaikha
• 910 points
1,777 views