Skip to content

A Genetic Algorithm for Fixed-Size Subset Selection

2packages depend
3.9Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Provides a function that uses a genetic algorithm to search for a subset of size k from the integers 1:n, such that a user-supplied objective function is minimized at that subset. The selection step is done by tournament selection based on ranks, and elitism may be used to retain a portion of the best solutions from one generation to the next. Population objective function values may optionally be evaluated in parallel.

Install

Health

CRAN checks
13OK
Slowest check: 55 s · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.3
READMENoVignettesNoNEWSNoCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JSS article
Help pages
6includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
87%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.9K
CRAN downloads in the past year
Rank #9,398 · ~11/day · ~323/mo
Daily download trend is not available in this view yet.
44330 days
1K90 days
3.9K1 year
Compare downloads with other packages →
Also on109 r2u7 autocran152 c2d4u

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing kofnGA adds 5 packages (3 with compiled code, 16 MB of source tarballs). Heaviest: BH 14 MB, Rcpp 1.8 MB, uuid 79 KB.

Depends (0)
none
Imports (1)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 1.0 (2014)
Listed in earlier versions (1)
Mark A.
no longer listed · 1.3
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.3Latest
    record
    2018-11-02 · current release · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.2
    record
    2015-11-24 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.1
    record
    2015-02-04 · diff ↗ ·
    removed 1 export
    pattern:^[[:alpha:]]+
    added 1 export
    kofnGA
  • 1.0
    record
    2014-09-24
Show 1 earlier eventHide 1 earlier event
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-09-24
Total releases
4 / 12 yrs
License
GPL-2 OSI
Download size
12 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("kofnGA")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v068.c01.

Cite the 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 kofnGA version 1.3 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy