Skip to content
/ colf Public

❗ This is a read-only mirror of the CRAN R package repository. colf — Constrained Optimization on Linear Function. Homepage: https://github.com/LyzandeR/colf Report bugs for this package: https://github.com/LyzandeR/colf/issues

License

Notifications You must be signed in to change notification settings

cran/colf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colf

Released Version

CRAN version

Build Status

Travis-CI Build Status

Description

A package to perform a least squares constrained optimization on a linear objective function. It provides a very easy way to run a constrained linear regression using the lm formula syntax that most R users are familiar with.

Installation

To install the latest released version from CRAN you just need to run on your console:

install.packages('colf')

To install the development version you need to have the devtools package installed. To install devtools type in your console: install.packages('devtools').

Then to install colf run the following on your console:

devtools::install_github('lyzander/colf')

Usage

By typing on your console:

library(colf)
colf_nls(mpg ~ ., mtcars, upper = rep(2, 11), lower = rep(-0.5, 11))

you can see a first example of how to run a constrained optimization on a linear objective function!

Links - Cran / Tutorial / Examples

To read the tutorial and documentation for colf please see the vignette.

To see the released version you can visit CRAN.

About

❗ This is a read-only mirror of the CRAN R package repository. colf — Constrained Optimization on Linear Function. Homepage: https://github.com/LyzandeR/colf Report bugs for this package: https://github.com/LyzandeR/colf/issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published