June 2020

Know Your Thread Dump

June 8, 2020 | Rimi

While analysing thread dump using an analyzer, one can see thread stacks written in a particular format along with its thread states. The format generally mentioned in the dump is ajp-10.10.89.123-8029-9 daemon prio=10 ajp – Protocol used to connect Apache to JBoss . 10.10.XX.XXX – JBoss Server IP. 8029 – Port on ... [Read more...]

Should I send my kids back to school?

June 8, 2020 | r taoist

To be honest, the main reason for me to send my kids back to school is to keep the household sane. Nevertheless, the decision should be informed by data. So here we go. I have downloaded the data from the UK government website and filtered the data by region. The ...
[Read more...]

Analyse Google Trends Search Data in R using {gtrendsR}

June 7, 2020 | AbdulMajedRaja RS

As much as Google is popular for searching information on the web, Google can also provide information (meta) about those searches. Google Search Insights can be extremely helpful in Marketing Analytics, Market Research, Understanding Customer Demands, Trends and so on. While usual Market Researches or someone interested in Google Search ...
[Read more...]

Mixing Rcpp modules and Rcpp attributes

June 7, 2020 | Rcpp Gallery

Introduction With Rcpp attributes Rcpp modules (described in the Rcpp vignettes) it is easy to expose C++ classes and functions to R. This note describes how to use classes exported by modules in conjunction with functions exported using Rcpp attributes through the use of RCPP_EXPOSED* macros. In the following ... [Read more...]

Expressing size in bananas a dive into {vctrs}

June 7, 2020 | Roel M. Hogervorst

Recently I’ve become interested in relative sizes of things. Maybe I’m paying more attention to my surroundings since I’m locked at home for so long. Maybe my inner child is finally breaking free. Whatever the reason, I channeled all of that into two packages: everydaysizes A rather ... [Read more...]

the strange occurrence of the one bump

June 7, 2020 | xi'an

When answering an X validated question on running an accept-reject algorithm for the Gamma distribution by using a mixture of Beta and drifted (bt 1) Exponential distributions, I came across the above glitch in the fit of my 10⁷ simulated sample to the target, apparently displaying a wrong proportion of simulations above (...
[Read more...]

T^4 #5: More About Byobu

June 7, 2020 | Thinking inside the box

Another video in our T^4 series of video lightning talks with tips, tricks, tools, and toys (where we had seen the announcement, shells sessions one, two, and three, as well as one byobu session) is now up at YouTube. It goes a little deeper in the w... [Read more...]

Detecting Streaks in R

June 5, 2020 | R on Data & The World

Inspired by this post, which tries to calculate streaks in Python’s pandas library, I thought I’d give it a try in R, since it’s all just dataframe operations in the Python post. I won’t repeat his analysis, but I will replicate the streak determination and some ...
[Read more...]

A very short introduction to Tidyverse

June 5, 2020 | R on Dominic Royé

1 Tiyverse 2 Style guide 3 Pipe %__% 4 Tidyverse packages 4.1 Read and write data 4.2 Character manipulations 4.3 Management of dates and times 4.4 Table and vector manipulation 4.4.1 Select and rename 4.4.2 Filter and sort 4.4.3 Group and summarize 4.4.4 Join tables 4.4.5 Long and wide tables 4.5 Visualize data 4.5.1 Line and scatter plot 4.5.2 Boxplot 4.5.3 Heatmap 4.6 Apply functions on vectors or lists 1 ...
[Read more...]

Recreating rmultinom and rpois with Rcpp

June 5, 2020 | Rcpp Gallery

Sometimes one needs to mimic the exact behavior of R’s Distributions within C++ code. The incredible Rcpp team has provided access to these distributions through Rmath.h (in the R:: namespace), as well as through the Rcpp:: namespace where there can ... [Read more...]
1 8 9 10 11 12

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)