المشاركات

Time Flies? Time Travels! Adding Days to Dates in R (Like a Pro)

Introduction Ever wished you could skip ahead a few days for that weekend getaway, or rewind to relive a magical moment? While real-life time travel remains a sci-fi dream, in R, adding days to dates is a breeze! Today, we’ll explore both base R... Continue reading: Time Flies? Time Travels! Adding Days to Dates in R (Like a Pro) http://dlvr.it/T27fy9

PowerQuery Puzzle solved with R

صورة
#151–152PuzzlesAuthor: ExcelBIAll files (xlsx with puzzle and R with solution) for each and every puzzle are available on my Github. Enjoy.Puzzle #151Today we simplified log of people work. They just written down date and time of start and end. Not rea... Continue reading: PowerQuery Puzzle solved with R http://dlvr.it/T25JTK

Binary logistic regression in R

صورة
Introduction Linear versus logistic regression Univariate versus multivariate logistic regression Data Binary logistic regression in R Univariate binary logistic regression Quantitative independent variable Qualitative independent variable Multivariate binary logistic regression Interaction Model selection Quality of a model Validity of the predictions Accuracy Sensitivity and specificity AUC and ROC curve Reporting ... Continue reading: Binary logistic regression in R http://dlvr.it/T25JBg

Avoiding reactivity in a Shiny app

Sometimes the Shiny reactivity is not desirable. Assume for example the Shiny app renders a plot and the title of this plot is given by the user with a text input. So in the Shiny UI you have ... Continue reading: Avoiding reactivity in a Shiny app http://dlvr.it/T25Hzb

Using the ‘RowReorder’ extension in a Shiny app

The ‘RowReorder’ extension of datatables is available in the DT package. This extension allows to reorder the rows of a DT table by dragging and dropping. However, if you enable this extension in a Shiny ... Continue reading: Using the ‘RowReorder’ extension in a Shiny app http://dlvr.it/T23q1C

How to Extract Month from Date in R (With Examples)

Introduction Greetings fellow R enthusiasts! Today, we’re diving into a fundamental task: extracting the month from a date in R. Whether you’re new to R or a seasoned pro, understanding how to manipulate dates is essential. We’ll explore two pop... Continue reading: How to Extract Month from Date in R (With Examples) http://dlvr.it/T23FNC

mirai Parallel Clusters

صورة
A surprise I came to write this post because I was surprised by its findings. The seed for it came from a somewhat obscure source: the Tokyo.R slack channel. This is actually a fairly vibrant R community. In any case, there was a post by an R user s... Continue reading: mirai Parallel Clusters http://dlvr.it/T22BJt