Skip to content

evelinag/ffplot

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ffplot: F# wrapper for ggplot2

ggplot2 is a great R library for flexible visualizations, based on compositional design of plots. Unfortunately, using it from F# can be sometimes cumbersome. To simplify using ggplot2 from F#, I put together a simple wrapper, ffplot.

You can find more information on my blog.

Requirements:

To use ggplot2 from F#, you'll need the following tools:

  • R installation with the ggplot2 package.
  • RProvider - F# type provider for calling R from F#.
  • Optional: FsLab collects all the necessary dependencies and simplifies other data science tasks in F#.

Usage:

To use ffplot, simply reference the ggplot.fs file from your solution. You can also add the file using the paket dependency manager by adding the following line into your paket.dependencies file:

  github evelinag/ffplot ggplot.fs

See paket documentation for more details on referencing Github dependencies.

For creating ggplot2 plots, see examples.fsx with both simple and more complex examples showing how to use ffplot in F#.

ggplot2 example

About

Wrapper for ggplot2 to simplify creating of plots in F# using RPRovider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages