translateSPSS2R: Toolset for Translating SPSS-Syntax to R-Code

Share:

Package with translated commands of SPSS. The usage is oriented on the handling of SPSS-Syntax. Mainly the package has two purposes: It facilitates SPSS-Users to change over to R and aids migration projects from SPSS to R.

Author
Andreas Wygrabek [aut, cre], Bastian Wiessner [aut], eoda GmbH [cph]
Date of publication
2015-06-23 17:50:10
Maintainer
Andreas Wygrabek <Andreas.Wygrabek@eoda.de>
License
GPL-3
Version
1.0.0
URLs

View on CRAN

Man pages

applyAttributeDemerge
Merges Attributdata
applyAttributes
Apply stored attributes
applyDateCheck
Apply Date Checks
applyMetaCheck
Apply Meta Checks
as.xpssFrame
Coerces data.frames to xpssFrame objects
attributesBackup
Stores Attributes
computeAbs
Computes the absolute value.
computeArsin
Computes the arc-sine.
computeArtan
Computes the arc-tan.
computeCfvar
Computes the coefficient of variation
computeChar_index
Locate position of first occurence of a pattern
computeChar_length
Length of a string in characters
computeChar_lpad
Expand strings on the left
computeChar_mblen
Byte per character or sign
computeChar_rindex
Locate position of last occurence of a pattern
computeChar_rpad
Expand strings on the right
computeChar_substr
creates a substring
computeConcat
computeConcat (x, sep = "")
computeCos
Computes the cosinus.
computeCtime_days
Calculates the difference of time between two dates in days
computeCtime_hours
Calculates the difference between two dates in hours
computeCtime_minutes
Calculates the difference between two dates in minutes
computeCtime_seconds
Calculates the difference between two dates in seconds
computeDate_dmy
Creates a date with the format day-month-year
computeDate_mdy
Creates a date with the format month-day-year
computeDate_moyr
Creates a date with the format month-year
computeDate_qyr
Creates a date with the format year/quarter
computeDate_wkyr
Creates a date with the format year/calendar week
computeDate_yrday
Creates a date with the format year/yearday
computeExp
Computes the exponential
computeLag
Moves cases of variables
computeLength
Number of bytes in a string
computeLg10
Computes the logarithm base 10
computeLn
Computes the logarithm naturalis
computeLngamma
Computes the logarithm of the gamma function
computeLower
Convert upper-case letters to lower-case
computeLtrim
Trims string on left side
computeMax
Computes the Maxima
computeMean
Atithmetic Mean
computeMedian
Median Value
computeMin
Minima
computeMiss
Displays whether a variable contains missing values
computeMod
Returns the remainder of a division.
computeNmiss
Displays the amount of missing values in variables.
computeNtrim
Return the input data without removing trailing blanks
computeNvalid
Displays the amount of valid values in variables.
computeReplace
Replace matched pattern in a string
computeRnd
Rounds values.
computeRtrim
Trims string on right side
computeSd
Standard Deviation
computeSin
Computes the sine function
computeSqrt
Computes the square root
computeStrunc
Truncating strings
computeSysmis
Displays if a variable contains system-missing values
computeTime_days
Calculates the number of passed hours on basis of the given...
computeTime_hms
Creates a date with the format Hour-Minute-Second
computeUpcase
Convert lower-case letters to upper-case
computeValue
Displays the value of the variable cases.
computeVariance
Variance
computeXdate_date
Extracts the date out of a date string.
computeXdate_hour
Extracts the hour value out of a given date
computeXdate_jday
Calculates the date of year on basis of a given date
computeXdate_mday
Extracts the date of month on basis of a given date
computeXdate_minute
Extracts the minute component on basis of a given date
computeXdate_month
Extracts the month component on basis of a given date
computeXdate_quarter
Calculates the quarter on basis of a given date
computeXdate_second
Extracts the second on basis of a given date
computeXdate_tday
Calculates the difference of days between the entered date...
computeXdate_time
Extracts the time componente on basis of a given date
computeXdate_week
Calcualtes the calendar week on basis of a given date
computeXdate_wkday
Calcualtes the day of week on basis of a given date
computeXdate_year
Extracts the year on basis of a given date
enter
enter
fromXPSS
Sample dataset
span
Indicates range of varlist
translateSPSS2R-package
Documentation
xpssAddValueLabels
Modifies value labels
xpssAny
Selecting cases by condition
xpssCasenum
Sequential numbering of cases
xpssCompute
Creates data
xpssCorrelations
Pearson product-moment correlations
xpssCount
Counts frequencies of specific observations
xpssDate
Today's date
xpssDate11
Todays date
xpssDeleteVariables
Deletes variables from dataset
xpssDescriptives
Simple descriptive statistics
xpssDoIf
Creates a DO IF - END IF subset
xpssElseIf
Creates a subcondition within a DO IF - END IF subset
xpssEndIf
Ends a DO IF - END IF subset
xpssFilter
Creates a FILTER subset
xpssFilterOff
Ends a FILTER subset
xpssFlip
Flips variables
xpssFrame
Creates a xpssFrame Object
xpssFrequencies
Simple descriptive statistics
xpssJDate
Days since 14. Oct 1582
xpssList
Displays the content of variables.
xpssMeans
Simple descriptive statistics
xpssMissingValues
Defines missing values for variables.
xpssNofCases
Selects the first n rows of the dataset
xpssNumeric
Creates numeric variables
xpssRecode
Recodes variables
xpssRegression
Calculates a linear Regression
xpssRenameVariables
Renaming Variables
xpssSample
Creates a sample
xpssSelectIf
Creates a subset of cases
xpssSortCases
Sorts data ascending or descending order
xpssSortVariables
Sorting variables
xpssSplitFile
Splits the data.frame into pieces by a factor
xpssSplitFileOff
Set the data split off
xpssString
Creates string variables
xpssTemporary
Temporary modification of the data
xpssTime
Minutes since 14. Oct 1582
xpssTtest
Performs a T-Test
xpssValueLabels
Modifies value labels
xpssVariableLabels
Modifies variable labels
xpssVarsToCases
Transforms variables to cases

