المشاركات

عرض المشاركات من مايو, 2022

Deep Learning with R, Second Edition Book Launch

We are excited to announce the MEAP release of Deep Learning with R, Second Edition! As part of the Manning Early Access Program (MEAP), you have early access to the book while it is being written. We plan to release the complete version of the book ne... Continue reading: Deep Learning with R, Second Edition Book Launch http://dlvr.it/SRPTS4

Interactive 3d plot in R-Quick Guide

صورة
The post Interactive 3d plot in R-Quick Guide appeared first on Data Science Tutorials Interactive 3d plot in R, This R lesson shows how to create dynamic 3d graphics with R and the scatter3d function from the package car. The rgl package is used by the scatter3d() function ... Continue reading: Interactive 3d plot in R-Quick Guide http://dlvr.it/SRNlys

{ggblanket}: common x and y scale adjustments

صورة
I was messing around with some scale adjustments with my {ggblanket} package, and thought I’d share this as a post. It’s by no means a complete demonstration of the functionality available. But it demonstrates a bit of how x and y scales can be adj... Continue reading: {ggblanket}: common x and y scale adjustments http://dlvr.it/SRNlwt

Non-linear Optimization by using constrOptim.nl R function

صورة
This post shows how to use constrOptim.nl() R function to solve non-linear optimization problem with or without equality or inequality constraints. Nelson-Siegel yield curve model is used as an target example. Its calculation time is faster... Continue reading: Non-linear Optimization by using constrOptim.nl R function http://dlvr.it/SRMkMG

Editorial Automation: Why & How to Set Up Chat-Ops for your Own Review System on GitHub

صورة
Anyone can contribute a software package to the rOpenSci suite as long as it fits our scope (research lifecycle software and statistical software) for a transparent, constructive, nonadversarial and open review. In practice, the review steps are all r... Continue reading: Editorial Automation: Why & How to Set Up Chat-Ops for your Own Review System on GitHub http://dlvr.it/SRMkLz

April: “Top 40” New CRAN Packages

صورة
Computational Methods hmer v1.0.1: Provides objects and functions for Bayes Linear emulation and history matching, including functions for automated training of emulators, diagnostic functions to ensure suitability, and a variety of methods for generating waves of points. There is a vignette Demo of the package, an Emulation and History matching ... Continue reading: April: “Top 40” New CRAN Packages http://dlvr.it/SRL9N5

How to Perform a Log Rank Test in R

The post How to Perform a Log Rank Test in R appeared first on Data Science Tutorials  How to Perform a Log Rank Test in R, The most frequent technique to compare survival curves between two groups is to use a log-rank test. The following hypotheses are used in this ... Continue reading: How to Perform a Log Rank Test in R http://dlvr.it/SRJ7mG

8 New Books added to Big Book of R

29 May 2022 We’re closing in on the next milestone of 300 unique entries in Big Book of R! Today’s update has a bunch of really interesting additions, and thanks to Staurt Lodge and Tim Hendriks for some of the submissions. Before we dive into them, I want to let … The ... Continue reading: 8 New Books added to Big Book of R http://dlvr.it/SRGf6p

How to compare variances in R

The post How to compare variances in R appeared first on Data Science Tutorials How to compare variances in R?, The F-test is used to see if two populations (A and B) have the same variances. When should the F-test be used? A comparison of two variations is useful in ... Continue reading: How to compare variances in R http://dlvr.it/SRFjL1

Street Maps (of Some Cities)

Over the last few days, I dabbled with maps in R. Two days ago, I made a map of all the cities I’ve visited. Today, I thought to make street maps of some of them (and other cool cities). Continue reading: Street Maps (of Some Cities) http://dlvr.it/SRDzPx

leaRn! (learn R)

All levels No prior experience required Certified RStudio Trainer (Tidyverse + Shiny) Also certified by The Carpentries at UofT Eight years of experience with R and databases See my email in the image. Continue reading: leaRn! (learn R) http://dlvr.it/SRDm7x

Two Sample Proportions test in R-Complete Guide

The post Two Sample Proportions test in R-Complete Guide appeared first on Data Science Tutorials Two Sample Proportions test in R, To compare two observed proportions, the two-proportions z-test is utilized. This article explains the fundamentals of the two-proportions *z-test and gives practical examples using R software. We have two ... Continue reading: Two Sample Proportions test in R-Complete Guide http://dlvr.it/SRDBD5

