Package: Ecfun 0.3-3

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 <[email protected]>

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

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

Peer review:

Bug tracker:https://github.com/sbgraves237/ecfun/issues

On CRAN:

77 exports 2.19 score 69 dependencies 6 dependents 73 scripts 4.3k downloads

Last updated 3 months agofrom:b502aea372. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 14 2024
R-4.5-winNOTESep 14 2024
R-4.5-linuxNOTESep 14 2024
R-4.4-winNOTESep 14 2024
R-4.4-macNOTESep 14 2024
R-4.3-winOKSep 14 2024
R-4.3-macOKSep 14 2024

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

Dependencies:ashaskpassbitopsBMAcliclustercolorspacecurlDEoptimRdeSolvefansifarverfdafdsFNNggplot2gluegtablehdrcdehttrinlineisobandjpegjsonlitekernlabKernSmoothkslabelinglatticeleapslifecyclelocfitmagrittrMASSMatrixmclustmgcvmimemulticoolmunsellmvtnormnlmeopensslpcaPPpillarpkgconfigpracmaR6rainbowRColorBrewerRcppRCurlrlangrobustbaserrcovrvestscalesselectrstringistringrsurvivalsystibbletisutf8vctrsviridisLitewithrxml2

IPUMS Occupational summary

Rendered fromupdateOCC1950.Rmdusingknitr::knitron Sep 14 2024.

Last update: 2022-06-13
Started: 2020-03-21

Time to nuclear Armageddon

Rendered fromnuclearArmageddon.Rmdusingknitr::rmarkdownon Sep 14 2024.

Last update: 2022-06-14
Started: 2019-07-13

Update nuclearWeaponStates dataset

Rendered fromupdate_nuclearWeaponStates.Rmdusingknitr::rmarkdownon Sep 14 2024.

Last update: 2020-10-08
Started: 2019-07-13

Updating USGDPpresidents

Rendered fromUpdatingUSGDPpresidents.Rmdusingknitr::rmarkdownon Sep 14 2024.

Last update: 2022-07-20
Started: 2019-07-13

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
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 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