gdata: Various R Programming Tools for Data Manipulation
Version 2.17.0

Various R programming tools for data manipulation, including: - medical unit conversions ('ConvertMedUnits', 'MedUnits'), - combining objects ('bindData', 'cbindX', 'combine', 'interleave'), - character vector operations ('centerText', 'startsWith', 'trim'), - factor manipulation ('levels', 'reorder.factor', 'mapLevels'), - obtaining information about R objects ('object.size', 'elem', 'env', 'humanReadable', 'is.what', 'll', 'keep', 'ls.funs', 'Args','nPairs', 'nobs'), - manipulating MS-Excel formatted files ('read.xls', 'installXLSXsupport', 'sheetCount', 'xlsFormats'), - generating fixed-width format files ('write.fwf'), - extricating components of date & time objects ('getYear', 'getMonth', 'getDay', 'getHour', 'getMin', 'getSec'), - operations on columns of data frames ('matchcols', 'rename.vars'), - matrix operations ('unmatrix', 'upperTriangle', 'lowerTriangle'), - operations on vectors ('case', 'unknownToNA', 'duplicated2', 'trimSum'), - operations on data frames ('frameApply', 'wideByFactor'), - value of last evaluated expression ('ans'), and - wrapper for 'sample' that ensures consistent behavior for both scalar and vector arguments ('resample').

Browse man pages Browse package API and functions Browse package files

AuthorGregory R. Warnes, Ben Bolker, Gregor Gorjanc, Gabor Grothendieck, Ales Korosec, Thomas Lumley, Don MacQueen, Arni Magnusson, Jim Rogers, and others
Date of publication2016-08-12 17:11:58
MaintainerGregory R. Warnes <greg@warnes.net>
LicenseGPL-2
Version2.17.0
Package repositoryView on R-Forge
InstallationInstall the latest version of this package by entering the following in R:
install.packages("gdata", repos="http://R-Forge.R-project.org")

Man pages

ans: Value of Last Evaluated Expression
Args: Describe Function Arguments
bindData: Bind two data frames into a multivariate data frame
case: Map elements of a vector according to the provided 'cases'
cbindX: Column-bind objects with different number of rows
centerText: Center Text Strings
combine: Combine R Objects With a Column Labeling the Source
ConvertMedUnits: Convert medical measurements between International Standard...
drop.levels: Drop unused factor levels
duplicated2: Determine Duplicate Elements
elem: Display Information about Elements in a Given Object
env: Describe All Loaded Environments
first: Return first or last element of an object
frameApply: Subset analysis on data frames
gdata-defunct: Defunct Functions in Package 'gdata'
gdata-package: Various R programming tools for data manipulation
getDateTimePart: Get date/time parts from date and time objects
humanReadable: Print Byte Size in Human Readable Format
installXLSXsupport: Install perl modules needed for read.xls to support Excel...
interleave: Interleave Rows of Data Frames or Matrices
is.what: Run Multiple is.* Tests on a Given Object
keep: Remove All Objects, Except Those Specified
left: Return the leftmost or rightmost columns of a matrix or...
ll: Describe Objects or Elements
ls.funs: List function objects
mapLevels: Mapping levels
matchcols: Select columns names matching certain critera
MedUnits: Table of conversions between Intertional Standard (SI) and US...
mv: Rename an Object
nobs: Compute the Number of Non-missing Observations
nPairs: Number of variable pairs
object.size: Report the Space Allocated for Objects
read.xls: Read Excel files
rename.vars: Remove or rename variables in a dataframe
reorder: Reorder the Levels of a Factor
resample: Consistent Random Samples and Permutations
sheetCount: Count or list sheet names in Excel spreadsheet files.
startsWith: Determine if a character string "starts with" with the...
trim: Remove leading and trailing spaces from character strings
trimSum: Trim a vector such that the last/first value represents the...
unknown: Change unknown values to NA and vice versa
unmatrix: Convert a matrix into a vector, with appropriate names
update.list: Update the elements of a list
upperTriangle: Extract or replace the upper/lower triangular portion of a...
wideByFactor: Create multivariate data by a given factor
write.fwf: Write object in fixed width format
xlsFormats: Check which file formats are supported by read.xls

Functions

