Package: admisc 0.36.1

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.36.1.tar.gz
admisc_0.36.1.zip(r-4.5)admisc_0.36.1.zip(r-4.4)admisc_0.36.1.zip(r-4.3)
admisc_0.36.1.tgz(r-4.4-x86_64)admisc_0.36.1.tgz(r-4.4-arm64)admisc_0.36.1.tgz(r-4.3-x86_64)admisc_0.36.1.tgz(r-4.3-arm64)
admisc_0.36.1.tar.gz(r-4.5-noble)admisc_0.36.1.tar.gz(r-4.4-noble)
admisc_0.36.1.tgz(r-4.4-emscripten)admisc_0.36.1.tgz(r-4.3-emscripten)
admisc.pdf |admisc.html
admisc/json (API)

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

Peer review:

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

On CRAN:

7.55 score 2 stars 93 packages 20 scripts 25k downloads 96 exports 0 dependencies

Last updated 2 months agofrom:d9c43a60db. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 17 2024
R-4.5-win-x86_64NOTEDec 17 2024
R-4.5-linux-x86_64NOTEDec 17 2024
R-4.4-win-x86_64NOTEDec 17 2024
R-4.4-mac-x86_64NOTEDec 17 2024
R-4.4-mac-aarch64NOTEDec 17 2024
R-4.3-win-x86_64NOTEDec 17 2024
R-4.3-mac-x86_64NOTEDec 17 2024
R-4.3-mac-aarch64NOTEDec 17 2024

Exports:aeqbagtbagtebaltbaltebaneqbanyTaggedasNumericasSOPbetweenBracketsbetweenQuoteschangecheckMVcheckSubsetcheckValidclassifycoerceModecombnkcomputecurlyBracketsdashesdeMorgandoublequotesexpandexpandBracketsexportfactorizefinvertfrelevelgetInfogetLevelsgetMatrixgetNamegetNonCharsgetTaghasTaghastildehclrinsideinsideBracketsintersectioninvertlistRDAmakeTagmvSOPnegatenotildenumdecobjRDAoutsideBracketsoverwritepadBothpadLeftpadRightpermutationspossibleNumericprettyStringprettyTablerecoderecreatereloadremoveSingleStarsreplaceTextroundBracketsscan.clipboardsetColnamessetDimnamessetRownamessimplifysimplifyListsinglequotessolveBracketssopsortExpressionsspacessplitBracketssplitMainComponentssplitPlusessplitStarssplitstrsplitTildassquareBracketsstopErrortildaetilde1sttranslatetrimstrtryCatchWEMuninstallunloadusingvalidateNamesverifywholeNumericwrite.clipboardwritePrimeimp

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Load and list objects from an .rda filelistRDA objRDA
Adrian Dusa's Miscellaneousadmisc-package
Extract information between quotes in a stringbetweenQuotes
Extract information from a multi-value SOP/DNF expressionbetweenBrackets curlyBrackets insideBrackets outsideBrackets roundBrackets squareBrackets
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
Set matrix row or column namessetColnames setDimnames setRownames
Export a dataframe to a file or a connectionexport
Factorize Boolean expressionsfactorize
Inverts the values of a factorfinvert
Modified 'relevel()' functionfrelevel
Get the name of the object being used in a function callgetName
Colors from the HCL spectrumhclr
Evaluate an Expression in a Data Environmentinside inside.list
Functions to interpret and manupulate a SOP/DNF expressionasSOP compute expand mvSOP simplify sop translate
Intersect expressionsintersection
Negate Boolean expressionsdeMorgan invert negate
Check difference and / or (in)equality of numbersaeqb agtb agteb altb alteb aneqb
Count number of decimalsnumdec
Numeric vectorsasNumeric possibleNumeric wholeNumeric
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
Tilde operationshastilde notilde tilde1st
Try functions to capture warnings, errors and messages.tryCatchWEM
Evaluate an expression in a data environmentusing using.data.frame