Files in this package

translateSPSS2R
translateSPSS2R/NAMESPACE
translateSPSS2R/data
translateSPSS2R/data/fromXPSS.rda
translateSPSS2R/R
translateSPSS2R/R/applyAttributes.R
translateSPSS2R/R/xpssDoIf.R
translateSPSS2R/R/translateR.R
translateSPSS2R/R/xpssMeans.R
translateSPSS2R/R/xpssMissingValues.R
translateSPSS2R/R/xpssRegression.R
translateSPSS2R/R/xpssSortVariables.R
translateSPSS2R/R/xpssEndIf.R
translateSPSS2R/R/xpssComputeStrings.R
translateSPSS2R/R/xpssCasenum.R
translateSPSS2R/R/xpssDate11.R
translateSPSS2R/R/xpssFrame.R
translateSPSS2R/R/xpssDate.R
translateSPSS2R/R/attributesBackup.R
translateSPSS2R/R/xpssVarstocases.R
translateSPSS2R/R/xpssFilterOff.R
translateSPSS2R/R/xpssFilter.R
translateSPSS2R/R/xpssElseIf.R
translateSPSS2R/R/xpssTime.R
translateSPSS2R/R/xpssDescriptives.R
translateSPSS2R/R/xpssAny.R
translateSPSS2R/R/xpssLag.R
translateSPSS2R/R/xpssDeleteVariables.R
translateSPSS2R/R/applyAttributeDemerge.R
translateSPSS2R/R/xpssComputeStatistics.R
translateSPSS2R/R/xpssComputeArithmetics.R
translateSPSS2R/R/xpssNumeric.R
translateSPSS2R/R/xpssComputeMissings.R
translateSPSS2R/R/xpssNOfCases.R
translateSPSS2R/R/xpssRenameVariables.R
translateSPSS2R/R/xpssSelectIf.R
translateSPSS2R/R/xpssValueLabels.R
translateSPSS2R/R/xpssString.R
translateSPSS2R/R/xpssFlip.R
translateSPSS2R/R/xpssJDate.R
translateSPSS2R/R/xpssTtest.R
translateSPSS2R/R/xpssCompute.R
translateSPSS2R/R/xpssFrequencies.R
translateSPSS2R/R/xpssList.R
translateSPSS2R/R/xpssComputeDates.R
translateSPSS2R/R/xpssCount.R
translateSPSS2R/R/xpssSplitFileOff.R
translateSPSS2R/R/xpssSortCases.R
translateSPSS2R/R/span.R
translateSPSS2R/R/xpssTemporary.R
translateSPSS2R/R/xpssAddValueLabels.R
translateSPSS2R/R/xpssSample.R
translateSPSS2R/R/xpssCorrelations.R
translateSPSS2R/R/xpssRecode.R
translateSPSS2R/R/applyDateCheck.R
translateSPSS2R/R/applyMetaCheck.R
translateSPSS2R/R/xpssSplitFile.R
translateSPSS2R/R/xpssVariableLabels.R
translateSPSS2R/R/as.xpssFrame.R
translateSPSS2R/MD5
translateSPSS2R/DESCRIPTION
translateSPSS2R/man
translateSPSS2R/man/xpssFrequencies.Rd
translateSPSS2R/man/computeDate_qyr.Rd
translateSPSS2R/man/computeDate_dmy.Rd
translateSPSS2R/man/xpssSortVariables.Rd
translateSPSS2R/man/computeXdate_date.Rd
translateSPSS2R/man/computeTime_hms.Rd
translateSPSS2R/man/computeLength.Rd
translateSPSS2R/man/span.Rd
translateSPSS2R/man/computeChar_rpad.Rd
translateSPSS2R/man/computeXdate_wkday.Rd
translateSPSS2R/man/computeSysmis.Rd
translateSPSS2R/man/xpssAny.Rd
translateSPSS2R/man/xpssFlip.Rd
translateSPSS2R/man/computeExp.Rd
translateSPSS2R/man/xpssElseIf.Rd
translateSPSS2R/man/computeSqrt.Rd
translateSPSS2R/man/xpssList.Rd
translateSPSS2R/man/computeSin.Rd
translateSPSS2R/man/xpssJDate.Rd
translateSPSS2R/man/computeArtan.Rd
translateSPSS2R/man/xpssCompute.Rd
translateSPSS2R/man/computeVariance.Rd
translateSPSS2R/man/computeCtime_seconds.Rd
translateSPSS2R/man/xpssVarsToCases.Rd
translateSPSS2R/man/computeCtime_hours.Rd
translateSPSS2R/man/computeChar_mblen.Rd
translateSPSS2R/man/xpssDeleteVariables.Rd
translateSPSS2R/man/xpssFilterOff.Rd
translateSPSS2R/man/computeCtime_minutes.Rd
translateSPSS2R/man/computeChar_index.Rd
translateSPSS2R/man/computeMean.Rd
translateSPSS2R/man/computeDate_wkyr.Rd
translateSPSS2R/man/computeRnd.Rd
translateSPSS2R/man/computeConcat.Rd
translateSPSS2R/man/computeXdate_hour.Rd
translateSPSS2R/man/applyAttributeDemerge.Rd
translateSPSS2R/man/computeCos.Rd
translateSPSS2R/man/computeNtrim.Rd
translateSPSS2R/man/xpssDescriptives.Rd
translateSPSS2R/man/computeSd.Rd
translateSPSS2R/man/xpssDoIf.Rd
translateSPSS2R/man/xpssSplitFile.Rd
translateSPSS2R/man/computeStrunc.Rd
translateSPSS2R/man/applyAttributes.Rd
translateSPSS2R/man/computeChar_length.Rd
translateSPSS2R/man/as.xpssFrame.Rd
translateSPSS2R/man/computeLtrim.Rd
translateSPSS2R/man/computeNmiss.Rd
translateSPSS2R/man/xpssString.Rd
translateSPSS2R/man/xpssAddValueLabels.Rd
translateSPSS2R/man/xpssFilter.Rd
translateSPSS2R/man/xpssEndIf.Rd
translateSPSS2R/man/computeLngamma.Rd
translateSPSS2R/man/computeTime_days.Rd
translateSPSS2R/man/computeChar_lpad.Rd
translateSPSS2R/man/computeXdate_quarter.Rd
translateSPSS2R/man/xpssVariableLabels.Rd
translateSPSS2R/man/xpssTemporary.Rd
translateSPSS2R/man/xpssRegression.Rd
translateSPSS2R/man/computeLg10.Rd
translateSPSS2R/man/computeMiss.Rd
translateSPSS2R/man/computeDate_moyr.Rd
translateSPSS2R/man/computeCtime_days.Rd
translateSPSS2R/man/xpssRecode.Rd
translateSPSS2R/man/computeXdate_time.Rd
translateSPSS2R/man/xpssValueLabels.Rd
translateSPSS2R/man/applyMetaCheck.Rd
translateSPSS2R/man/xpssSortCases.Rd
translateSPSS2R/man/computeChar_rindex.Rd
translateSPSS2R/man/computeMod.Rd
translateSPSS2R/man/computeXdate_month.Rd
translateSPSS2R/man/computeXdate_jday.Rd
translateSPSS2R/man/computeXdate_week.Rd
translateSPSS2R/man/translateSPSS2R-package.Rd
translateSPSS2R/man/computeLn.Rd
translateSPSS2R/man/attributesBackup.Rd
translateSPSS2R/man/computeValue.Rd
translateSPSS2R/man/xpssSelectIf.Rd
translateSPSS2R/man/computeDate_mdy.Rd
translateSPSS2R/man/computeAbs.Rd
translateSPSS2R/man/xpssRenameVariables.Rd
translateSPSS2R/man/xpssDate11.Rd
translateSPSS2R/man/computeLower.Rd
translateSPSS2R/man/xpssDate.Rd
translateSPSS2R/man/computeDate_yrday.Rd
translateSPSS2R/man/xpssSplitFileOff.Rd
translateSPSS2R/man/xpssNofCases.Rd
translateSPSS2R/man/computeRtrim.Rd
translateSPSS2R/man/computeMin.Rd
translateSPSS2R/man/computeXdate_tday.Rd
translateSPSS2R/man/computeArsin.Rd
translateSPSS2R/man/computeUpcase.Rd
translateSPSS2R/man/computeXdate_second.Rd
translateSPSS2R/man/computeCfvar.Rd
translateSPSS2R/man/computeMedian.Rd
translateSPSS2R/man/computeMax.Rd
translateSPSS2R/man/computeLag.Rd
translateSPSS2R/man/fromXPSS.Rd
translateSPSS2R/man/xpssMeans.Rd
translateSPSS2R/man/computeXdate_year.Rd
translateSPSS2R/man/enter.Rd
translateSPSS2R/man/xpssTime.Rd
translateSPSS2R/man/xpssMissingValues.Rd
translateSPSS2R/man/computeChar_substr.Rd
translateSPSS2R/man/xpssCasenum.Rd
translateSPSS2R/man/computeXdate_minute.Rd
translateSPSS2R/man/xpssCorrelations.Rd
translateSPSS2R/man/xpssNumeric.Rd
translateSPSS2R/man/computeNvalid.Rd
translateSPSS2R/man/computeReplace.Rd
translateSPSS2R/man/xpssSample.Rd
translateSPSS2R/man/xpssCount.Rd
translateSPSS2R/man/xpssFrame.Rd
translateSPSS2R/man/applyDateCheck.Rd
translateSPSS2R/man/computeXdate_mday.Rd
translateSPSS2R/man/xpssTtest.Rd