Data Manipulation
These are the available functions for data manipulation. See each function's help topic in the TERR Language Reference for more information.
Function name | Title description |
---|---|
->
|
Assign a Name to an Object |
:
|
Generate a Sequence |
@
|
Extract Slot from an S4 Object |
<-
|
Assign a Name to an Object |
<<-
|
Assign a Name to an Object |
=
|
Assign a Name to an Object |
.mapply
|
Apply a Function to Multiple List or Vector Arguments |
.rowSums
|
Row and Column Summaries |
.rowMeans
|
Row and Column Summaries |
.colSums
|
Row and Column Summaries |
.colMeans
|
Row and Column Summaries |
abbreviate
|
Generate Abbreviations |
addmargins
|
Puts Arbitrary Margins on Multidimensional Tables or Arrays |
anyDuplicated
|
Determine Duplicate Elements |
anyDuplicated.array
|
Determine Duplicate Elements |
anyDuplicated.data.frame
|
Determine Duplicate Elements |
anyDuplicated.default
|
Determine Duplicate Elements |
anyDuplicated.matrix
|
Determine Duplicate Elements |
append
|
Insert or Merge Data |
arrayInd
|
Find TRUE Values |
as.null
|
The Null Object |
as.null.default
|
The Null Object |
Assignment
|
Assign a Name to an Object |
asplit
|
Split Array into List of Subarrays |
c
|
Combine Values into a Vector or List |
c.Date
|
Combine Values into a Vector or List |
c.POSIXct
|
Combine Values into a Vector or List |
c.POSIXlt
|
Combine Values into a Vector or List |
casefold
|
Convert Case of Character Strings |
cbind
|
Building a Matrix from Columns or Rows |
charmatch
|
Partial Matching of Character Strings |
colMeans
|
Row and Column Summaries |
colnames
|
Column and Row Names |
colnames<-
|
Column and Row Names |
colSums
|
Row and Column Summaries |
cut.Date
|
Create Factor by Cutting Date or POSIXt Object |
cut.POSIXt
|
Create Factor by Cutting Date or POSIXt Object |
duplicated
|
Determine Duplicate Elements |
duplicated.array
|
Determine Duplicate Elements |
duplicated.data.frame
|
Determine Duplicate Elements |
duplicated.default
|
Determine Duplicate Elements |
duplicated.matrix
|
Determine Duplicate Elements |
duplicated.POSIXlt
|
Determine Duplicate Elements |
gregexpr
|
Match Patterns in Strings |
grep
|
Search for a Pattern in Text |
grepl
|
Search for a Pattern in Text |
grepRaw
|
Search for a Pattern in Text |
grouping
|
Grouping Permutation |
gsub
|
Replace Part of a Character String |
head
|
Get the First or Last Part of an Object |
ifelse
|
Conditional Data Selection |
inverse.rle
|
Run Length Encoding and Decoding |
is.na
|
Not Available / Missing Values |
is.na.data.frame
|
Not Available / Missing Values |
is.na.POSIXlt
|
Not Available / Missing Values |
is.na<-
|
Not Available / Missing Values |
is.na<-.default
|
Not Available / Missing Values |
is.na<-.factor
|
Not Available / Missing Values |
is.null
|
The Null Object |
labels.dendrogram
|
ID Numbers or Labels of the Leaves in a Dendrogram |
length
|
Length of a Vector or List |
length.POSIXlt
|
Length of a Vector or List |
list2DF
|
Quickly Make Data.frame From List of Vectors |
mapply
|
Apply a Function to Multiple List or Vector Arguments |
match
|
Match Items against a Table |
merge
|
Merge Two Datasets and Match Columns |
merge.data.frame
|
Merge Two Datasets and Match Columns |
merge.default
|
Merge Two Datasets and Match Columns |
mostattributes<-
|
All Attributes of an Object |
NA
|
Not Available / Missing Values |
NA_character_
|
Not Available / Missing Values |
NA_complex_
|
Not Available / Missing Values |
NA_integer_
|
Not Available / Missing Values |
NA_real_
|
Not Available / Missing Values |
na.action
|
Handle Missing Values in Objects |
na.action.default
|
Handle Missing Values in Objects |
na.exclude
|
Handle Missing Values in Objects |
na.exclude.data.frame
|
Handle Missing Values in Objects |
na.exclude.default
|
Handle Missing Values in Objects |
na.fail
|
Handle Missing Values in Objects |
na.fail.default
|
Handle Missing Values in Objects |
na.omit
|
Handle Missing Values in Objects |
na.omit.data.frame
|
Handle Missing Values in Objects |
na.omit.default
|
Handle Missing Values in Objects |
na.pass
|
Handle Missing Values in Objects |
NaN
|
Not Available / Missing Values |
napredict
|
Adjust for Missing Values |
napredict.default
|
Adjust for Missing Values |
napredict.exclude
|
Adjust for Missing Values |
napredict.NULL
|
Adjust for Missing Values |
naprint
|
Print Missing Value Information |
naprint.default
|
Print Missing Value Information |
naprint.exclude
|
Print Missing Value Information |
naprint.omit
|
Print Missing Value Information |
naresid
|
Adjust for Missing Values |
naresid.default
|
Adjust for Missing Values |
naresid.exclude
|
Adjust for Missing Values |
naresid.NULL
|
Adjust for Missing Values |
NLSstAsymptotic
|
Fit the Asymptotic Regression Model |
NLSstAsymptotic.sortedXyData
|
Fit the Asymptotic Regression Model |
NLSstClosestX
|
Inverse Interpolation |
NLSstClosestX.sortedXyData
|
Inverse Interpolation |
NLSstLfAsymptote
|
Horizontal Asymptote on the Left Side |
NLSstLfAsymptote.sortedXyData
|
Horizontal Asymptote on the Left Side |
NLSstRtAsymptote
|
Horizontal Asymptote on the Right Side |
NLSstRtAsymptote.sortedXyData
|
Horizontal Asymptote on the Right Side |
NULL
|
The Null Object |
order
|
Vector of Indices That Sort Data |
order.dendrogram
|
ID Numbers or Labels of the Leaves in a Dendrogram |
paste
|
Concatenate Data to Make Character Data |
pmatch
|
Partial Matching of Character Items in a Vector |
print.rle
|
Run Length Encoding and Decoding |
provideDimnames
|
Dimnames Attribute of an Object |
rbind
|
Building a Matrix from Columns or Rows |
regexec
|
Search for a Pattern in Text |
regexpr
|
Match Patterns in Strings |
reorder.dendrogram
|
Reorder a Dendrogram |
rep
|
Replicate Data Values |
rep_len
|
Replicate Data Values |
rep.Date
|
Replicate Data Values |
rep.default
|
Replicate Data Values |
rep.factor
|
Replicate Data Values |
rep.int
|
Replicate Data Values |
rep.POSIXct
|
Replicate Data Values |
rep.POSIXlt
|
Replicate Data Values |
replace
|
Insert or Merge Data |
reshape
|
Reshape Grouped Data |
rev
|
Reverse the Order of an Object |
rev.default
|
Reverse the Order of an Object |
rle
|
Run Length Encoding and Decoding |
row.names
|
Row Names Attribute |
row.names.data.frame
|
Row Names Attribute |
row.names<-
|
Row Names Attribute |
row.names<-.data.frame
|
Row Names Attribute |
rowMeans
|
Row and Column Summaries |
rownames
|
Column and Row Names |
rownames<-
|
Column and Row Names |
rowsum
|
Group Row Sums of a Matrix |
rowsum.default
|
Group Row Sums of a Matrix |
rowSums
|
Row and Column Summaries |
seq
|
Generate a Sequence |
seq_along
|
Generate a Sequence |
seq_len
|
Generate a Sequence |
seq.Date
|
Sequences of Date-Times |
seq.default
|
Generate a Sequence |
seq.int
|
Generate a Sequence |
seq.POSIXt
|
Sequences of Date-Times |
sequence
|
Create A Vector of Sequences |
sort
|
Sort into Numeric or Alphabetic Order |
sort.default
|
Sort into Numeric or Alphabetic Order |
sort.int
|
Sort into Numeric or Alphabetic Order |
sort.list
|
Vector of Indices That Sort Data |
sort.POSIXlt
|
Sort into Numeric or Alphabetic Order |
split
|
Split Data by Groups |
split.data.frame
|
Split Data by Groups |
split.Date
|
Split Data by Groups |
split.default
|
Split Data by Groups |
split.POSIXct
|
Split Data by Groups |
split<-
|
Split Data by Groups |
split<-.data.frame
|
Split Data by Groups |
split<-.default
|
Split Data by Groups |
strsplit
|
Split the Elements of a Character Vector |
structure
|
An Object with Given Attributes |
sub
|
Replace Part of a Character String |
subset
|
Subsetting Vectors, Matrices and Data Frames |
subset.data.frame
|
Subsetting Vectors, Matrices and Data Frames |
subset.default
|
Subsetting Vectors, Matrices and Data Frames |
subset.matrix
|
Subsetting Vectors, Matrices and Data Frames |
tail
|
Get the First or Last Part of an Object |
tolower
|
Convert Case of Character Strings |
toupper
|
Convert Case of Character Strings |
transform
|
Transform an Object to a Data Frame Object |
transform.data.frame
|
Transform an Object to a Data Frame Object |
transform.default
|
Transform an Object to a Data Frame Object |
unique
|
Unique Values |
unique.array
|
Unique Values |
unique.data.frame
|
Unique Values |
unique.default
|
Unique Values |
unique.matrix
|
Unique Values |
unique.POSIXlt
|
Unique Values |
unlist
|
Simplify the Structure of a List |
unname
|
Remove "names" or "dimnames" |
unsplit
|
Split Data by Groups |
Vectorize
|
Apply a Function to Multiple List or Vector Arguments |
which
|
Find TRUE Values |
zapsmall
|
Coerce Small Numbers to Zero for Printing |
Parent topic: Basics