Best Books on Data Science with Python

The post Best Books on Data Science with Python appeared first on Data Science Tutorials Best Books on Data Science with Python, In the subject of data science, Python is one of the most extensively used programming languages. Pandas, NumPy, scikit-learn, Matplotlib, and SciPy are just a few of the ... Continue reading: Best Books on Data Science with Python http://dlvr.it/SRCVhq

Biggest Social Advertisers on Facebook

Facebook provides data on all ad funding related to social issues, politics and elections. Here is a simple plot and table to explore the most prominent advertisers. Continue reading: Biggest Social Advertisers on Facebook http://dlvr.it/SRBj4T

One sample proportion test in R-Complete Guide

The post One sample proportion test in R-Complete Guide appeared first on Data Science Tutorials One sample proportion test in R, when there are just two categories, the one proportion Z-test is used to compare an observed proportion to a theoretical one. This article explains the fundamentals of the one-proportion ... Continue reading: One sample proportion test in R-Complete Guide http://dlvr.it/SR7T7w

Calling R From Python With rpy2

صورة
This post on R Views is about… Python! Surprising, I know. Python has several well-written packages for statistics and data science, but CRAN, R’s central repository, contains thousands of packages implementing sophisticated statistical algorithms that have been field-tested over many years. Thanks to the rpy2 package, Pythonistas can take ... Continue reading: Calling R From Python With rpy2 http://dlvr.it/SR7T0B

Introducing tidyterra

صورة
tidyterra provides tidyverse methods for terra objects and geom functions for plotting with ggplot2. Continue reading: Introducing tidyterra http://dlvr.it/SR7SpZ

RObservations #31: Using the magick and tesseract packages to examine asterisks within the Noam Elimelech

صورة
Introduction Since my last blog on Tesseract-OCR I have been playing around casually with it to see what it is possible of doing. Tesseract supports optical character recognition for over 100 languages. That together with straight forward usage for implementing it in R inspired me to try using it for Hebrew ... Continue reading: RObservations #31: Using the magick and tesseract packages to examine asterisks within the Noam Elimelech http://dlvr.it/SR7ScX

How to add labels at the end of each line in ggplot2?

The post How to add labels at the end of each line in ggplot2? appeared first on Data Science Tutorials How to add labels at the end of each line in ggplot2?, Using the ggplot2 R library, this article shows how to display the last value of each line as ... Continue reading: How to add labels at the end of each line in ggplot2? http://dlvr.it/SR7SbX

Requiring 2FA for Our Main GitHub Organization

Following our recent post on “Safeguards and Backups for GitHub Organizations”, nearly one month ago we went one step further and made two-factor authentication (2FA) required for all members and outside collaborators of our main organizat... Continue reading: Requiring 2FA for Our Main GitHub Organization http://dlvr.it/SQSQ2V

Self-documenting {ggplot}s thanks to the power of monads!

صورة
Hey kid, fancy some self-documenting {ggplots} like this one: Just read on! I’ve been working hard on a package that I’ve called {chronicler} (read my post on it here) which allows you to attach a log to the objects you create, thus making it easy to know how ... Continue reading: Self-documenting {ggplot}s thanks to the power of monads! http://dlvr.it/SQQJlZ

Change ggplot2 Theme Color in R ggthemr Package

صورة
The post Change ggplot2 Theme Color in R ggthemr Package appeared first on Data Science Tutorials -  In this article, you’ll learn how to change the colors of ggplot2 visuals in the R programming language by utilizing different themes. Let&#... Continue reading: Change ggplot2 Theme Color in R ggthemr Package http://dlvr.it/SQPyC0

Best Books to Learn R Programming

The post Best Books to Learn R Programming appeared first on Data Science Tutorials - Best Books to Learn R Programming, R and Python are now the most popular programming languages for performing data science, and each has its own set of advantages and downsides. Python is preferred for Machine ... Continue reading: Best Books to Learn R Programming http://dlvr.it/SQNws9

Mastering Shiny — 4.8 Exercise 1: Next and Back Button

