How to Change Legend Position in ggplot2

September 20, 2021 | finnstats »

Change Legend Position in ggplot2, When a shape feature is mapped to a variable in the aes() component of the ggplot() call, ggplot2 will automatically construct a legend for your chart. Approach1: Legend outside Plot It is possible to put the l...
[Read more...]

{emayili} R Markdown Parameters

September 19, 2021 | R - datawookie

I don’t frequently use parameters in R Markdown documents. So the initial implementation of render() in {emayili} did not cater for them. A small tweak makes it possible though. You can install the update from GitHub as follows. remotes::install_github("datawookie/emayili", ref = "v0.5.2") Then load the package. ...
[Read more...]

Draw a trend line using ggplot-Quick Guide

September 19, 2021 | finnstats

Draw a trend line using ggplot, Technical analysts utilize the trendline as one of their most significant tools. A trendline aids technical analysts in determining the data set direction. The post Draw a trend line using ggplot-Quick Guide appeared first on finnstats.
[Read more...]

Machine Learning : Workflow

September 19, 2021 | sang-heon lee

This post gives a brief introduction to a workflow of machine learning model and mostly used R packages before diving into the details. Given a problem to be solved, all machine learning (ML) models use the same input but different output. It is, ...
[Read more...]

Notes on ‘Deep Work’

September 18, 2021 | Posts | Joshua Cook

I have finally read the book Deep Work where he describes the reasons and methods for focussing on maximizing “deep” work over “shallow” work. From the popularity of this book and my own experience with some of the strategies ex... [Read more...]

How to Change Background Color in ggplot2

September 17, 2021 | finnstats »

When you change the background colors in ggplot, it will be more visually pleasing and attract more attention than the default ones. p + theme(panel.background = element_rect(fill = 'white', color = 'blue'), panel.grid.major = element_line(color = ...
[Read more...]

tsbox 0.3.1: extended functionality

September 17, 2021 | Christoph Sax

The tsbox package provides a set of tools that are agnostic towards existing time series classes. The tools also allow you to handle time series as plain data frames, thus making it easy to deal with time series in a dplyr or data.table workflow.
[Read more...]

Common mistakes we Data Scientists make

September 17, 2021 | Gary Hutson

DISCLAIMER I am a data scientist and have made all these mistakes, but I have had the privilege of sitting on the managerial, project lead and developer side of the fence, and here are some tips to getting your stakeholders (i.e. anyone involved in the project team or has ... [Read more...]

R Shiny Templates From Appsilon Are Now Available

September 17, 2021 | Appsilon

Shiny Templates from Appsilon R is a versatile language for data science and Shiny is an R package for developing interactive web applications that improve data storytelling. R in combination with the right Shiny application can convert a backbench data science project into a massive success. However, even experienced R ...
[Read more...]

Monotonic binning using XGBOOST

September 16, 2021 | R'tichoke

When developing credit risk scorecards, it is generally a good idea to discretise (bin) numeric variables in a manner that ensures monotonically increasing or decreasing event rates as the variable increases or decreases. While discretising individual variables adds stability to the model, monotonic bins ensure that the model output is ...
[Read more...]

{emayili} Rendering R Markdown

September 16, 2021 | R - datawookie

In a previous post I documented a new feature in {emayili}, the ability to render Plain Markdown directly into the body of an email message. Today I’m announcing the release of a new minor version, 0.5.0, in which {emayili} is now able to render R Markdown into an email. This ...
[Read more...]

Beautiful Maps with MazamaSpatialPlots

September 16, 2021 | jonathanatmazamascience

Many of us have become addicted to The NY Times COVID maps — maps of US state or county level data colored by cases, vaccinations, per capita infections, etc. While recreating maps like these in R is possible, it is disappointingly difficult. The just released MazamaSpatialPlots R package takes a first ...
[Read more...]
1 2 3 4 5 1,855