Publications by Matt
Обзор Bitz – Надежные и быстрые выплаты, автоматы и бонусы
Menu Для чего нужна регистрация в казино Bitz Скачать Bitz Casino для Android Мобильная версия Bitz – скачать приложение на Андроид или Айфон Лотереи и турниры в казино Bitz Мобильное онлайн казино Bitz Игра б�...
16308 sym
hello world
hello world!!! Related To leave a comment for the author, please follow the link and comment on their blog: RLang.io | R Language Programming. R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job. Want to share your cont...
429 sym
Assignment 1
Background The Endangered Species Act (ESA) was put into effect in 1973 and since then, has undergone many changes. The Trump administration, which are heavily Republican, has implemented change to the ESA. The most significant change made is the removal of blanket protections for threatened species. Originally, any species deemed threatened by the...
6307 sym R (1270 sym/15 pcs) 2 img
Using R, Python, & Plotly With Tableau
Andy Kriebel recently pointed out that Tableau dashboards let you export their underlying data. Using data frames in R or Python we can read data from Tableau. Then we can plot with Plotly’s Python and R APIs. The use case: collaborate and share data across languages and teams. Let’s try it out. The R code for this post is in ...
1516 sym 2 img
R, Python, MATLAB, & Excel Dashboards & Graphs with D3.js & WebGL
Web tools like D3.js and WebGL let you make beautiful, interactive 2D and 3D graphs. You can now publish graphs and dashboards with these technologies using Python, R, MATLAB, & Excel. Publishing and sharing is one extra line of code. This post puts you on your way, no downloads or installations required. We’ll start with ggplot2;...
2474 sym R (422 sym/2 pcs) 10 img
Five Interactive R Visualizations With D3, ggplot2, & RStudio
Plotly has a new R API and ggplot2 library for making beautiful graphs. The API lets you produce interactive D3.js graphs with R. This post has five examples. Head to our docs to get a key and you can start making, embedding, and sharing plots. The code below produces our first plot. library(plotly) set.seed(100) d <- diamonds[sample(nro...
2491 sym R (2274 sym/7 pcs) 14 img
Return a Vector of Each Word Found Before the End of a Sentence
This little function returns the vector of each word found before the end of a sentence. I ended up writing this for a pet project to help with the babble function within the ngrams R package. It can be used to find the best spot to terminate sentences from the resulting babbles and adjusted to fit your needs.stops <- data.frame(table(terminati...
842 sym R (84 sym/1 pcs)
Use an R Session as a Websocket Server
This is VERY simple R function that when ran turns your R session into a websocket server. For this example it returns the standard deviation from a JSON encoded array sent via websockets. This method can be used to do all sorts of things, include return information for the R workspace environment and even dynamically run code through the use of...
1115 sym R (39 sym/1 pcs)
Keyword Searches from Comma Separated Terms
Long story short, I need to convert a pretty simple OR search to a non-directional AND keyword search. Direction is straightforward, with just using [.*?] between words (or in SQL using LIKE keyword_1%keyword_2). Anyhow, I came up with this little function and thought I would share.keyword_search <- paste0(sapply(unlist(strsplit("keyword_1,keywor...
1547 sym R (178 sym/2 pcs)
Function to Read NDJSON (Newline Deliminated JSON) Files
Notice jsonlite has a stream_in() function that works much better and faster. Do not use this I ended up writing this while working on a web scraper for a lyrics website and thought it might be useful to some people. This is still a generic solution, but it probably won’t be of help unless you are working with the ndjson files and don’t want ...
1264 sym R (791 sym/2 pcs)