Mostrando postagens com marcador R. Mostrar todas as postagens
Mostrando postagens com marcador R. Mostrar todas as postagens

terça-feira, 10 de abril de 2018

Treating missing values in R

There are different ways to treat missing values in R. One of the most commom ways to do that, is to replace the NA values with the mean (or mode). You can do that in a vector (or a column/line from  a data frame) using the is.na function:

> testena <- c(2,3,8,NA,9)
> testena[is.na(testena)] <- mean(testena,na.rm=T)
> testena
[1] 2.0 3.0 8.0 5.5 9.0

On RStudio...



Check out my new book about R Language http://www.amazon.com/dp/B00SX6WA06

quarta-feira, 30 de março de 2016

Have you tried Azure Machine Learning Studio yet?

Have you tried Azure Machine Learning Studio yet? If not you definetely should try it out, and do a proof of concept, just for fun.

Go to http://studio.azureml.net, and log in as guest (or register to an account).

Try the sample dataset on Movie Recommendations from Imdb, and build your own opinion.

Try out the newly added Jupiter Notebooks for R. 

Cheers!

Check out my new book about R Language http://www.amazon.com/dp/B00SX6WA06

sexta-feira, 15 de maio de 2015

In-database R coming to SQL Server 2016

Read more: http://blog.revolutionanalytics.com/2015/05/r-in-sql-server.html


Check out my new book about R Language http://www.amazon.com/dp/B00SX6WA06