Displaying 2 results from an estimated 2 matches for "265011".
Did you mean:
265,11
2006 Aug 22
4
Successive subsets from a vector?
...way to do this without loops...
Here is a for-loop-version and a model for output:
VECTOR=c(1,4,2,6,5,0,11,10,4,3,6,8,6);
ADDRESSES=c();
for(i in 1:(length(VECTOR)-4)){
ADDRESSES[i]=paste(VECTOR[i:(i+4)],collapse="")
}
> ADDRESSES
[1] "14265" "42650" "265011" "6501110" "5011104" "0111043"
"1110436" "104368"
[9] "43686"
Atte Tenkanen
University of Turku, Finland
[[alternative text/enriched version deleted]]
2000 Nov 14
1
mvtnorm
Announcement: mvtnorm
Multivariate Normal and T Distribution
mvtnorm implements two R functions for the computation of the multivariate t
and normal distribution:
pmvt: Computes the the distribution function of the multivariate t
distribution for arbitary limits, degrees of freedom and
correlation matrices based on algorithms by Genz and Bretz.
pmvnorm: Computes the distribution