المشاركات

عرض المشاركات من سبتمبر, 2022

rstudio::glimpse() Newsletter

Tracy Teal is the Open Source Program Director at RStudio. This is our third rstudio::glimpse() newsletter. If you're reading this on the blog, you can subscribe here to receive this newsletter in your inbox. So many new learning resources have been... Continue reading: rstudio::glimpse() Newsletter http://dlvr.it/SZFndx

Shiny in Production Conference

صورة
Shiny is a great way of building interactive web applications without having to have extensive web development knowledge - as long as you know the problem you’re trying to solve, have some ideas of how to display the data, and of course, a bit of R kno... Continue reading: Shiny in Production Conference http://dlvr.it/SZBLdy

Notes on Linear Algebra Part 4

Series: Part 1 Part 2 Part 3 Back in Part 2 I mentioned some of the challenges of learning linear algebra. One of those challenges is making sense of all the special types of matrices one encounters. In this post I hope to shed a little light on t... Continue reading: Notes on Linear Algebra Part 4 http://dlvr.it/SZ6wLr

August 2022: “Top 40” New CRAN Packages

صورة
One hundred ninety-four new package made it to CRAN in August. Here are my “Top 40” picks in thirteen categories: “Computational Methods, Data, Epidemiology, Genomics, Insurance, Machine Learning, Mathematics, Medicine, Pharmaceutical Applications, Statistics, Time Series, Utilities, and Visualization. Computational Methods brassica v1.0.1: Executes BASIC programs from the 1970s for historical and ... Continue reading: August 2022: “Top 40” New CRAN Packages http://dlvr.it/SZ3Wss

Mandell O Mandell, Please Grant Me Some Insight!

صورة
TL;DR Bring a textbook to life by Using a simple Natural Language Processing method (Ngram) to guide focused reading and build a robust differential diagnosis Introduction What would you do if you encountered a clinical case with quite a few nuance symptoms? How do you know which article to ... Continue reading: Mandell O Mandell, Please Grant Me Some Insight! http://dlvr.it/SZ2y5q

Error in rbind(deparse.level …) numbers of columns of arguments do not match

The post Error in rbind(deparse.level …) numbers of columns of arguments do not match appeared first on Data Science Tutorials What do you have to lose?. Check out Data Science tutorials here Data Science Tutorials. Error in rbind(deparse.level …) numbers of columns of arguments do not match, This ... Continue reading: Error in rbind(deparse.level …) numbers of columns of arguments do not match http://dlvr.it/SYT6ZC

The ‘Reorient’ transformation

صورة
If you follow my youtube channel then you have certainly seen the “ball” of twenty Hopf tori. Sometimes I call it the “Hopf flower”. How is it done? Well, firstly, I take twenty poin... Continue reading: The ‘Reorient’ transformation http://dlvr.it/SYQ1zn

Multi-environment split-plot experiments

Have you made a split-plot field experiment? Have you repeated such an experiment in two (or more) years/locations? Have you run into troubles, because the reviewer told you that your ANOVA model was invalid? If so, please, stop for awhile and read:... Continue reading: Multi-environment split-plot experiments http://dlvr.it/SYMGNf

Automate a Twitter bot with the rtweet package and RStudio Connect

صورة
When developing the promotion plan for the many exciting talks at rstudio::conf(2022), we thought of using the rtweet package by Michael W. Kearney to create a Twitter bot to automate Tweet announcements when a presentation was about to sta... Continue reading: Automate a Twitter bot with the rtweet package and RStudio Connect http://dlvr.it/SYKY2S

How to Concatenate Strings in R

We can perform string concatenation in R language using the paste() and cat() methods. In this tutorial, let us explore the various methods available to concatenate strings in r and… Continue reading: How to Concatenate Strings in R http://dlvr.it/SYGCqS

Vector Data Cubes

Vector data cubes Where do vector data cubes come from? Representing vector data cubes in software File formats for vector data cubes array formats I/O: GIS formats long... Continue reading: Vector Data Cubes http://dlvr.it/SYFh1N

The R Consortium Needs Your Help with satRdays

The September Call for Proposals is now open, and the Infrastructure Steering Committee would like to encourage proposals from the R Community to upgrade the software infrastructure supporting the satRdays... The post The R Consortium Needs Your Help with satRdays appeared first on R Consortium. Continue reading: The R Consortium Needs Your Help with satRdays http://dlvr.it/SYDbBf

Minimum R version dependency in R packages

صورة
There have been much talk and many blog posts about R package dependencies. Yet, one special dependency is more rarely mentioned, even though all packages include it: the dependency on R itself. The same way you can specify a dependency on a package, a... Continue reading: Minimum R version dependency in R packages http://dlvr.it/SYCvF4

How to crop an image to a circle in R with {cropcircles}

