المشاركات

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

postdoc 1.0: minimal and uncluttered HTML package manuals

صورة
This post is part of a series of technotes about r-universe, a new umbrella project by rOpenSci under which we experiment with various ideas for improving publication and discovery of research software in R. As the project evolves, we will post updates to document features and technical details. For more ... Continue reading: postdoc 1.0: minimal and uncluttered HTML package manuals http://dlvr.it/SdbXn9

Navigating folders in RStudio: a beginner’s guide

صورة
In this brief tutorial we will discuss how to navigate through folders in RStudio. When you open RStudio, the software will also open an instance of R. As any other software, when opened R is set to read and write files in a default location, which much likely is not ... Continue reading: Navigating folders in RStudio: a beginner’s guide http://dlvr.it/SdYsht

October 2022: “Top 40” New CRAN Packages

صورة
One hundred seventy-four new packages made it to CRAN in October. Here are my “Top 40” selections in sixteen categories: Astronomy, Biology, Business, Computational Methods, Data, Ecology, Finance, Genomics, Mathematics, Machine Learning, Medicine, Pharma, Statistics, Time Series, Utilities, Visualization. Astronomy skylight v1.1: Provides a function to calculate sky illuminance values (in ... Continue reading: October 2022: “Top 40” New CRAN Packages http://dlvr.it/SdWCfg

CK Cafe: Using Association Rules to Find Basket of Goods

Context In this lab session, I used the (anonymised) data from a project that I worked on in 2019. CK is an Indian food and beverages chain with about 19 outlets in 5 cities. Their outlets are popular “hangout” places for young and old alike. Continue reading: CK Cafe: Using Association Rules to Find Basket of Goods http://dlvr.it/SdSpG4

Getting coordinates (lon,lat) from road name and kilometer in Spain

صورة
  Hi there! Early this year we published a research about getting animal abundance estimates from wildlife - vehicles collisions in Ecography journal:Can we model distribution of population abundance from wildlife–vehicles collision data... Continue reading: Getting coordinates (lon,lat) from road name and kilometer in Spain http://dlvr.it/SdQsnZ

Filtering Complex Data With gsignal

صورة
Filtering Complex Data with gsignal IntroductionThe gsignal packageis a new signal processing library ported from Octave. If you use Matlab or Octave, gsignal contains many of the signal processing functions you would expect to find. In this p... Continue reading: Filtering Complex Data With gsignal http://dlvr.it/SdQVDg

Processing large scale satellite imagery with openEO Platform and R

صورة
openEO From image collection to data cube Sample session Batch jobs Further reading Upcoming… [view raw Rmd] Summary: openEO is an open source, community-based API for cloud-based processing of Earth Observation data. Th... Continue reading: Processing large scale satellite imagery with openEO Platform and R http://dlvr.it/SdLL0q

Conciendo a las estrellas del universo R: comunidad R, intercambiar y aprender

See the English version of this blog post Esta es la primera entrega de nuestra serie de entrevistas “Conociendo a las estrellas del universo R”. Tenemos como objetivo introducir los grupos de trabajo y las personas que están detrás del ... Continue reading: Conciendo a las estrellas del universo R: comunidad R, intercambiar y aprender http://dlvr.it/SdHXX9

Processing large scale satellite imagery with openEO Platform and R

صورة
openEO Sample session Batch jobs Further reading Upcoming… [view raw Rmd] Summary: openEO is an open source, community-based API for cloud-based processing of Earth Observation data. This blog introduces the R openeo client, and demonstra... Continue reading: Processing large scale satellite imagery with openEO Platform and R http://dlvr.it/SdDVd1

lm2: Simple Linear Regression (Cloze with Theory and Application)

Exercise template with both theory and applied questions about simple linear regression based on a randomly-generated CSV file. Name: lm2 Type: cloze Related: lm, gaussmarkov, lm3 Description: Cloze with ... Continue reading: lm2: Simple Linear Regression (Cloze with Theory and Application) http://dlvr.it/Sd9Mrb

Power Analysis for a DV Test – Frequentist and Bayesian Estimation in R

صورة
When testing is costly or resource intensive, it’s not uncommon for management to ask an engineer “what are the chances that we pass?”. The answer will depend on the team’s collection of domain knowledge around the product and requirement but also in how the question is interpreted. It ... Continue reading: Power Analysis for a DV Test – Frequentist and Bayesian Estimation in R http://dlvr.it/Sd6J6g

The missing lazy numbers: implementation

In Haskell, for any type T (for example Double), there is a corresponding type Maybe T. An object of this type either has form Just x, where x is of type T, or is Nothing. Thus one can use the May... Continue reading: The missing lazy numbers: implementation http://dlvr.it/Sd43Mj

Mastodonsocial.ca

Dear readers, With Twitter uncertainty, I decided to create my own Mastodon instance. Mastodonsocial.ca is a public online space oriented to different universities alumni, faculty, staff, community, and professional students looking to grow their so... Continue reading: Mastodonsocial.ca http://dlvr.it/Sd1vkl

essayreg2: Linear Regression (Cloze with Essay and File Upload)

Exercise template for interpreting a regression with two explanatory variables based on randomly-generated data (with either a linear, semi-logarithmic, or log-log relationship) in form of a cloze including essay and file upload. ... Continue reading: essayreg2: Linear Regression (Cloze with Essay and File Upload) http://dlvr.it/Sd0pzN

Data Types in R

صورة
Data Types in RThere are five basic data types in R:Numeric — This is the default treatment for numbers. This data type includes integers and doubles.Double — A double allows you to store numbers as decimals. This is the default treatment for numbers.I... Continue reading: Data Types in R http://dlvr.it/SczR4N

Cross-validation in Machine Learning

The post Cross-validation in Machine Learning appeared first on Data Science Tutorials What do you have to lose?. Check out Data Science tutorials here Data Science Tutorials. Cross-validation in Machine Learning, cross-validation is a word that everyone who works with machine learning techniques will come across at some point. We ... Continue reading: Cross-validation in Machine Learning http://dlvr.it/Scz0PT

Food

صورة
Day 15 of 30DayMapChallenge : « food » (previously). Results of State food controls in restaurants in La Réunion. Continue reading: Food http://dlvr.it/Scvw9Q

Animated population tree maps

صورة
Background The global population hit 8 billion today. To mark the passing an absolute population total I created some animated tree map plots in R to visualize relative past and future population totals for all countries. Plots The first animated plot ... Continue reading: Animated population tree maps http://dlvr.it/Scrqm9

How to Generate Word Docs in Shiny with officer, flextable, and shinyglide

صورة
Sometimes, when you develop a Shiny application you want to download the results of their analysis as a report. Generating reports from Shiny applications is a very broad topic. So in this tutorial, we’ll focus on generating Word documents from table data. The example dataset used considers a scenario ... Continue reading: How to Generate Word Docs in Shiny with officer, flextable, and shinyglide http://dlvr.it/Scnk98

Sugar

صورة
Day 13 of 30DayMapChallenge : « 5 minutes map » (previously). Sugar cane fields in La Réunion Continue reading: Sugar http://dlvr.it/Sckf8L

The lazy numbers in R

My new package lazyNumbers is a port of the lazy numbers implemented in the C++ library CGAL. The lazy numbers represent the real numbers and arithmetic on these numbers is exact. ... Continue reading: The lazy numbers in R http://dlvr.it/SchPwg

rtoot: Collecting and Analyzing Mastodon Data

It has been a wild view days on Twitter after Elon Musk took over. The future of the platform is unclear and many users are looking for alternatives, a popular one being mastodon. I also decided to give it a try and signed up. I quite quickly becam... Continue reading: rtoot: Collecting and Analyzing Mastodon Data http://dlvr.it/ScfGBT

Get lost

Day 10 of 30DayMapChallenge : « bad map » (previously). Just resampling… Continue reading: Get lost http://dlvr.it/ScbNt0

Little useless-useful R functions – Reverse integer

Reverse integer is another interview question, that allegedly could be asked by the interviewer. Original question or problem is posted at the Leetcode. The problem is described as: Given a signed 32-bit integer x, return x with its digits reversed.…Read more › Continue reading: Little useless-useful R functions – Reverse integer http://dlvr.it/ScXjxs

Preparing to Thrive by Collaborating with Local Universities

صورة
Vivek Patil of the Inland Northwest R User Group (INRUG) talked to the R Consortium about the R Community located in Spokane, Washington, the diverse group of members of INRUG,... The post Preparing to Thrive by Collaborating with Local Universities appeared first on R Consortium. Continue reading: Preparing to Thrive by Collaborating with Local Universities http://dlvr.it/ScWhzF

Chapter 5: Part 1, Real Markets

صورة
A look at markets as they are, not as we wish them to be. Using R we illustrate two points made in Chapter 5 of Goals-Based Portfolio Theory Continue reading: Chapter 5: Part 1, Real Markets http://dlvr.it/ScWQj3

The giant French Olympic-size swimming pool

Day 7 of 30DayMapChallenge : « Openstreetmap » (previously). What if all private swimming pools could be merged into one 25 m width pool? OSM is not just a map, it’s a database, so ask OSM… I know that not all swimming pools are present in OSM, but it’s just an exercise 🙂 and ... Continue reading: The giant French Olympic-size swimming pool http://dlvr.it/ScV94H

Vienna

Vienna After a longer COVID break we are happy to announce the upcoming ViennaR Meetup on Thursday, November 10! 🙌🎉🥳 The (live) Meetup is hosted at TU Vienna, the legendary Goldenes Lamm, Seminarraum 107/1 - where some R-Core magic happened. 👉REGISTER FOR LIVE MEETUP Note, that this meetup is hybrid and also available ... Continue reading: Vienna http://dlvr.it/ScTFXF

Clases de R y Shiny en Castellano

Estoy haciendo clases de R y Shiny. Ofrezco clases con un 50% de descuento para personas en América Latina que estén interesadas. Te ayudaré a entender los fundamentos de R o Shiny de manera que contribuya a tu trabajo diario. Si tienes conocimiento... Continue reading: Clases de R y Shiny en Castellano http://dlvr.it/ScR2GW

Use data from Openstreetmap

Day 5 of 30DayMapChallenge : « Ukraine » (previously). Using {osmdata} to extract streets : Continue reading: Use data from Openstreetmap http://dlvr.it/ScLv92

R XML: How to Work With XML Files in R

صورة
R programming language can read all sorts of data, and XML is no exception. There are many ways to read, parse, and manipulate these markup language files in R, and today we’ll explore two. By the end of the article, you’ll know how to use two R packages ... Continue reading: R XML: How to Work With XML Files in R http://dlvr.it/ScJY2s

R ggmap – How to Visualize Spatial Data in R

صورة
Spatial data is always tougher to visualize than it seems at first. Well, not anymore. R ggmap is an amazing package you can start using almost instantly, after some light configuration. It won’t take you more than a couple of minutes to configure everything and have your first map ... Continue reading: R ggmap – How to Visualize Spatial Data in R http://dlvr.it/ScHwBR

Introducing yahoofinancer

صورة
We are excited to announce the yahoofinancer package. The yahoofinancer R package allows the retrieval of nearly all data visible via the Yahoo Finance front-end and aims to reduce the pre-processing steps needed in analyzing such data. yahoofinanc... Continue reading: Introducing yahoofinancer http://dlvr.it/ScFFVH

Map any region in the world with R – Part II: Obtaining the coordinates

صورة
Scope of this post This is the second part of the series to create a map of any region of the world with R. We are creating maps of data showing changes over a span of time for different countries and pointing at all kinds of cities. That basically mea... Continue reading: Map any region in the world with R – Part II: Obtaining the coordinates http://dlvr.it/ScDp3M

‘CGAL’ meets ‘R6’: the ‘cgalMeshes’ package

صورة
My new package cgalMeshes (not on CRAN yet) deals with 3D meshes. All algorithms implemented in this package are performed by the C++ library CGAL. I already wrapped some CGA... Continue reading: ‘CGAL’ meets ‘R6’: the ‘cgalMeshes’ package http://dlvr.it/Sc983P

My air travel carbon footprint

صورة
I shouldn’t have… Continue reading: My air travel carbon footprint http://dlvr.it/Sc8DMs

A web application for forecasting in Python, R, Ruby, C#, JavaScript, PHP, Go, Rust, Java, MATLAB, etc.

صورة
A Forecasting API, with examples Continue reading: A web application for forecasting in Python, R, Ruby, C#, JavaScript, PHP, Go, Rust, Java, MATLAB, etc. http://dlvr.it/Sc72qX

Extract POIs from a Suunto watch

The Suunto watches (Spartan, Suunto 9,…) can record waypoints (or POIs) but although they can be visualized in the Suunto app (or on the watch), they cannot be exported to be used with other tools. It used to be possible to access them from the Movescount website but it was discontinued ... Continue reading: Extract POIs from a Suunto watch http://dlvr.it/Sc6bc4

A Footnote in History

صورة
Producing a journal-quality table requires fine-grained and reproducible control over presentation. Surgical targeting of footnotes, capable of adapting to changes in the underlying data, is one example. This post briefly explores the shifts in the ... Continue reading: A Footnote in History http://dlvr.it/Sc4NzV

XLConnect 1.0.6

XLConnect 1.0.6 now available from CRAN and from our GitHub repository. We are pleased to announce the release of XLConnect 1.0.6. This release is mainly a maintenance release and comes with the following changes: Add overwriteFormulaCells pa... Continue reading: XLConnect 1.0.6 http://dlvr.it/Sc36RN

Modeling the secular trend in a cluster randomized trial using very flexible models

صورة
A key challenge - maybe the key challenge - of a stepped wedge clinical trial design is the threat of confounding by time. This is a cross-over design where the unit of randomization is a group or cluster, where each cluster begins in the control st... Continue reading: Modeling the secular trend in a cluster randomized trial using very flexible models http://dlvr.it/Sc2GM5

Some Recent Developments in Mixture Cure Model Methodology for Survival Analysis

صورة
Abstract The mixture cure model in survival analysis has received large and growing attention in the last few decades. Here we present an overview drawing together early results and some recent new developments, and pointing out areas where further... Continue reading: Some Recent Developments in Mixture Cure Model Methodology for Survival Analysis http://dlvr.it/Sc2G7s