Package: admisc 0.42

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.42.tar.gz
admisc_0.42.zip(r-4.7-x86_64)admisc_0.42.zip(r-4.7-arm64)admisc_0.42.zip(r-4.6-x86_64)admisc_0.42.zip(r-4.6-arm64)
admisc_0.42.tar.gz(r-4.7-arm64)admisc_0.42.tar.gz(r-4.7-x86_64)admisc_0.42.tar.gz(r-4.6-arm64)admisc_0.42.tar.gz(r-4.6-x86_64)
admisc_0.42.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
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

On CRAN:

Conda:

5.41 score 91 packages 32k downloads 97 exports 0 dependencies

Last updated from:0960379e2f. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK114
linux-devel-x86_64OK115
source / vignettesOK170
linux-release-arm64OK96
linux-release-x86_64OK162
windows-devel-arm64OK191
windows-devel-x86_64OK104
windows-release-arm64OK219
windows-release-x86_64OK71
wasm-releaseOK89

Exports:addCasesaeqbagtbagtebaltbaltebaneqbanyTaggedasNumericasSOPbetweenBracketsbetweenQuoteschangecheckMVcheckSubsetcheckValidclassifycoerceModecombnkcomputecurlyBracketsdashesdeMorgandoublequotesexpandexpandBracketsexportfactorizefrelevelfrevgetInfogetLevelsgetMatrixgetNamegetNonCharsgetTaghasTaghastildehclrinsideinsideBracketsintersectioninvertlistRDAmakeTagmvSOPnegatenotildenumdecobjRDAoutsideBracketsoverwritepadBothpadLeftpadRightpermutationspossibleNumericprettyStringprettyTablerecoderecreatereloadremoveSingleStarsreplaceTextroundBracketsscan.clipboardsetColnamessetDimnamessetRownamessimplifysimplifyListsinglequotessolveBracketssopsortExpressionsspacessplitBracketssplitMainComponentssplitPlusessplitStarssplitstrsplitTildassquareBracketsstopErrortildaetilde1sttranslatetrimstrtryCatchWEMuninstallunloadusingvalidateNamesverifywholeNumericwrite.clipboardwritePIs

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Add cases from a second data frameaddCases
Adrian Dusa's Miscellaneousadmisc_package
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
Modify variables by nameinside inside.data.frame inside.data.table inside.default inside.environment inside.list inside.matrix
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