# separationplot 1.4 (CRAN)

Separation Plots

[Record of 1.4](/cran/separationplot/v/1.4.md) | Compare: [With 1.3](/cran/separationplot/compare/1.3...1.4.md), [With another package](/compare/separationplot.md#add), [Downloads](/downloads/compare/separationplot.md#add) | [Licences](/cran/separationplot/licences.md) | [SBOM](/cran/separationplot/sbom.md)

Install from CRAN: `install.packages("separationplot")`

Also from:

- r2u (Ubuntu binaries): `sudo apt install r-cran-separationplot` _Listed from recorded download activity on this channel, not from a live index, so read it as last known. Bioconductor packages are named r-bioc-<name> there._
- autoCRAN (openSUSE): `sudo zypper install R-separationplot` _Listed from recorded download activity on this channel, not from a live index, so read it as last known._

- CRAN checks: OK (notes on 2 of 13)
- CRAN 30-day downloads: 318 (down 11.9% on the 30 days before, the worse direction)
- Dependent packages: 2 (none suggest it)
- Test coverage: No tests (nothing to run)
- Advisories: None known

## About

[Method](/about/licenses.md)

Visual representations of model fit or predictive success in the form of "separation plots." See Greenhill, Brian, Michael D. Ward, and Audrey Sacks. "The separation plot: A new visual method for evaluating the fit of binary models." American Journal of Political Science 55.4 (2011): 991-1002.

- Maintainer: Brian Greenhill
- Licence: [Artistic-2.0](/licences/Artistic-2.0.md)
- Latest release: 9 Apr 2023
- First release: 29 Oct 2012

- [CRAN page](https://cran.r-project.org/package=separationplot)
- [Source of every release](https://github.com/cran/separationplot)

[Compare with another package](/compare/separationplot.md#add)

**More details**

- Releases: 5
- Needs compilation: No
- Date: 2023-04-08

**Subjects (1) [Method](/about/subjects.md#found)**

- [Plotting extensions and themes](/topics/subjects/ggplot2-extensions.md)

**Cite**

#### Package

Run in R for the authors' preferred citation:

`citation("separationplot")`

#### R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA: Balamuta, J. J. (2026). R Observatory: Metrics for separationplot version 1.4 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040

BibTeX:

```
@misc{robservatoryseparationplot,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {separationplot} version 1.4},
  year      = {2026},
  publisher = {HJJB, LLC},
  doi       = {10.5281/zenodo.21843040},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/separationplot},
  note      = {Data set. Data release v2026-10-28}
}
```

From data release v2026-10-28, which the citation names so these numbers can be found later.

## Health

[Method](/about/checks-health.md)

No warnings or errors. 2 of 13 check platforms have notes.

13 CRAN platforms: 2 Note, 11 OK.

**Check output (1)**

**CRAN incoming feasibility**, Note on 2 platforms

```
Maintainer: ‘Brian Greenhill <bgreenhill@albany.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Brian", "D."),
                      family = "Greenhill",
                      role = "aut"),
               person(given = c("Michael", "D."),
                      family = "Ward",
                      role = "aut"),
               person(given = "Audrey",
                      family = "Sacks",
                      role = "aut"),
               person(given = "Brian",
                      family = "Greenhill",
                      role = "cre",
                      email = "bgreenhill@albany.edu"))
as necessary.
```

Platforms now:

- r-devel-linux-x86_64-debian-clang: Note
- r-devel-linux-x86_64-debian-gcc: Note
- r-devel-linux-x86_64-fedora-clang: OK
- r-devel-linux-x86_64-fedora-gcc: OK
- r-devel-windows-x86_64: OK
- r-oldrel-macos-arm64: OK
- r-oldrel-macos-x86_64: OK
- r-oldrel-windows-x86_64: OK
- r-patched-linux-x86_64: OK
- r-release-linux-x86_64: OK
- r-release-macos-arm64: OK
- r-release-macos-x86_64: OK
- r-release-windows-x86_64: OK

#### Over time

No change since 9 Jun 2026

**As a list (6)**

| Changed | Worst status | OK | Notes | Warnings | Errors |
| --- | --- | ---: | ---: | ---: | ---: |
| 9 Jun 2026 | Note | 11 | 2 | 0 | 0 |
| 8 Jun 2026 | Error | 11 | 1 | 0 | 1 |
| 7 Jun 2026 | Warning | 11 | 1 | 1 | 0 |
| 1 May 2026 | Note | 11 | 2 | 0 | 0 |
| 21 Mar 2026 | Warning | 11 | 2 | 1 | 0 |
| 10 Mar 2026 | Note | 12 | 2 | 0 | 0 |

Since March 2026

[Check results on CRAN](https://cran.r-project.org/web/checks/check_results_separationplot.html)

## Downloads

[Method](/about/downloads.md)

- Downloads in the last 30 days: 322 (down 15.3% on the 30 days before, the worse direction. It is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.)

CRAN alone: rank among CRAN packages, last 30 days: 12,419 of 26,530.

| Channel | Downloads in the last 30 days | In the total | Rank in that channel | Change |
| --- | ---: | --- | --- | --- |
| CRAN | 318 | yes | 12,419 of 26,530 | down 11.9% on the 30 days before, the worse direction |
| r2u | 2 | yes | 14,902 of 30,526 | down 66.7% on the 30 days before, the worse direction |
| autoCRAN | 1 | yes | 25,688 of 29,212 | down 80% on the 30 days before, the worse direction |
| c2d4u | 1 | yes | 5,617 of 7,575 | down 87.5% on the 30 days before, the worse direction |

Other windows: [Last 90 days](/cran/separationplot.md?win=90d#downloads), [Last 365 days](/cran/separationplot.md?win=365d#downloads), [All time](/cran/separationplot.md?win=all#downloads).

To leave channels out of the total, name them in the address, joined by dots: `?off=autocran.c2d4u`.

#### Over time

Downloads over time, the last 12 whole months:

| Month | CRAN | r2u | autoCRAN | c2d4u | Sum |
| --- | ---: | ---: | ---: | ---: | ---: |
| Oct 2025 | 615 | 4 | no figure | no figure | 619 |
| Nov 2025 | 516 | 3 | no figure | no figure | 519 |
| Dec 2025 | 698 | 11 | no figure | 8 | 717 |
| Jan 2026 | 328 | 3 | no figure | 3 | 334 |
| Feb 2026 | 335 | 9 | no figure | 3 | 347 |
| Mar 2026 | 446 | no figure | no figure | 17 | 463 |
| Apr 2026 | 317 | 18 | no figure | 16 | 351 |
| May 2026 | 309 | 17 | no figure | 2 | 328 |
| Jun 2026 | 387 | no figure | no figure | no figure | 387 |
| Jul 2026 | 347 | 16 | 17 | 4 | 384 |
| Aug 2026 | 293 | 6 | 16 | 8 | 323 |
| Sep 2026 | 330 | no figure | 4 | no figure | 334 |

First day on record: CRAN 6 Oct 2012, r2u 22 May 2022, autoCRAN 1 Jul 2026, c2d4u 14 Jun 2020 (no longer updated).

Every channel here counts downloads, so the channels can be stacked and summed for one period. Each channel counts in its own way and covers a different span of years, so read a sum as a rough total, and read a rise where a channel begins as that channel starting, not as growth.

Weeks start on Monday. A first or last week or month that the channel does not cover in full is left out, so every point is a whole period.

Days with no record add nothing to their week or month. For a little-used package that is usually a day with no downloads, but it can also be a gap in collection.

[Compare downloads](/downloads/compare/separationplot.md#add)

## Dependencies

[Method](/about/reverse-dependencies.md)

- Needs: 4
- Dependent packages: 2
- Suggested by: 0

**Needs (4)**

- [foreign](/cran/foreign.md)
- [Hmisc](/cran/Hmisc.md)
- [MASS](/cran/MASS.md)
- [RColorBrewer](/cran/RColorBrewer.md)

- Installing it adds: 51 packages, 51.7 MB of source
- Of those, need compilation: 26

**Dependent packages (2)**

| Package | Title | Downloads in 30 days |
| --- | --- | ---: |
| [EBMAforecast](/cran/EBMAforecast.md) | Estimate Ensemble Bayesian Model Averaging Forecasts using Gibbs Sampling or EM-Algorithms | 399 |
| [spduration](/cran/spduration.md) | Split-Population Duration (Cure) Regression | 340 |

## Code

[Method](/about/code-metrics.md)

Selected function: `separationplot`

- Kind: R function
- File: R/separationplot.R, line 2
- Lines: 166
- Complexity: 33

Called by 1: [`sp.categorical`](/cran/separationplot.md?fn=sp.categorical&view=focus#code)

Calls 0: nothing else in this package

Paths: 2 steps each way.

Called by 1:

- [`sp.categorical`](/cran/separationplot.md?fn=sp.categorical&view=focus#code)

Calls 0:

- nothing else in this package

The open file in the files map is `R/separationplot.R`.

- Functions: 1
- Lines: 166
- Calls that stay inside it: 0
- Calls to other files: 0
- Calls from other files: 1, from 1

Called from: `R/sp.categorical.R` (1 call)

| Function in separationplot.R | Calls in other files |
| --- | --- |
| [`separationplot`](/cran/separationplot.md?fn=separationplot&view=focus#code) selected | nothing outside this file |


The whole package has 2 function names in 2 files and 1 call between them. Most calls between files: `R/separationplot.R` and `R/sp.categorical.R` (1 call).

Graph: the whole call graph has 2 function names that take part in a call and 1 call between them, set out in 2 layers with callers before what they call. Called by the most functions: `separationplot` (1), `sp.categorical` (0). Calling the most functions: `sp.categorical` (1), `separationplot` (0).

Most connected functions: [`separationplot`](/cran/separationplot.md?fn=separationplot&view=focus#code) 1, [`sp.categorical`](/cran/separationplot.md?fn=sp.categorical&view=focus#code) 1

To select another function, add ?fn=NAME to this address.

The call graph also has an address of its own: /cran/separationplot/graph.md?fn=separationplot&view=focus

- Functions: 2
- Public exports: 0
- Lines of R code: 197
- Median complexity: 19

**Functions (2)**

| Function (sorted, low to high) | File | Lines | Complexity |
| --- | --- | ---: | ---: |
| [`separationplot`](/cran/separationplot.md?fn=separationplot#code) | R/separationplot.R | 166 | 33 |
| [`sp.categorical`](/cran/separationplot.md?fn=sp.categorical#code) | R/sp.categorical.R | 29 | 5 |

This page lists 1 to 2 of 2 functions.

**Size and composition**

#### Lines by kind (391)

| Kind | Lines | Share |
| --- | ---: | ---: |
| R code | 197 | 50% |
| Documentation | 194 | 50% |

#### Lines by language

| Language | Lines | Share |
| --- | ---: | ---: |
| R | 197 | 50% |
| Rd | 194 | 50% |

Languages are counted from file extensions.

- Files: 9
- R functions: 2

**Complexity**

- Median: 19
- Mean: 19
- Highest: 33
- Median lines per function: 97.5

_About complexity: Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only._

**Call graph figures**

- R functions: 2
- Calls: 1
- Unconnected: 0
- Groups: 1

**Growth (5 releases)**

Total lines by release: from 410 (on 13 Jun 2011) to 391 (on 9 Apr 2023). The lowest is 391 and the highest is 420.

**Release changes**

[Both releases side by side](/cran/separationplot/compare/1.3...1.4.md)

**1.3 to 1.4**, 16 Jan 2020 to 9 Apr 2023

- Files changed: 6
- Lines added: 37
- Lines deleted: 55
- Exports: No change

**Changed measures (2)**

| Measure | Subject | Before | After |
| --- | --- | ---: | ---: |
| Total lines | Structure | 410 | 391 |
| Lines of documentation | Documentation | 213 | 194 |

**Most changed files (6 of 6)**

| File | Lines added | Lines deleted |
| --- | ---: | ---: |
| `man/sp.categorical.Rd` | 8 | 25 |
| `man/separationplot-package.Rd` | 16 | 16 |
| `man/separationplot.Rd` | 4 | 6 |
| `MD5` | 5 | 4 |
| `DESCRIPTION` | 4 | 4 |
| `build/partial.rdb` | 0 | 0 |

## Tests

[Method](/about/coverage.md)

The package was built and has no tests to run.

- Lines of tests: 0

**Test suite**

- Has tests: No
- Test frameworks: No tests in this release
- Test lines per line of code: 0

## Documentation

[Method](/about/code-metrics.md)

- Help pages with examples: 100%
- Examples run in checks: 100%

**Other documentation**

- README: No
- Release notes file: No
- Help pages: 3
- Lines of documentation: 194

## People

[Method](/about/author-identity.md)

- [Brian Greenhill](/people/Brian+Greenhill.md): Maintainer since 1.0 (2011)
- [Brian D. Greenhill](/people/Brian+D.+Greenhill.md)
- [Michael D. Ward](/people/Michael+D.+Ward.md)
- [Audrey Sacks](/people/Audrey+Sacks.md)

## Repository

[Method](/about/repo-signals.md#figures)

No repository on record

## History

[Method](/about/archive.md)

The line runs from the first release of separationplot on 29 Oct 2012 to 28 Oct 2026 and marks all 5 of its releases. The major and minor releases of R from 3.0.0 to 4.6.0 are marked.

| Version | Released | R | Events |
| --- | --- | ---: | --- |
| [1.4](/cran/separationplot/v/1.4.md) current | 9 Apr 2023 | 4.2.3 |  |
| [1.3](/cran/separationplot/v/1.3.md) | 16 Jan 2020 | 3.6.2 |  |
| [1.2](/cran/separationplot/v/1.2.md) | 10 Jan 2020 | 3.6.2 |  |
| [1.1](/cran/separationplot/v/1.1.md) | 15 Mar 2015 | 3.1.3 |  |
| [1.0](/cran/separationplot/v/1.0.md) | 29 Oct 2012 | 2.15.2 | Orphaned (no maintainer) 1 Mar 2015 |

---

R Observatory is independent of the R Project, CRAN and Bioconductor. The same page for people is at /cran/separationplot?rrel=1, and every address is listed at /llms.txt.
