Skip to content
/ cpgsR Public

a R library to achieve uniform sample points within a convex polytope

License

Notifications You must be signed in to change notification settings

Irstea/cpgsR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpgsR: uniform sampling in a convex polytope


License: BSD_3_clause + file LICENSE

Introduction

This package is based on an initial matlab code called CPRND that can be found here (https://ch.mathworks.com/matlabcentral/fileexchange/34208-uniform-distribution-over-a-convex-polytope

Installation

The easiest solution is to use the 'devtools' packages, this will installed the package and all required dependencies. To use 'devtools' , you need to install first:

To generate the vignette, you also need to have pandoc and pandoc-citeproc installed. Instructions can be found here.

Then, on a R console:

> install.packages("devtools")
> library(devtools)
> install_github("Irstea/cpgsR",build=TRUE,build_opts = c("--no-resave-data","--no-manual"),build_vignettes = TRUE, dependencies=TRUE)

Usage

A vignette is included in the package to explain the usage.

Bug Reporting

Please, report bug on the github site.

About

a R library to achieve uniform sample points within a convex polytope

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published