powered by
invert(x)## S3 method for class 'vector': invert(x)## S3 method for class 'Searchable': invert(x)## S3 method for class 'list': invert(x)
## S3 method for class 'vector': invert(x)
## S3 method for class 'Searchable': invert(x)
## S3 method for class 'list': invert(x)
v <- 1:26 names(v) <- letters invert(v) l <- as.list(v)
Run the code above in your browser using DataLab