A Guide to R Package Validation in Pharma

October 15, 2024 | Gift Kenneth

Picture this: a crucial clinical trial is underway, and every data point matters. The pharma industry is increasingly turning to open-source tools like R to handle complex data analysis, drawn by their flexibility, innovation, added value and cost-effectiveness. But with these benefits come new challenges — particularly when it comes to ...
[Read more...]

R Solution for Excel Puzzles

October 14, 2024 | Numbers around us

Puzzles no. 559–563PuzzlesAuthor: ExcelBIAll files (xlsx with puzzle and R with solution) for each and every puzzle are available on my Github. Enjoy.Puzzle #559Sometimes we need to make work on columns. It technically just like working on lists, and l...
[Read more...]

Halloween Data Cleaning

October 12, 2024 | R on kieranhealy.org

This week in Modern Plain Text Computing we put together some of the things we’ve been learning about cleaning and tidying data. Here’s a somewhat sobering example using data from the Fatality Analysis Reporting System, which is how the NTSA tracks information about road accidents in the United ... [Read more...]

Calculating an LOOCV MSE by hand

October 11, 2024 | arthur charpentier

Last week, we had an “mid-term” exam, for our introduction to statistical learning course.  The question is simple: consider three points, , here Consider here some linear models, estimated using least square techniques, what would be the leave-one-out cross-validation MSE ? I like this exercise since we can compute everything easily, by ...
[Read more...]

Introducing: the POLYGON FULL

October 10, 2024 | Edzer Pebesma

Summary Why? How? Examples [view raw Rmd] Summary This post introduces the POLYGON FULL geometry, new in sf 1.0-18 which appeared on CRAN Today. Why? Polygons delineate a two-dimensional bound area. The OGC simple feature access standard...
[Read more...]

R You Ready? Git Your Code Under Control!

October 10, 2024 | Numbers around us

Hey there, ready to get your R code under control? Whether you’re working on your own or in a small team, managing your code can sometimes feel like juggling too many things at once. But don’t worry — there’s an easy way to stay on top of everything. ...
[Read more...]

Methods for the smooth functions in R

October 10, 2024 | Ivan Svetunkov

I have been asked recently by a colleague of mine how to extract the variance from a model estimated using adam() function from the smooth package in R. The problem was that that person started reading the source code of the forecast.adam() and got lost between the lines (this ...
[Read more...]
1 2 3 2,139