Skip to content

Commit

Permalink
updated readme and license for 0.1.0 cran release
Browse files Browse the repository at this point in the history
  • Loading branch information
jhelvy committed Jan 20, 2021
1 parent 58d5725 commit 91142a6
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 52 deletions.
2 changes: 0 additions & 2 deletions CRAN-RELEASE

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MIT License

Copyright (c) 2014-2020 John Paul Helveston
Copyright (c) 2014-2021 John Paul Helveston

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 3 additions & 13 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ status](https://www.r-pkg.org/badges/version/logitr)](https://CRAN.R-project.org
[![Travis build status](https://travis-ci.com/jhelvy/logitr.svg?branch=master)](https://travis-ci.com/jhelvy/logitr)
<!-- badges: end -->

This package estimates multinomial (MNL) and mixed logit (MXL) models in R. Models can be estimated using "Preference" space or "Willingness-to-pay" (WTP) space [utility parameterizations](https://jhelvy.github.io/logitr/articles/utility_models.html).
Estimation of multinomial (MNL) and mixed logit (MXL) models in R with "Preference" space or "Willingness-to-pay" (WTP) space [utility parameterizations](https://jhelvy.github.io/logitr/articles/utility_models.html).

The latest version includes support for:

Expand All @@ -41,20 +41,10 @@ Note: MXL models assume uncorrelated heterogeneity covariances and are estimated

## Installation

The current version is not yet on CRAN, but you can install it from
GitHub using the **devtools** library:

```{r, eval=FALSE}
devtools::install_github("jhelvy/logitr")
```

Load the library with:

```{r, eval=FALSE}
library(logitr)
```{r child="man/rmdchunks/installation.Rmd"}
```

## Basic Usage
## Basic Usage

View the [basic usage](https://jhelvy.github.io/logitr/articles/basic_usage.html) page for details on how to use **logitr** to estimate models.

Expand Down
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ status](https://www.r-pkg.org/badges/version/logitr)](https://CRAN.R-project.org
status](https://travis-ci.com/jhelvy/logitr.svg?branch=master)](https://travis-ci.com/jhelvy/logitr)
<!-- badges: end -->

This package estimates multinomial (MNL) and mixed logit (MXL) models in
R. Models can be estimated using “Preference” space or
“Willingness-to-pay” (WTP) space [utility
Estimation of multinomial (MNL) and mixed logit (MXL) models in R with
“Preference” space or “Willingness-to-pay” (WTP) space [utility
parameterizations](https://jhelvy.github.io/logitr/articles/utility_models.html).

The latest version includes support for:
Expand All @@ -42,11 +41,18 @@ Edition (New York: Cambridge University Press,

## Installation

The current version is not yet on CRAN, but you can install it from
GitHub using the **devtools** library:
You can install {logitr} from CRAN:

``` r
devtools::install_github("jhelvy/logitr")
install.packages("logitr")
```

or you can install the development version of {logitr} from
[GitHub](https://github.com/jhelvy/logitr):

``` r
# install.packages("remotes")
remotes::install_github("jhelvy/logitr")
```

Load the library with:
Expand All @@ -66,7 +72,7 @@ for details on how to use **logitr** to estimate models.
- Author: *John Paul Helveston*
[www.jhelvy.com](http://www.jhelvy.com/)
- Date First Written: *Sunday, September 28, 2014*
- Most Recent Update: January 14, 2021
- Most Recent Update: January 20, 2021
- License:
[MIT](https://github.com/jhelvy/logitr/blob/master/LICENSE.md)

Expand Down
29 changes: 0 additions & 29 deletions cran-comments.md

This file was deleted.

18 changes: 18 additions & 0 deletions man/rmdchunks/installation.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
You can install {logitr} from CRAN:

```r
install.packages("logitr")
```

or you can install the development version of {logitr} from [GitHub](https://github.com/jhelvy/logitr):

```r
# install.packages("remotes")
remotes::install_github("jhelvy/logitr")
```

Load the library with:

```{r, eval=FALSE}
library(logitr)
```

0 comments on commit 91142a6

Please sign in to comment.