صورة
I hadn’t found a super-easy-you-don’t-have-to-think-about-it way to crop an image to a circle in R with a transparent background. There’s […] The post How to crop an image to a circle in R with {cropcircles} appeared first on Dan Oehm | Gradient Descending. Continue reading: How to crop an image to a circle in R with {cropcircles} http://dlvr.it/SYBMLp

Global vs. local assignment operators in R (‘

صورة
Understanding the difference between local and global assignment operators in R can be tricky to get your head around. Here’s an example which should clear things up.First, let’s create two variables named “global_var” and “local_var” and give them the... Continue reading: Global vs. local assignment operators in R (‘ http://dlvr.it/SY7yZc

Exploring OMPR with HiGHS solver

صورة
There is a class of software for modeling optimization problems referred to as algebraic modeling systems which provide a unified interface to formulate optimization problems in a manner that is close to mathematical depiction and have the abilit... Continue reading: Exploring OMPR with HiGHS solver http://dlvr.it/SY72mD

Visualizing OLS Linear Regression Assumptions in R

صورة
While most of the time it’s sufficient to programmatically validate your model assumptions, sometimes it’s helpful to visualize them. Here are a few quick ways you can do just that.LinearityVisualizing LinearityLinearity is likely the easiest assumptio... Continue reading: Visualizing OLS Linear Regression Assumptions in R http://dlvr.it/SY6nZ4

Notes on Linear Algebra Part 3

Series: Part 1 Part 2 This post is a survey of the linear algebra-related functions from base R. Some of these I’ve disccused in other posts and some I may discuss in the future, but this post is primarily an inventory: these are the key tools we ... Continue reading: Notes on Linear Algebra Part 3 http://dlvr.it/SY6NDf

How to Find Optimal Clusters in R?

The post How to Find Optimal Clusters in R? appeared first on Data Science Tutorials How to Find Optimal Clusters in R, K-means clustering is one of the most widely used clustering techniques in machine learning. With the K-means clustering technique, each observation in a dataset is assigned to one ... Continue reading: How to Find Optimal Clusters in R? http://dlvr.it/SY67MW

The compound of five tetrahedra

صورة
Saturn Elephant - The compound of five tetrahedra Standard error ... Continue reading: The compound of five tetrahedra http://dlvr.it/SY5qZk

nanonext – a web toolkit

صورة
Shikokuchuo The previous two articles have centered on the main uses which led to the creation of Nanonext - the desire to bridge code written in different languages, as well as the ability to perform actions concurrently. This article aims to highlight the additional features that have been built around ... Continue reading: nanonext – a web toolkit http://dlvr.it/SY3nWp

Python application deployment with RStudio Connect: Streamlit

صورة
This is the final part of our three part series Part 1: Python API deployment with RStudio Connect: Flask Part 2: Python API deployment with RStudio Connect: FastAPI Part 3: Python API deployment with RStudio Connect: Streamlit (this post) RStudio Connect is a platform which is well known for providing the ability to ... Continue reading: Python application deployment with RStudio Connect: Streamlit http://dlvr.it/SY1HQP

Taking on Virtual Events with Regular Structured and Casual Meetups ☕️

صورة
The R Consortium recently interviewed John Blischak and Tim Hoolihan with the Cleveland R UseR Group. The organizers share more about how the group managed to continue to grow with... The post Taking on Virtual Events with Regular Structured and Casual Meetups ☕️ appeared first on R Consortium. Continue reading: Taking on Virtual Events with Regular Structured and Casual Meetups ☕️ http://dlvr.it/SY10wX

Professional Shiny App UI and Layouts with imola and shiny.fluent

صورة
Shiny as a web framework is known for its combination of power, simplicity, and flexibility. It’s a convenient tool for app development at all levels, from proof of concept to production-grade Shiny apps. With additional packages like {imola} and {shiny.fluent}, anyone can create professional Shiny app UIs with ... Continue reading: Professional Shiny App UI and Layouts with imola and shiny.fluent http://dlvr.it/SY10pj

Version controlling your .Rprofile, .gitconfig and other dotfiles.

Dotfiles are an important part of coding on Linux and macOS. In my work, I find myself not only working on my macOS laptop but on several Linux servers. Each of these requires dotfiles to configure my R (.Rprofile), git (.gitconfig and .gitignore_globa... Continue reading: Version controlling your .Rprofile, .gitconfig and other dotfiles. http://dlvr.it/SY08wS

How strongly does German electricity demand react to high prices?

صورة
The discussion on how to deal with exploding European electricity prices takes on steam. Recent ideas of the EU and similar proposals by the German government do not directly attempt to reduce electricity wholesale prices. The goal is to collect infra-... Continue reading: How strongly does German electricity demand react to high prices? http://dlvr.it/SXy0kp

Using Shiny Server in Docker

صورة
A quick note on how to use the Shiny Server Docker image, rocker/shiny. I’m a big believer in starting with the simplest possible setup, getting that to work and then adding complexity in layers. We’ll start with a simple Shiny application in app.R. Continue reading: Using Shiny Server in Docker http://dlvr.it/SXxk8Q

Beneath and Beyond the Cox Model

صورة
The Cox Proportional Hazards model has so dominated survival analysis over the past forty years that I imagine quite a few people who regularly analyze survival data might assume that the Cox model, along with the Kaplan-Meier estimator and... Continue reading: Beneath and Beyond the Cox Model http://dlvr.it/SXtz5F

How to Avoid Overfitting?

صورة
The post How to Avoid Overfitting? appeared first on Data Science Tutorials How to Avoid Overfitting?, Overfitting is a frequent error committed by Data Scientists. Your many hours of coding may be wasted if this happens. Your model’s outputs could be inaccurate, which would complicate the decision-making process even ... Continue reading: How to Avoid Overfitting? http://dlvr.it/SXtjBB

Financial Industry Supports Robust Vienna R Community

صورة
R Consortium recently talked to Mario Amau, co-organizer of the Vienna Continue reading: Financial Industry Supports Robust Vienna R Community http://dlvr.it/SXt4r5

The Package: learning how to build an R package

I recently made my first R package and was asked how I did it. The answer of course was: I searched, read, and stumbled around until it was done. But having gone through the process I figured it was worthwhile summarising what I did and what I found tricky. First ... Continue reading: The Package: learning how to build an R package http://dlvr.it/SXsfHD

Webscraping Dynamic Websites with R

صورة
In this post, you’ll learn how to scrape dynamic websites in R using {RSelenium} and {rvest}. Although some basic knowledge of rvest, HTML, and CSS is required, I will explain basic concepts through the post. So even beginners will find some use in this tutorial for webscraping dynamic sites ... Continue reading: Webscraping Dynamic Websites with R http://dlvr.it/SXs7Yr

Tracking: announcing new R package TrackMateR

صورة
A short post to announce TrackMateR, a new R package to analyse TrackMate XML outputs. Code Instructions Background TrackMate is a plug-in for ImageJ which ships with Fiji. It’s essential for single particle tracking work, particularly for microscopy movies. For example, tracking the movement of fluorescent vesicles inside cells. ... Continue reading: Tracking: announcing new R package TrackMateR http://dlvr.it/SXnmqF

Boosted Configuration (neural) Networks Pt. 2

صورة
About the optimization of weights and biases for Boosted Configuration (neural) Networks Continue reading: Boosted Configuration (neural) Networks Pt. 2 http://dlvr.it/SXlPrr

Introducing {PrettyCols}

صورة
Making plots that are aesthetically pleasing has always been an important aspect of data visualisation to me. And when I later started creating generative art, I would spend time choosing colours purely based on whether they looked good together. On w... Continue reading: Introducing {PrettyCols} http://dlvr.it/SXjN36

Looking at cash flows

صورة
Dr. Maria Prokofieva is a member of the R / Business working group which is promoting the use of R in accounting, auditing, and actuarial work. She is also a professor at the Victoria University Business School in Australia and works wi... Continue reading: Looking at cash flows http://dlvr.it/SXhq7N

pkgdown and GDPR – How to host a pkgdown site in Germany

pkgdown is a great tool for generating a website with documentation for an R package. Unfortunately, pkgdown uses CDNs (content delivery networks) like Cloudflare to embed often used JavaScript libraries into the generated website. Also, fonts are incl... Continue reading: pkgdown and GDPR – How to host a pkgdown site in Germany http://dlvr.it/SXh12n

How to Add a caption to ggplot2 Plots in R?

The post How to Add a caption to ggplot2 Plots in R? appeared first on Data Science Tutorials How to Add a caption to ggplot2 Plots in R?, the graphs in ggplot2 can have captions added using one of the methods listed below. With the following data frame in R, ... Continue reading: How to Add a caption to ggplot2 Plots in R? http://dlvr.it/SXdq88

Shiny Reactivity Tricks, pt. II: Reactives Factories

صورة
Preface Basic example Solution 1: wrap a function with a reactive. Solution 2a and 2b: extract input. Solution 3: wrap a reactive with a function (factory). Discussion & summary Preface There was no post last week because the holiday season... Continue reading: Shiny Reactivity Tricks, pt. II: Reactives Factories http://dlvr.it/SXdG1t

Use of Differential Privacy in the US Census–All for Nothing?

The field of data privacy has long been of broad interest. In a medical database, for instance, how can administrators enable statistical analysis by medical researchers, while at the same time protecting the privacy of individual patients? Over the years, many methods have been proposed and used. I’ve done ... Continue reading: Use of Differential Privacy in the US Census–All for Nothing? http://dlvr.it/SXbPS9