Learn R Programming

⚠️There's a newer version (0.4.0) of this package.Take me there.

Ecfun (version 0.1-2)

Functions for Ecdat

Description

Functions to update datasets in Ecdat and to create, manipulate, plot and analyze those and similar datasets.

Copy Link

Version

Install

install.packages('Ecfun')

Monthly Downloads

2,670

Version

0.1-2

License

GPL (>= 2)

Maintainer

Spencer Graves

Last Published

October 28th, 2014

Functions in Ecfun (0.1-2)

interpPairs

interpolate between pairs of vectors in a list
qqnorm2

Normal Probability Plot with Multiple Symbols
missing0

Missing or length 0
as.Date1970

Date from a number of days since the start of 1970.
parseName

Parse surname and given name
readFinancialCrisisFiles

banking crisis data and function to read financial crisis files
matchQuote

Match isolated quotes across records
trimImage

Trim zero rows or columns from an object of class Image.
classIndex

Convert class to an integer 1-8 and vice versa
readUShouse

Read the list of representatives in the United States House of Representatives
mergeVote

Merge Roll Call Vote
compareLengths

Compare the lengths of two objects
subNonStandardCharacters

sub nonstandard characters with replacement
checkNames

Check and return names
readNIPA

Read a National Income and Product Accounts data table
rasterImageAdj

rasterImage adjusting to zero distortion
createMessage

Compose a message as a single substring from a character vector
Ping

ping a Uniform resource locator (URL)
readCookPVI

Read Cook Partisan Voting Index
subNonStandardNames

sub for nonstandard names
grepNonStandardCharacters

grep for nonstandard characters
USsenateClass

Election Class given state and surname of a US Senator
match.data.frame

Identify the row of y best matching each row of x
asNumericDF

Coerce to numeric dropping commas and info after a blank
getElement2

Extract a named element from an object with a default
UShouse.senate

Create a list of members of the US House and Senate
strsplit1

Split the first field
financialCrisisFiles

Files containing financial crisis data
createX2matchY

Create X to match Y
parseCommas

Convert character string with Dollar signs and commas to numerics
recode2

bivariate recode
truncdist

Truncated distribution
read.transpose

Read a data table in transpose form
qqnorm2s

Normal Probability Plot with Multiple Lines and Multiple Symbols
whichAeqB

Index of a single match
read.testURLs

Read a file produced by testURLs
nchar0

Zero characters or NULL
readUSsenate

Read the list of elected officials in the United States Senate
Interp

Interpolate between numbers or numbers of characters
mergeUShouse.senate

Expand a dataset on some members of the US Congress to the entire membership
testURLs

Test URLs for intermittent download problems
parseDollars

Convert character string with Dollar signs and commas to numerics
readUSstateAbbreviations

Read a list of abbreviations of states and territories of the United States
Arrows

Draw arrows between pairs of points.
interpChar

Interpolate between numbers or numbers of characters
camelParse

Split a character string where a capital letter follows a lowercase letter