Skip to contents

Overview Help Pages

aaa00_squarebrackets_help squarebrackets-package squarebrackets squarebrackets_help
squarebrackets: Subset Methods as Alternatives to the Square Brackets Operators for Programming
aaa01_squarebrackets_methods squarebrackets_methods
Methods Available in 'squarebrackets'
aaa02_squarebrackets_indx_fundamentals squarebrackets_indx_fundamentals
Indexing Fundamentals of 'squarebrackets'
aaa03_squarebrackets_supported_structures squarebrackets_supported_structures
Supported Structures
aaa04_squarebrackets_indx_args squarebrackets_indx_args
Index Arguments in the Generic Sub-setting Methods
aaa05_squarebrackets_modify squarebrackets_modify
Regarding Modification
aaa06_squarebrackets_options squarebrackets_options
squarebrackets Options
aaa07_squarebrackets_method_dispatch squarebrackets_method_dispatch
Method Dispatch of 'squarebrackets'
aaa08_squarebrackets_slicev squarebrackets_slicev
On Index-Less Value-Based Sub-Set Operations
aaa09_squarebrackets_PassByReference squarebrackets_PassByReference
Regarding Modification By Reference
aaa10_squarebrackets_coercion squarebrackets_coercion
Auto-Coercion Rules for Mutable Objects

Main Methods

ii_x() ss_x() sbt_x()
Methods to Extract, Exchange, or Duplicate Subsets of an Object
ii_wo() ss_wo() sbt_wo()
Methods to Return Object Without Specified Subset
ii_mod() ss_mod() sbt_mod()
Method to Return a Copy of an Object With Modified Subsets
ii_set() ss_set() sbt_set()
Methods to Modify Subsets of a Mutable Object By Reference
slice_x() slice_wo() slice_set()
Efficient Sequence-based Subset Methods on (Long) Vectors
slicev_x() slicev_set() countv()
Efficient Value-based Subset Methods on (Long) Vectors

Other Methods

idx()
Convert/Translate Indices (for Copy-On-Modify Substitution)
lst_rec() lst_recin()
Access, Replace, Transform, Delete, or Extend Recursive Subsets
sb_setFlatnames() sb_setDimnames() sb_setVarnames()
Safely Change the Names of a Mutable Object By Reference
cp_seq()
Construct Parameters for a Sequence Based on Margins

mutatomic class

mutatomic() as.mutatomic() is.mutatomic() couldb.mutatomic()
A Class of Mutable Atomic Objects

Helper Functions

n()
Nest
s()
Get the Size of an Object Along a Margin
ndim()
Get Number of Dimensions
ss2coord() coord2ss() coord2ii() ii2coord() ss2ii()
Convert Subscripts to Coordinates, Coordinates to Interior Indices, and Vice-Versa
match_all()
Match All, Order-Sensitive and Duplicates-Sensitive
idx_r()
Compute Integer Index Range
idx_by()
Compute Grouped Indices
dropl()
Helper Functions for Sub-Set Operations on Recursive Objects
ci_ii() ci_margin() ci_ss() ci_df() ci_obs() ci_vars()
Construct Indices

Developer Functions

stopifnot_ma_safe2mutate() address() .internal_set_ma()
Developer Functions for the mutatomic Class
tci_bool() tci_int() tci_chr() tci_im()
Type Cast Indices
indx_x() indx_wo() .is.0()
Exported Utilities