"[.levelsMap" Man page
"[.listLevelsMap" Man page
.checkLevelsMap Man page
.checkListLevelsMap Man page
Args Man page Source code
ConvertMedUnits Man page Source code
MedUnits Man page
NAToUnknown Man page Source code
NAToUnknown.data.frame Man page Source code
NAToUnknown.default Man page Source code
NAToUnknown.factor Man page Source code
NAToUnknown.list Man page Source code
aggregate.table Man page
ans Man page Source code
as.levelsMap Man page Source code
as.listLevelsMap Man page Source code
as.object_sizes Man page Source code
bindData Man page Source code
c.levelsMap Man page Source code
c.listLevelsMap Man page Source code
c.object_sizes Man page Source code
case Man page Source code
cbindX Man page Source code
centerText Man page Source code
checkLevelsMap Source code
checkListLevelsMap Source code
combine Man page Source code
drop.levels Man page Source code
drop.levels.data.frame Source code
drop.levels.default Source code
drop.levels.factor Source code
drop.levels.list Source code
duplicated2 Man page Source code
elem Man page Source code
env Man page Source code
findPerl Source code
first Man page Source code
first<- Man page
format.object_sizes Man page Source code
frameApply Man page Source code
gdata Man page
gdata-package Man page
getDateTimeParts Man page
getDay Man page Source code
getDay.Date Man page
getDay.POSIXct Man page
getDay.POSIXlt Man page Source code
getDay.default Man page Source code
getHour Man page Source code
getHour.default Man page Source code
getMin Man page Source code
getMin.default Man page Source code
getMonth Man page Source code
getMonth.Date Man page
getMonth.POSIXct Man page
getMonth.POSIXlt Man page Source code
getMonth.default Man page Source code
getSec Man page Source code
getSec.default Man page Source code
getYear Man page Source code
getYear.Date Man page
getYear.POSIXct Man page
getYear.POSIXlt Man page Source code
getYear.default Man page Source code
humanReadable Man page Source code
installXLSXsupport Man page Source code
interleave Man page Source code
is.levelsMap Man page Source code
is.listLevelsMap Man page Source code
is.object_sizes Man page Source code
is.what Man page Source code
isUnknown Man page Source code
isUnknown.POSIXlt Man page Source code
isUnknown.data.frame Man page Source code
isUnknown.default Man page Source code
isUnknown.list Man page Source code
isUnknown.matrix Man page Source code
keep Man page Source code
last Man page Source code
last<- Man page
left Man page Source code
left.data.frame Source code
ll Man page Source code
lowerTriangle Man page Source code
lowerTriangle<- Man page
ls.funs Man page Source code
mapLevels Man page Source code
mapLevels.character Man page Source code
mapLevels.data.frame Man page Source code
mapLevels.default Man page Source code
mapLevels.factor Man page Source code
mapLevels.list Man page Source code
mapLevels<- Man page
mapLevels<-.character Man page
mapLevels<-.data.frame Man page
mapLevels<-.default Man page
mapLevels<-.factor Man page
mapLevels<-.list Man page
matchcols Man page Source code
mv Man page Source code
nPairs Man page Source code
nobs Man page Source code
nobs.data.frame Man page Source code
nobs.default Man page Source code
nobs.lm Man page
object.size Man page Source code
onAttach Source code
print.levelsMap Man page Source code
print.listLevelsMap Man page Source code
print.object_sizes Man page Source code
read.xls Man page Source code
remove.vars Man page Source code
rename.vars Man page Source code
reorder.factor Man page Source code
resample Man page Source code
right Man page Source code
right.data.frame Source code
right.matrix Source code
sCharacterMap Source code
sheetCmd Source code
sheetCount Man page Source code
sheetNames Man page Source code
sort.levelsMap Man page Source code
startsWith Man page Source code
summary.nPairs Source code
trim Man page Source code
trim.character Source code
trim.data.frame Source code
trim.default Source code
trim.factor Source code
trim.list Source code
trimSum Man page Source code
unique.levelsMap Man page Source code
unknownList Source code
unknownToNA Man page Source code
unknownToNA.data.frame Man page Source code
unknownToNA.default Man page Source code
unknownToNA.factor Man page Source code
unknownToNA.list Man page Source code
unlistLevelsMap Source code
unmatrix Man page Source code
update.data.frame Man page Source code
update.list Man page Source code
upperTriangle Man page Source code
upperTriangle<- Man page
wideByFactor Man page Source code
write.fwf Man page Source code
xls2csv Man page Source code
xls2sep Man page Source code
xls2tab Man page Source code
xls2tsv Man page Source code
xlsFormats Man page Source code

