Displaying 2 results from an estimated 2 matches for "iint".
Did you mean:
int
2008 Mar 17
0
Accessing vector elements by a factor (PR#10971)
Full_Name: Dennis Walvoort
Version: 2.6.2
OS: MS Windows XP
Submission from: (NULL) (137.224.252.10)
I've encountered a problem when extracting vector elements by a factor.
Let's create a (named) character vector v:
i <- 1:10
v <- letters[i]
names(v) <- i
Let iInt, iChr, and iFac denote integer, character, and factor indices
respectively:
iInt <- i
iChr <- as.character(i)
iFac <- factor(iChr)
Now, consider the following tests:
all.equal(v, v[iInt]) # TRUE
all.equal(v, v[iChr]) # TRUE
all.equal(v, v[iFac]) # FALSE
all.equal(v, v[as.character(iFac)...
2003 Jun 11
7
IPFW: combining "divert natd" with "keep-state"
I've been using ipfw for a while to create a router with NAT
and packet filtering, but have never combined it with
stateful filtering, instead using things like "established" to
accept incoming TCP packets which are part of a conversation
initiated from the "inside".
I'd like to move to using keep-state/check-state to get tighter
filtering and also to allow outgoing