Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (0.4.0) of this package.
Take me there.
Ecfun (version 0.1-6)
Functions for Ecdat
Description
Functions to update datasets in Ecdat and to create, manipulate, plot and analyze those and similar datasets.
Copy Link
Link to current version
Version
Version
0.4.0
0.3-6
0.3-2
0.3-1
0.3-0
0.2-6
0.2-5
0.2-4
0.2-2
0.2-0
0.1-7
0.1-6
0.1-4
0.1-3
0.1-2
0.1-0
Install
install.packages('Ecfun')
Monthly Downloads
5,717
Version
0.1-6
License
GPL (>= 2)
Maintainer
Spencer Graves
Last Published
August 2nd, 2015
Functions in Ecfun (0.1-6)
Search all functions
USsenateClass
Election Class given state and surname of a US Senator
getElement2
Extract a named element from an object with a default
grepNonStandardCharacters
grep for nonstandard characters
readFinancialCrisisFiles
banking crisis data and function to read financial crisis files
readNIPA
Read a National Income and Product Accounts data table
Arrows
Draw arrows between pairs of points.
rasterImageAdj
rasterImage adjusting to zero distortion
compareLengths
Compare the lengths of two objects
BoxCox
Box-Cox power transformation and its inverse
interpPairs
interpolate between pairs of vectors in a list
read.testURLs
Read a file produced by testURLs
match.data.frame
Identify the row of
y
best matching each row of
x
checkNames
Check and return names
readUSsenate
Read the list of elected officials in the United States Senate
qqnorm2s
Normal Probability Plot with Multiple Lines and Multiple Symbols
read.transpose
Read a data table in transpose form
asNumericDF
Coerce to numeric dropping commas and info after a blank
camelParse
Split a character string where a capital letter follows a lowercase letter
parseDollars
Convert character string with Dollar signs and commas to numerics
classIndex
Convert class to an integer 1-8 and vice versa
UShouse.senate
Create a list of members of the US House and Senate
createX2matchY
Create X to match Y
pmatch2
Value matching or partial matching
interpChar
Interpolate between numbers or numbers of characters
strsplit1
Split the first field
Ping
ping a Uniform resource locator (URL)
parseName
Parse surname and given name
mergeUShouse.senate
Expand a dataset on some members of the US Congress to the entire membership
parseCommas
Convert character string with Dollar signs and commas to numerics
trimImage
Trim zero rows or columns from an object of class
Image
.
matchName
Match surname and givenName in a table
subNonStandardCharacters
sub nonstandard characters with replacement
mergeVote
Merge Roll Call Vote
readCookPVI
Read Cook Partisan Voting Index
readUShouse
Read the list of representatives in the United States House of Representatives
Interp
Interpolate between numbers or numbers of characters
testURLs
Test URLs for intermittent download problems
qqnorm2
Normal Probability Plot with Multiple Symbols
subNonStandardNames
sub for nonstandard names
whichAeqB
Index of a single match
recode2
bivariate recode
missing0
Missing or length 0
matchQuote
Match isolated quotes across records
financialCrisisFiles
Files containing financial crisis data
readUSstateAbbreviations
Read a list of abbreviations of states and territories of the United States
as.Date1970
Date from a number of days since the start of 1970.
createMessage
Compose a message as a single substring from a character vector
nchar0
Zero characters or NULL
truncdist
Truncated distribution