Below is the 4th exercise in book Mastering Shiny, Chapter 4: Case study: ER injuries. “Provide a way to step through every narrative systematically with forward and backward buttons.Advanced: Make the list of narratives “circular” so that advancing forward from the last narrative takes you to the first.” Collin Berke ... Continue reading: Mastering Shiny — 4.8 Exercise 1: Next and Back Button http://dlvr.it/SQNSc9

ggblanket: making beautiful ggplot2 visualisation simpler

صورة
A few days ago, I released {ggblanket} onto CRAN. This package took over my brain for 1.5 months, and I worked obsessively on it. I hope people find it useful. The objective of {ggblanket} is to make beautiful {ggplot2} visualisation simpler. With ... Continue reading: ggblanket: making beautiful ggplot2 visualisation simpler http://dlvr.it/SQNSb6

Boolean operations on meshes with R(CGAL)

صورة
I?m still working on my package RCGAL, that I already present in a previous post. This previous post was about the reconstruction of surfaces. Now I implemented the Boolean operations on mes... Continue reading: Boolean operations on meshes with R(CGAL) http://dlvr.it/SQMtcC

One way ANOVA Example in R-Quick Guide

صورة
The post One way ANOVA Example in R-Quick Guide appeared first on - One way ANOVA Example in R, the one-way analysis of variance (ANOVA), also known as one-factor ANOVA, is an extension of the independent two-sample t-test for comparing means when more than two groups are present. The data ... Continue reading: One way ANOVA Example in R-Quick Guide http://dlvr.it/SQM7Q0

Shiny in Production (2022)

صورة
Save the Date: 4th-5th October This October, Jumping Rivers will be holding our in-person Shiny in Production conference! Hosted in the centre of Newcastle Upon Tyne, UK, this conference will delv... Continue reading: Shiny in Production (2022) http://dlvr.it/SQKtfw

How to perform the MANOVA test in R?

The post How to perform the MANOVA test in R? appeared first on - How to perform the MANOVA test in R?. when there are several response variables, a multivariate analysis of variance can be used to examine them all at once (MANOVA). This article explains how to use R ... Continue reading: How to perform the MANOVA test in R? http://dlvr.it/SQKtHJ

Two-Way ANOVA Example in R-Quick Guide

صورة
The post Two-Way ANOVA Example in R-Quick Guide appeared first on - Two-Way ANOVA Example in R, the two-way ANOVA test is used to compare the effects of two grouping variables (A and B) on a response variable at the same time. Factors are another name for grouping variables. Levels ... Continue reading: Two-Way ANOVA Example in R-Quick Guide http://dlvr.it/SQKtDg

How to perform the Kruskal-Wallis test in R?

صورة
The post How to perform the Kruskal-Wallis test in R? appeared first on . How to perform the Kruskal-Wallis test in R, when there are more than two groups, the Kruskal-Wallis test by rank is a non-parametric alternative to the one-way ANOVA test. It extends the two-samples Wilcoxon test. When the ... Continue reading: How to perform the Kruskal-Wallis test in R? http://dlvr.it/SQK6lp

‘R basics – objects, functions and operations’ workshop

Take the first R steps and enhance your data science toolkit with us on June 8th! Would you like to discover the basics of R programming and get solid foundations for future learning? Even if you are an absolute beginner, the workshop “R basics - ob... Continue reading: ‘R basics – objects, functions and operations’ workshop http://dlvr.it/SQJ1cL

The importance of web accessibility standards

صورة
An accessible website is more than putting content online. Making a website accessible means ensuring that it can be used by as many people as possible. Accessibility standards such as the Web Con... Continue reading: The importance of web accessibility standards http://dlvr.it/SQGMGR

Free workshop on how to learn R