Files

.Rinstignore
ChangeLog
DESCRIPTION
INSTALL
NAMESPACE
NEWS
R
R/Args.R
R/ConvertMedUnits.R
R/ans.R
R/bindData.R
R/case.R
R/cbindX.R
R/centerText.R
R/combine.R
R/drop.levels.R
R/duplicated2.R
R/elem.R
R/env.R
R/findPerl.R
R/first.R
R/frameApply.R
R/getDateTimeParts.R
R/humanReadable.R
R/installXLSXsupport.R
R/interleave.R
R/is.what.R
R/keep.R
R/left.R
R/ll.R
R/ls.funs.R
R/mapLevels.R
R/matchcols.R
R/mv.R
R/nPairs.R
R/nobs.R
R/object.size.R
R/onAttach.R
R/read.xls.R
R/rename.vars.R
R/reorder.R
R/resample.R
R/sheetCount.R
R/startsWith.R
R/trim.R
R/trimSum.R
R/unknown.R
R/unmatrix.R
R/update.data.frame.R
R/update.list.R
R/upperTriangle.R
R/wideByFactor.R
R/write.fwf.R
R/xls2sep.R
R/xlsFormats.R
build
build/vignette.rds
data
data/MedUnits.rda
inst
inst/ChangeLog
inst/NEWS
inst/bin
inst/bin/xls2csv
inst/bin/xls2csv.bat
inst/doc
inst/doc/Rnews.sty
inst/doc/gregmisc.pdf
inst/doc/gregmisc.tex
inst/doc/mapLevels.R
inst/doc/mapLevels.Rnw
inst/doc/mapLevels.pdf
inst/doc/unknown.R
inst/doc/unknown.Rnw
inst/doc/unknown.pdf
inst/perl
inst/perl/Archive
inst/perl/Archive/README-Archive-Zip
inst/perl/Archive/Zip
inst/perl/Archive/Zip.pm
inst/perl/Archive/Zip/Archive.pm
inst/perl/Archive/Zip/BufferedFileHandle.pm
inst/perl/Archive/Zip/DirectoryMember.pm
inst/perl/Archive/Zip/FAQ.pod
inst/perl/Archive/Zip/FileMember.pm
inst/perl/Archive/Zip/Member.pm
inst/perl/Archive/Zip/MemberRead.pm
inst/perl/Archive/Zip/MockFileHandle.pm
inst/perl/Archive/Zip/NewFileMember.pm
inst/perl/Archive/Zip/StringMember.pm
inst/perl/Archive/Zip/Tree.pm
inst/perl/Archive/Zip/ZipFileMember.pm
inst/perl/Crypt
inst/perl/Crypt/RC4.pm
inst/perl/Digest
inst/perl/Digest/Perl
inst/perl/Digest/Perl/MD5.pm
inst/perl/Graphics
inst/perl/Graphics/ColorUtils.pm
inst/perl/IO
inst/perl/IO/AtomicFile.pm
inst/perl/IO/InnerFile.pm
inst/perl/IO/Lines.pm
inst/perl/IO/Scalar.pm
inst/perl/IO/Scalar.pm.html
inst/perl/IO/ScalarArray.pm
inst/perl/IO/Stringy.pm
inst/perl/IO/Wrap.pm
inst/perl/IO/WrapTie.pm
inst/perl/OLE
inst/perl/OLE/README-OLE-Storage_Lite
inst/perl/OLE/Storage_Lite.pm
inst/perl/Spreadsheet
inst/perl/Spreadsheet/ParseExcel
inst/perl/Spreadsheet/ParseExcel.pm
inst/perl/Spreadsheet/ParseExcel/Cell.pm
inst/perl/Spreadsheet/ParseExcel/Dump.pm
inst/perl/Spreadsheet/ParseExcel/FmtDefault.pm
inst/perl/Spreadsheet/ParseExcel/FmtJapan.pm
inst/perl/Spreadsheet/ParseExcel/FmtJapan2.pm
inst/perl/Spreadsheet/ParseExcel/FmtUnicode.pm
inst/perl/Spreadsheet/ParseExcel/Font.pm
inst/perl/Spreadsheet/ParseExcel/Format.pm
inst/perl/Spreadsheet/ParseExcel/SaveParser
inst/perl/Spreadsheet/ParseExcel/SaveParser.pm
inst/perl/Spreadsheet/ParseExcel/SaveParser/Workbook.pm
inst/perl/Spreadsheet/ParseExcel/SaveParser/Worksheet.pm
inst/perl/Spreadsheet/ParseExcel/Utility.pm
inst/perl/Spreadsheet/ParseExcel/Workbook.pm
inst/perl/Spreadsheet/ParseExcel/Worksheet.pm
inst/perl/Spreadsheet/ParseXLSX.pm
inst/perl/Spreadsheet/README-ParseExcel
inst/perl/Spreadsheet/README-XLS
inst/perl/VERSIONS
inst/perl/XML
inst/perl/XML/Twig
inst/perl/XML/Twig.pm
inst/perl/XML/Twig/XPath.pm
inst/perl/install_modules.pl
inst/perl/module_tools.pl
inst/perl/sheetCount.pl
inst/perl/sheetNames.pl
inst/perl/supportedFormats.pl
inst/perl/xls2csv.pl
inst/perl/xls2tab.pl
inst/perl/xls2tsv.pl
inst/xls
inst/xls/ExampleExcelFile.xls
inst/xls/ExampleExcelFile.xlsx
inst/xls/ExampleExcelFile_1900.xls
inst/xls/ExampleExcelFile_1900.xlsx
inst/xls/ExampleExcelFile_1904.xls
inst/xls/ExampleExcelFile_1904.xlsx
inst/xls/iris.xls
inst/xls/latin-1.xls
inst/xls/latin-1.xlsx
inst/xls/wide.xls
inst/xls/wide.xlsx
man
man/Args.Rd
man/ConvertMedUnits.Rd
man/MedUnits.Rd
man/ans.Rd
man/bindData.Rd
man/case.Rd
man/cbindX.Rd
man/centerText.Rd
man/combine.Rd
man/drop.levels.Rd
man/duplicated2.Rd
man/elem.Rd
man/env.Rd
man/first.Rd
man/frameApply.Rd
man/gdata-defunct.Rd
man/gdata-package.Rd
man/getDateTimePart.Rd
man/humanReadable.Rd
man/installXLSXsupport.Rd
man/interleave.Rd
man/is.what.Rd
man/keep.Rd
man/left.Rd
man/ll.Rd
man/ls.funs.Rd
man/mapLevels.Rd
man/matchcols.Rd
man/mv.Rd
man/nPairs.Rd
man/nobs.Rd
man/object.size.Rd
man/read.xls.Rd
man/rename.vars.Rd
man/reorder.Rd
man/resample.Rd
man/sheetCount.Rd
man/startsWith.Rd
man/trim.Rd
man/trimSum.Rd
man/unknown.Rd
man/unmatrix.Rd
man/update.list.Rd
man/upperTriangle.Rd
man/wideByFactor.Rd
man/write.fwf.Rd
man/xlsFormats.Rd
tests
tests/runRUnitTests.R
tests/test.humanReadable.R
tests/test.humanReadable.Rout.save
tests/test.read.xls.R
tests/test.read.xls.Rout.save
tests/test.reorder.factor.R
tests/test.reorder.factor.Rout.save
tests/test.write.fwf.eol.R
tests/tests.write.fwf.R
tests/tests.write.fwf.Rout.save
tests/unitTests
tests/unitTests/Makefile
tests/unitTests/runit.bindData.R
tests/unitTests/runit.cbindX.R
tests/unitTests/runit.drop.levels.R
tests/unitTests/runit.getDateTimeParts.R
tests/unitTests/runit.mapLevels.R
tests/unitTests/runit.nPairs.R
tests/unitTests/runit.reorder.factor.R
tests/unitTests/runit.trim.R
tests/unitTests/runit.trimSum.R
tests/unitTests/runit.unknown.R
tests/unitTests/runit.wideByFactor.R
tests/unitTests/runit.write.fwf.R
vignettes
vignettes/Rnews.sty
vignettes/mapLevels.Rnw
vignettes/unknown.Rnw
gdata documentation built on May 21, 2017, 1:37 a.m.