Skip to content
Prev 78646 / 398503 Next

How to get the remaining vector after sampling a subset?

one way is to use:

x[!x %in% chosen]


I hope it helps.

Best,
Dimitris


----- Original Message ----- 
From: "Xiao Shi" <bioconductor.cn at gmail.com>
To: <r-help at stat.math.ethz.ch>
Sent: Sunday, October 09, 2005 11:26 AM
Subject: [R] How to get the remaining vector after sampling a subset?
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm