questions/data-science
easy peasy. just pop the following into a ...READ MORE
How to add color legend for box ...READ MORE
Use code as below - lapply(air,function(x) { length(which(is ...READ MORE
colSums(is.na(data_frame_name)) will return you number of nulls ...READ MORE
How to add custom labels to charts ...READ MORE
Use below code - which(is.na(air)) is.na() will return a boolean ...READ MORE
A small trick that you can do ...READ MORE
Use rbind() to join both data frames ...READ MORE
This is a good question. READ MORE
Hi, top_n( ) and top_frac( ) also is ...READ MORE
How to join 2 columns in R ...READ MORE
Create a vector of the list of ...READ MORE
Hey Latha, The difference between them is that ...READ MORE
How to Split a string and store ...READ MORE
If you used sub() to replace the ...READ MORE
Use below code - If the elements within ...READ MORE
Try this code: if (interactive()) { print('Hello ...READ MORE
Try this: wineData$taste <- NA ...READ MORE
Hi Anand, Try as below - class(dataset/dataframe$col_name) <- ...READ MORE
You can also use relevel() to change ...READ MORE
To see all installed packages in system ...READ MORE
Hi Deepa, It's quite simple, let me explain ...READ MORE
You haven't installed keras in the correct ...READ MORE
Hey! The code should function as it ...READ MORE
This command will tell you which processes ...READ MORE
Start by uninstalling tensorflow and protobuf and reinstall them. Use ...READ MORE
This should do it: do.call("rbind", lapply(filenames, loadFile)) READ MORE
Here's an example, use the html_table : library(rvest) library(dplyr) url <- ...READ MORE
Check the python version installed. Tensorflow is ...READ MORE
This should work: for ( i in 1:dim(m)[[1]] ...READ MORE
Fix this line: polygon(c(0,0,1),c(1,2,1), col="red", density=c(30, ...READ MORE
This should work: poker_face <- replicate(1000, sample(poker, size ...READ MORE
This should work: df$symbol <- as.character(df$symbol) df$symbol[df$symbol == "ABCD.BO"] ...READ MORE
sink diverts R output to a connection ...READ MORE
Hi there, If you are trying to install ...READ MORE
It took me a while to solve ...READ MORE
Try this, it worked for me: options(java.parameters="-Xmx4000m&q ...READ MORE
The RJulia package is provided by R programming. ...READ MORE
Try this code: dat <- read.table("~/data/data.txt", quote="\"", ...READ MORE
Make sure you have installed the required ...READ MORE
Supervised learning is the machine learning task ...READ MORE
You can follow this code: y <- rnorm(100) ...READ MORE
You can go through the ESS documentation ...READ MORE
Use expand.grid to get all possible combinations ...READ MORE
Have you installed 'ROAuth' and 'RCurl' packages? ...READ MORE
Follow the below command: C:\Program Files\R\R-3.1.1\bin\Rscript.e ...READ MORE
You can check out the official docs ...READ MORE
Try this , Employee %>% group_by(EmpID) %>% mutate(SumSalary ...READ MORE
Here's an example, you can try this ...READ MORE
Since you're new to the field, I'd ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.