gdata v2.18.0

0

Monthly downloads

0th

Percentile

Various R Programming Tools for Data Manipulation

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').

Functions in gdata

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

Vignettes of gdata

Name
Rnews.sty
mapLevels.Rnw
unknown.Rnw
No Results!

Last month downloads

Details

SystemRequirements perl (>= 5.10.0)
Date 2017-06-05
License GPL-2
NeedsCompilation no
Packaged 2017-06-05 21:27:42 UTC; gwarnes
Repository CRAN
Date/Publication 2017-06-06 15:34:19 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/gdata)](http://www.rdocumentation.org/packages/gdata)