Skip to content

Commit 91142a6

Browse files
committed
updated readme and license for 0.1.0 cran release
1 parent 58d5725 commit 91142a6

File tree

6 files changed

+35
-52
lines changed

6 files changed

+35
-52
lines changed

CRAN-RELEASE

Lines changed: 0 additions & 2 deletions
This file was deleted.

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
Copyright (c) 2014-2020 John Paul Helveston
3+
Copyright (c) 2014-2021 John Paul Helveston
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.Rmd

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ status](https://www.r-pkg.org/badges/version/logitr)](https://CRAN.R-project.org
2525
[![Travis build status](https://travis-ci.com/jhelvy/logitr.svg?branch=master)](https://travis-ci.com/jhelvy/logitr)
2626
<!-- badges: end -->
2727

28-
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).
28+
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).
2929

3030
The latest version includes support for:
3131

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

4242
## Installation
4343

44-
The current version is not yet on CRAN, but you can install it from
45-
GitHub using the **devtools** library:
46-
47-
```{r, eval=FALSE}
48-
devtools::install_github("jhelvy/logitr")
49-
```
50-
51-
Load the library with:
52-
53-
```{r, eval=FALSE}
54-
library(logitr)
44+
```{r child="man/rmdchunks/installation.Rmd"}
5545
```
5646

57-
## Basic Usage
47+
## Basic Usage
5848

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

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ status](https://www.r-pkg.org/badges/version/logitr)](https://CRAN.R-project.org
1313
status](https://travis-ci.com/jhelvy/logitr.svg?branch=master)](https://travis-ci.com/jhelvy/logitr)
1414
<!-- badges: end -->
1515

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

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

4342
## Installation
4443

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

4846
``` r
49-
devtools::install_github("jhelvy/logitr")
47+
install.packages("logitr")
48+
```
49+
50+
or you can install the development version of {logitr} from
51+
[GitHub](https://github.com/jhelvy/logitr):
52+
53+
``` r
54+
# install.packages("remotes")
55+
remotes::install_github("jhelvy/logitr")
5056
```
5157

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

cran-comments.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

man/rmdchunks/installation.Rmd

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
You can install {logitr} from CRAN:
2+
3+
```r
4+
install.packages("logitr")
5+
```
6+
7+
or you can install the development version of {logitr} from [GitHub](https://github.com/jhelvy/logitr):
8+
9+
```r
10+
# install.packages("remotes")
11+
remotes::install_github("jhelvy/logitr")
12+
```
13+
14+
Load the library with:
15+
16+
```{r, eval=FALSE}
17+
library(logitr)
18+
```

0 commit comments

Comments
 (0)