June 2021

Using R to build predictions for UEFA Euro 2020

June 15, 2021 | Antoine Rebecq

Last friday, Euro 2020, one of the biggest events in International soccer, was kicked off by the inaugural match between Italy and Turkey (Italy won it 3-0). Euros (short for European Championships) are usually held every 4 years, but because of he-who-must-not-be-named, last year’s edition was postponed to this summer, while ...
[Read more...]

New R textbook for machine learning

June 14, 2021 | William Claster

Mathematics and Programming for Machine Learning with R -Chapter 2 Logic Have a look at the FREE attached pdf of Chapter 2 on Logic and R from my recently published textbook, Mathematics and Programming for Machine Learning with R: From the Ground Up, by William B. Claster (Author) ~430 pages, over 400 exercises.Mathematics ... [Read more...]

Analyzing Remote Work in European Countries

June 13, 2021 | R | TypeThePipe

1. Data downloading As we always do, we are going to connect and download the desired data. In this case, our data source is the Eurostat. We download and read the data file. library(tidyverse) download.file("https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/LFSA_EHOMP/?format=SDMX-CSV&compressed=...
[Read more...]

Hull-White 1-factor model using R code

June 13, 2021 | sang-heon lee

This post explains how to simulate short rates, discount factors, future spot rates, and so on using the Hull-White 1 factor model with given calibrated parameters. We summarize important model blocks using previous post for clear understanding and finally implement them sequentially for simulation using R code. Hull-White 1-factor model using ...
[Read more...]

Coupon Bearing Bond Pricing using R code

June 13, 2021 | sang-heon lee

This post explains how to calculate the price of some complicated coupon bearing bond using R code. Pricing of Coupon Bond using R code There are pricing formula for coupon bond as well as discount bond which are used among practioners under the market convention. Bond Pricing Formula Discount Bond \[\...
[Read more...]

R Plot pch Symbols: Different point shapes in R

June 13, 2021 | finnstats

R plot pch symbols, In this tutorial we are going to describe different pch values in R.  The plotting argument used to specify point shapes is pch. Let’s install... The post R Plot pch Symbols: Different point shapes in R appeared first on finnstats.
[Read more...]

Capitalization of Names using R code

June 12, 2021 | sang-heon lee

This post shows simple R trick for capitalization of names, which may have some delimiter. Problem Problem is to apply capitalization to names separated by punctuation mark ("."). For example, "BABACAR.THIOMBANE" is to converted to "Babacar.Thiombane" as follows. 1234567891011---------------------------------------------------           name(input)                      output---------------------------------------------------     BABACAR.THIOMBANE           Babacar.Thiombane         DAMEN.THACKER               Damen.... [Read more...]
1 4 5 6 7 8 10

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)