Description Usage Arguments Details Value Author(s) See Also Examples
vecseq
returns concatenated multiple sequences
1 |
x |
vector of sequence start points |
y |
vector of sequence end points (if |
concat |
vector of sequence end points (if |
eval |
vector of sequence end points (if |
This is a generalization of sequence
in that you can choose sequence starts other than 1 and also have options to no concat and/or return a call instead of the evaluated sequence.
if concat==FALSE
and eval==FALSE
a list with n calls that generate sequences
if concat==FALSE
and eval==TRUE
a list with n sequences
if concat==TRUE
and eval==FALSE
a single call generating the concatenated sequences
if concat==TRUE
and eval==TRUE
an integer vector of concatentated sequences
Angelo Canty, Jens Oehlschlägel
1 2 3 4 5 6 7 |
Attaching package bit
package:bit (c) 2008-2012 Jens Oehlschlaegel (GPL-2)
creators: bit bitwhich
coercion: as.logical as.integer as.bit as.bitwhich which
operator: ! & | xor != ==
querying: print length any all min max range sum summary
bit access: length<- [ [<- [[ [[<-
for more help type ?bit
Attaching package: 'bit'
The following object is masked from 'package:base':
xor
[1] 1 2 3 1 2 3 4
[1] 1 2 3 1 2 3 4
[1] 1 2 3 4 5 11 12 13 14 15
[[1]]
1:5
[[2]]
11:15
[[1]]
[1] 1 2 3 4 5
[[2]]
[1] 11 12 13 14 15
c(1:5, 11:15)
[1] 1 2 3 4 5 11 12 13 14 15
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.