صورة
Hello everyone! I am psyched to announce the launch of my free workshop about how to learn R. It’s been a long time in the making, but it is finally here. The workshop is called The Myth of the R Learning Curve (or how not to go crazy when ... Continue reading: Free workshop on how to learn R http://dlvr.it/SQG02N

Exploring RStudio’s Visual Markdown Editor

صورة
RStudio 1.4 was released in January 2021 and switched to calendar-based versioning as of 2021.09. Starting with 1.4, the IDE includes a visual markdown editor that works on any markdown-based document, such as .md or .Rmd files. Visual editing mode pro... Continue reading: Exploring RStudio’s Visual Markdown Editor http://dlvr.it/SQBLCW

Alignment cheatsheet

صورة
I’ve used {ggtext}’s geom_textbox() a lot in my recent data visualisations, but, every time, I end up resorting to a […] The post Alignment cheatsheet appeared first on NHS-R Community. Continue reading: Alignment cheatsheet http://dlvr.it/SQ9Mfd

5 Key Data Visualization Principles Explained – Examples in R

صورة
Data visualization can be tricky to do right. There are a ton of key principles you need to be aware of. Today we bring you 5 best practices for visualizing data with examples in R programming language. Incorporate these key R data visualization principles into your toolset to improve your data ... Continue reading: 5 Key Data Visualization Principles Explained – Examples in R http://dlvr.it/SQ6KkQ

New Member Pfizer Joins R Consortium

صورة
SAN FRANCISCO, May 2, 2022 – The R Consortium, a Linux Foundation project supporting the R Foundation and worldwide R community, today announced that Pfizer has joined as a Silver... The post New Member Pfizer Joins R Consortium appeared first on R Consortium. Continue reading: New Member Pfizer Joins R Consortium http://dlvr.it/SQ3WL1

Building a multi-session {shiny} application with {brochure}

About {brochure} {shiny}, and the closely linked packages like {bslib}, {thematic}, {shinytest}, etc, are a fantastic resource for R programmers that enable building powerful interactive applications. Building on top of these, are some new (and not so new) R packages that that streamline and standardize the development of {shiny} applications. ... Continue reading: Building a multi-session {shiny} application with {brochure} http://dlvr.it/SQ3WHV

Learning Path: Introduction to R

صورة
Enhance your data science toolkit with our “Introduction to R” learning path: from the basis of the syntax, to building and hosting an R package on GitHub. R is among the most popular programming, scripting, and markup languages. Written by statisti... Continue reading: Learning Path: Introduction to R http://dlvr.it/SQ390D

How to embed a Shiny app into your blog posts

Today’s a short blog post. It’s mainly for sharing a cool trick I just learned. Here’s a simple template to incorporate your Shiny app into an HTML file. For instance, you can incorporate your shiny app into your blog post like I do h... Continue reading: How to embed a Shiny app into your blog posts http://dlvr.it/SQ2k6G

Comparing performances of CSV to RDS, Parquet, and Feather file formats in R

صورة
From the previous blogpost:– CSV or alternatives? Exporting data from SQL Server data to ORC, AVRO, Parquet, Feather files and store them into Azure data lake we have created Azure blob storage, connected secure connection using Python and started uploading files…Read more › Continue reading: Comparing performances of CSV to RDS, Parquet, and Feather file formats in R http://dlvr.it/SQ0QQX

Analyze your Twitter timeline with {rtweet} and {lubridate}

صورة
This week, I am oddly proud to announce that I have reached 1000 followers on Twitter. Check out the visualization that I have created for this joyous occasion. To me, my rising follower count and the somewhat regular mails that I receive are a sign that people like to read my ... Continue reading: Analyze your Twitter timeline with {rtweet} and {lubridate} http://dlvr.it/SPyFDG

Color-Swapping Film Palettes in R with imager, ggplot2, and kmeans

صورة
I like visual arts, but I’m moderately colorblind and thus have never been great at making my own works. When I’m plotting data and need colors, my standard procedure is having a website generate me a color palette or finding a visually pleasing one so... Continue reading: Color-Swapping Film Palettes in R with imager, ggplot2, and kmeans http://dlvr.it/SPw9zD

Model evaluation with presence points and raster predictions

صورة
The Boyce index (Boyce et al. 2002) is often described as a presence-only metric for evaluating the predictions of species distribution (or ecological niche, or habitat suitability) models (e.g. Hirzel et al. 2006, Cianfrani et al. 2010, Bellard et al. … Continue reading → Continue reading: Model evaluation with presence points and raster predictions http://dlvr.it/SPvNzJ

Key Rate Duration using R code

صورة
This post explains how to calculate the key rate durations (KRD). Ho (1992) introduces KRD to measure non-parallel movements of the yield curve that the existing duration measures can not describe as these are defined under the assumption of ... Continue reading: Key Rate Duration using R code http://dlvr.it/SPv0pT

The link between Food Hygiene Ratings and Deprivation

صورة
Introduction If you’ve ever visited any food establishment in England & Wales, you’ve probably noticed the green labels somewhere on the outside with a Food Hygiene Rating from 0-5 on it. If y... Continue reading: The link between Food Hygiene Ratings and Deprivation http://dlvr.it/SPrTBm

Mastering Git and GitHub: the hands-on workshop

صورة
On 25/05 learn the basis of version control via a hands-on 3.5-hours workshop using command line, R, RStudio or a web browser. Have you ever feared to mess up your code, to lose your development or to spend endless time to integrate a collaborator’s ... Continue reading: Mastering Git and GitHub: the hands-on workshop http://dlvr.it/SPrT8R

The Success Paradox: Why even a little Bit of Luck often beats Skill

The skill-vs-luck debate never ceases to fascinate. Is it mainly skill, experience, hard work, and the “right” mindset that determines who is becoming successful, rich, or famous, or is it largely luck and fortunate circumstances? In this post, we will conduct an illuminating simulation to show that even a small ... Continue reading: The Success Paradox: Why even a little Bit of Luck often beats Skill http://dlvr.it/SPqkB4

A short note on the startsWith function

The startsWith function comes with base R, and determines whether entries of an input start with a given prefix. (The endsWith function does the same thing but for suffixes.) The following code checks if each of “ant”, “banana” and “balloon” … Continue reading → Continue reading: A short note on the startsWith function http://dlvr.it/SPp9C8

ML for the Lazy: Can AutoML Beat My Model?

صورة
In this fourth (and hopefully final) entry in my “Icing the Kicker” series of posts, I’m going to jump back to the first post where I used tidymodels to predict whether or not a kick attempt would be iced. However, this time I see if using the h2o ... Continue reading: ML for the Lazy: Can AutoML Beat My Model? http://dlvr.it/SPkS0T

Carry and Roll-Down on a Yield Curve using R code

صورة
This post shows how to calculate a carry and roll-down on a yield curve using R. In the fixed income, the carry is a current YTM like a dividend yield in stock. But unlike stocks, even though market conditions remain constant over time, the r... Continue reading: Carry and Roll-Down on a Yield Curve using R code http://dlvr.it/SPjsnr

{fusen} v0.4 – 14 developers tips and tricks

صورة
You can read the original post in its original format on Rtask website by ThinkR here: {fusen} v0.4 – 14 developers tips and tricks If you think {fusen} is not for you because you’ve been building R packages your entire life without it, it’s time to give it a try! ... Continue reading: {fusen} v0.4 – 14 developers tips and tricks http://dlvr.it/SPjYN2

Announcing R/Medicine 2022!

صورة
Announcing R/Medicine 2022! The conference will be fully virtual from August 23 through 26 and feature two days of workshops (included with the low registration fee!) and two days of keynotes featuring... The post Announcing R/Medicine 2022! appeared first on R Consortium. Continue reading: Announcing R/Medicine 2022! http://dlvr.it/SPj81z

Data Cleaning in R: 2 R Packages to Clean and Validate Datasets

صورة
Real-world datasets are messy. Unless the dataset was created for teaching purposes, it’s likely you’ll have to spend hours or even tens of hours cleaning it before you can show it on a dashboard. That’s where two packages for data cleaning in R come into play – janitor ... Continue reading: Data Cleaning in R: 2 R Packages to Clean and Validate Datasets http://dlvr.it/SPj80l

Announcing Sitewide Search on rstudio.com

Photo by Markus Winkler on Unsplash Sarah Lin is RStudio's Enterprise Information Manager. As many RStudio customers & open-source users know, we have a lot of websites. Historically, as the company grew, each department created its own website(... Continue reading: Announcing Sitewide Search on rstudio.com http://dlvr.it/SPfrjv

New Workshops Series Kick-off

صورة
We are happy to announce our fourth series of workshops, to take place in 2022. After the success of the past series that took place at the end of last year we decided to offer again a series of workshops based on best development practices, R progra... Continue reading: New Workshops Series Kick-off http://dlvr.it/SPfGjF

Little useless-useful R functions – Finding total sum of all sub-arrays and sum of maximums

When it comes to O(N log(N)) time complexity functions, this is the right section. 🙂 Given an array of natural numbers (later, you will see, it can be real, or any other less complex system (rational, irrational)) and you create…Read more › Continue reading: Little useless-useful R functions – Finding total sum of all sub-arrays and sum of maximums http://dlvr.it/SPbkFD