Learn R Programming

admisc (version 0.41)

Adrian Dusa's Miscellaneous

Description

Contains functions used across packages 'DDIwR', 'QCA' and 'venn'. Interprets and translates, factorizes and negates SOP - Sum of Products expressions, for both binary and multi-value crisp sets, and extracts information (set names, set values) from those expressions. Other functions perform various other checks if possibly numeric (even if all numbers reside in a character vector) and coerce to numeric, or check if the numbers are whole. It also offers, among many others, a highly versatile recoding routine and some more flexible alternatives to the base functions 'with()' and 'within()'. SOP simplification functions in this package use related minimization from package 'QCA', which is recommended to be installed despite not being listed in the Imports field, due to circular dependency issues.

Copy Link

Version

Install

install.packages('admisc')

Monthly Downloads

31,359

Version

0.41

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Adrian Dusa

Last Published

August 22nd, 2026

Functions in admisc (0.41)

frev

Inverts the values of a factor
permutations

Calculates the permutations of a vector
tryCatchWEM

Try functions to capture warnings, errors and messages.
listRDA

Load and list objects from an .rda file
using

Evaluate an expression in a data environment
overwrite

Overwrite an object in a given environment.
asNumeric

Numeric vectors
replaceText

Replace text in a string
hastilde

Tilde operations
recreate

Facilitate expression substitution
numdec

Count number of decimals
invert

Negate Boolean expressions
recode

Recode a variable
admisc_package

Adrian Dusa's Miscellaneous
betweenBrackets

Extract information from a multi-value SOP/DNF expression
intersection

Intersect expressions
export

Export an object to a file or a connection
combnk

Generate all combinations of n numbers, taken k at a time
getName

Get the name of the object being used in a function call
admisc-package

admisc: Adrian Dusa's Miscellaneous
scan.clipboard

Cross platform scan/write clipboard
frelevel

Modified relevel() function
inside

Evaluate an Expression in a Data Environment
coerceMode

Coerce an atomic vector to numeric or integer, if possible
change

Generic function to change the structure of an object, function of the (changed) parameters used to create it.
asSOP

Functions to interpret and manupulate a SOP/DNF expression
admisc_internal

admisc internal functions
betweenQuotes

Extract information between quotes in a string
hclr

Colors from the HCL spectrum
agtb

Check difference and / or (in)equality of numbers
setColnames

Set matrix row or column names
factorize

Factorize Boolean expressions