yes, that is
thanks
milton ruser pisze:
I hope this helps
my.df<-read.table(stdin(), head=T, sep=" ")
V5 V5.1 V5.2 V5.3 V5.4 V5.5
-5890.18905 -6019.84665 -6211.06545 -6198.9353 -6616.8677 -6498.7183
-5890.18905 -6019.84665 -6211.06545 -6198.9353 -6616.8677 -6498.7183
-5890.18905 -6019.846
All that is needed is
my.df[sample(nrow(my.df), size=), ]
On Wed, 23 Jul 2008, milton ruser wrote:
I hope this helps
my.df<-read.table(stdin(), head=T, sep=" ")
V5 V5.1 V5.2 V5.3 V5.4 V5.5
-5890.18905 -6019.84665 -6211.06545 -6198.9353 -6616.8677 -6498.7183
-5890.18905 -6019.84665 -6211.06
I hope this helps
my.df<-read.table(stdin(), head=T, sep=" ")
V5 V5.1 V5.2 V5.3 V5.4 V5.5
-5890.18905 -6019.84665 -6211.06545 -6198.9353 -6616.8677 -6498.7183
-5890.18905 -6019.84665 -6211.06545 -6198.9353 -6616.8677 -6498.7183
-5890.18905 -6019.84665 -6211.06545 -6198.9353 -6616.8677 -6498.718
Hi
I'm looking for solution or function which I can use to sample data
frame, to obtain new (smaller) data frame similar to sample() function
Jarek Jasiewicz
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do r
4 matches
Mail list logo