You just need to specify the vector from which to remove, for example:
test <- data.frame(x=rnorm(100),y=rep(1:2,each=50))
t.test(x ~ y, data=test, subset=-40)
So, in your case, it should be:
t.test(Dioxin~Veteran,data=case0302,var.equal=TRUE,alternative="less",
subset=-646)
As @flodel notes, more information about the argument subset=is available at ?model.frame:
subset: a specification of the rows to be used: defaults to all rows.
This can be any valid indexing vector (see β[.data.frameβ)
for the rows of βdataβ or if that is not supplied, a data
frame made up of the variables used in βformulaβ.
source
share