Package: admisc 0.40

Adrian Dusa

admisc: Adrian Dusa's Miscellaneous

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.

Authors:Adrian Dusa [aut, cre, cph]

admisc_0.40.tar.gz
admisc_0.40.tar.gz(r-4.7-arm64)admisc_0.40.tar.gz(r-4.7-x86_64)admisc_0.40.tar.gz(r-4.6-arm64)admisc_0.40.tar.gz(r-4.6-x86_64)
admisc_0.40.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
admisc/json (API)

# Install 'admisc' in R:
install.packages('admisc', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dusadrian/admisc/issues

Uses libs:
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openmp

5.60 score 84 packages 23 scripts 34k downloads 97 exports 0 dependencies

Last updated from:2c416f75e0. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK119
linux-devel-x86_64OK111
source / vignettesOK142
linux-release-arm64OK116
linux-release-x86_64OK122
wasm-releaseOK99

Exports:aeqbagtbagtebaltbaltebaneqbanyTaggedasNumericasSOPbetweenBracketsbetweenQuoteschangecheckMVcheckSubsetcheckValidclassifycoerceModecombnkcomputecurlyBracketsdashesdeMorgandoublequotesexpandexpandBracketsexportfactorizefrelevelfrevgetInfogetLevelsgetMatrixgetNamegetNonCharsgetTaghasTaghastildehclrinsideinsideBracketsintersectioninvertlistRDAmakeTagmvSOPnegatenotildenumdecobjRDAoutsideBracketsoverwritepadBothpadLeftpadRightpermutationspossibleNumericprettyStringprettyTablerecoderecreatereloadremoveSingleStarsreplaceTextroundBracketsscan.clipboardsetColnamessetDimnamessetRownamessimplifysimplifyListsinglequotessolveBracketssopsortExpressionsspacessplitBracketssplitMainComponentssplitPlusessplitStarssplitstrsplitTildassquareBracketsstopErrortildaetilde1sttranslatetrimstrtryCatchWEMuninstallunloadusingvalidateNamesverifywholeNumericwrite.clipboardwritePIswritePrimeimp

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Check difference and / or (in)equality of numbersaeqb agtb agteb altb alteb aneqb
Numeric vectorsasNumeric possibleNumeric wholeNumeric
Functions to interpret and manupulate a SOP/DNF expressionasSOP compute expand mvSOP simplify sop translate
Extract information from a multi-value SOP/DNF expressionbetweenBrackets curlyBrackets insideBrackets outsideBrackets roundBrackets squareBrackets
Extract information between quotes in a stringbetweenQuotes
Generic function to change the structure of an object, function of the (changed) parameters used to create it.change
Coerce an atomic vector to numeric or integer, if possiblecoerceMode
Generate all combinations of n numbers, taken k at a timecombnk
Export an object to a file or a connectionexport
Factorize Boolean expressionsfactorize
Modified 'relevel()' functionfrelevel
Inverts the values of a factorfinvert frev
Get the name of the object being used in a function callgetName
Tilde operationshastilde notilde tilde1st
Colors from the HCL spectrumhclr
Evaluate an Expression in a Data Environmentinside inside.list
Intersect expressionsintersection
Negate Boolean expressionsdeMorgan invert negate sopos
Load and list objects from an .rda filelistRDA objRDA
Count number of decimalsnumdec
Overwrite an object in a given environment.overwrite
Calculates the permutations of a vectorpermutations
Recode a variablerecode
Facilitate expression substitutionrecreate
Replace text in a stringreplaceText
Cross platform scan/write clipboardscan.clipboard write.clipboard
Set matrix row or column namesdimnames setColnames setDimnames setRownames
Try functions to capture warnings, errors and messages.tryCatchWEM
Evaluate an expression in a data environmentusing using.data.frame