Package: Ecfun 0.3-6

Spencer Graves

Ecfun: Functions for 'Ecdat'

Functions and vignettes to update data sets in 'Ecdat' and to create, manipulate, plot, and analyze those and similar data sets.

Authors:Spencer Graves [aut, cre]

Ecfun_0.3-6.tar.gz
Ecfun_0.3-6.tar.gz(r-4.5-noble)Ecfun_0.3-6.tar.gz(r-4.4-noble)
Ecfun_0.3-6.tgz(r-4.4-emscripten)Ecfun_0.3-6.tgz(r-4.3-emscripten)
Ecfun.pdf |Ecfun.html
Ecfun/json (API)
NEWS

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

Peer review:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

6.05 score 1 stars 4 packages 73 scripts 6.4k downloads 79 exports 89 dependencies

Last updated 9 days agofrom:ec35aa290c. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 13 2024
R-4.5-linuxOKNov 13 2024

Exports:Arrowsas.Date1970asNumericCharasNumericDFBoxCoxcamelParsecanbeNumericcheckNamesclassIndexcompareLengthscompareOverlapconfint.sdconfint.varcountByYearcountsByYearcreateMessagecreateX2matchYDate3to1dateColsDates3to1dtruncdistfindCountrygetElement2grepNonStandardCharactersindex2classInterpinterpCharInterpCharInterpChkArgsInterpNuminterpPairsinvBoxCoxlines.qqnorm2logVarCormatch.data.framematchNamematchName1matchQuotemergeUShouse.senatemergeVotemissing0nchar0NewdataparseCommasparseDollarsparseNameplot.qqnorm2plot.qqnorm2spmatch2pmatchICpoints.qqnorm2ptruncdistqqnorm2qqnorm2sqqnorm2tqtruncdistrasterImageAdjread.transposereadCookPVIreadCookPVI.readDates3to1readDW_NOMINATEreadNIPAreadUShousereadUSsenatereadUSstateAbbreviationsrecode2rgreprtruncdistsignsimulate.bic.glmsimulate.glmstrsplit1subNonStandardCharacterssubNonStandardNamestrimImageUShouse.senateUSsenateClasswhichAeqB

Dependencies:ashaskpassbitbit64bitopsBMAclicliprclustercolorspacecpp11crayoncurlDEoptimRdeSolvedotCall64fansifarverfdafdsfieldsFNNggplot2gluegtablehdrcdehmshttrinlineisobandjpegjsonlitekernlabKernSmoothkslabelinglatticeleapslifecyclelocfitmagrittrmapsMASSMatrixmclustmgcvmimemulticoolmunsellmvtnormnlmeopensslpcaPPpillarpkgconfigpracmaprettyunitsprogressR6rainbowrasterRColorBrewerRcppRCurlreadrrlangrobustbaserrcovrvestrworldmapscalesselectrspspamstringistringrsurvivalsysterratibbletidyselecttistzdbutf8vctrsviridisLitevroomwithrxml2

IPUMS Occupational summary

Rendered fromupdateOCC1950.Rmdusingknitr::knitron Nov 13 2024.

Last update: 2024-11-12
Started: 2020-10-27

Time to nuclear Armageddon

Rendered fromnuclearArmageddon.Rmdusingknitr::rmarkdownon Nov 13 2024.

Last update: 2024-11-12
Started: 2019-02-25

Update nuclearWeaponStates dataset

Rendered fromupdate_nuclearWeaponStates.Rmdusingknitr::rmarkdownon Nov 13 2024.

Last update: 2024-11-12
Started: 2020-02-03

Updating USGDPpresidents

Rendered fromUpdatingUSGDPpresidents.Rmdusingknitr::rmarkdownon Nov 13 2024.

Last update: 2024-11-12
Started: 2020-02-03

Readme and manuals

Help Manual

Help pageTopics
Draw arrows between pairs of points.Arrows
Date from a number of days since the start of 1970.as.Date1970
Coerce to numeric dropping commas and info after a blankasNumericChar asNumericDF
Box-Cox power transformation and its inverseBoxCox invBoxCox
Split a character string where a capital letter follows a lowercase lettercamelParse
Can a variable reasonably be coerced to numeric?canbeNumeric
Check and return namescheckNames
Convert class to an integer 1-8 and vice versaclassIndex index2class
Compare the lengths of two objectscompareLengths
Compare y between newDat and refDat for shared values of xcompareOverlap
Confidence interval for sample variance or standard deviationconfint.sd confint.var
Allocate a total by yearcountByYear
Allocate totals by yearcountsByYear
Compose a message as a single substring from a character vectorcreateMessage
Create X to match YcreateX2matchY
Convert three YMD vectors to a DateDate3to1
Identify YMD names in a character vectordateCols
Convert 3-column dates in data to class DateDates3to1
Functions deleted from the Ecfun packagedeletedFunctions mergeUShouse.senate readCookPVI readCookPVI. readFinancialCrisisFiles readUShouse readUSsenate readUSstateAbbreviations UShouse.senate USsenateClass
Find a 3-letter country code in rworldmap::countrySynonymsfindCountry
Extract a named element from an object with a defaultgetElement2
grep for nonstandard charactersgrepNonStandardCharacters
Interpolate between numbers or numbers of charactersInterp Interp.default InterpChar InterpChkArgs InterpNum
Interpolate between numbers or numbers of charactersinterpChar interpChar.default interpChar.list
interpolate between pairs of vectors in a listinterpPairs interpPairs.call interpPairs.function interpPairs.list
Log-diagonal representation of a variance matrixlogVarCor
Identify the row of 'y' best matching each row of 'x'match.data.frame
Match surname and givenName in a tablematchName matchName1
Match isolated quotes across recordsmatchQuote
Merge Roll Call VotemergeVote
Missing or length 0missing0
Zero characters or NULLnchar0
Create a new data.frame for predictNewdata
Convert character string with Dollar signs and commas to numericsparseCommas parseCommas.data.frame parseCommas.default
Convert character string with Dollar signs and commas to numericsparseDollars
Parse surname and given nameparseName
ping a Uniform resource locator (URL)Ping
Value matching or partial matchingpmatch2
pmatch ignoring casepmatchIC
Normal Probability Plot with Multiple Symbolslines.qqnorm2 plot.qqnorm2 points.qqnorm2 qqnorm2
Normal Probability Plot with Multiple Lines and Multiple Symbolsplot.qqnorm2s qqnorm2s
Normal Probability Plot with Multiple Lines and Multiple Symbolsqqnorm2t
rasterImage adjusting to zero distortionrasterImageAdj
Read a data table in transpose formread.transpose
read.csv with Dates in 3 columnsreadDates3to1
Read the DW-NOMINATE data from their website.readDW_NOMINATE
Read a National Income and Product Accounts data tablereadNIPA
bivariate recoderecode2
Reverse greprgrep
Sign function with zero optionsign
A "simulate" method for a 'BMA::bic.glm' objectsimulate.bic.glm
A "simulate" method for a glm objectsimulate.glm
Split the first fieldstrsplit1
sub nonstandard characters with replacementsubNonStandardCharacters
sub for nonstandard namessubNonStandardNames
Trim zero rows or columns from an object of class 'Image'.trimImage
Truncated distributiondtruncdist ptruncdist qtruncdist rtruncdist truncdist
Index of a single matchwhichAeqB