Displaying 4 results from an estimated 4 matches for "newsampl".
Did you mean:
newsample
2012 Feb 14
1
method using several (and different) arguments in turn
Dear R-developers community, I have the following generic:
setGeneric(
name="newsample",
def=function(x,y,z,a,b,c,...){standardGeneric("newsample")}
And I can build several methods for this generic. One useful thing is to use "newsample"
with only one of the 6 arguments listed. At the moment this is what I do:
setMethod(...
2010 Oct 05
2
Sampling from data set
Dear all.
I have data with 2 variable x,y size 10000.
I want to sampling from this data with size 100.
How I can do it.
THANK.
--
Jumlong Vongprasert
Institute of Research and Development
Ubon Ratchathani Rajabhat University
Ubon Ratchathani
THAILAND
34000
[[alternative HTML version deleted]]
2011 Aug 18
4
splitting sample names
I have a data frame like this
xx<-data.frame(cbind(Sample=c('Ctrl_6h','1+0_6h','1+200_6h','1+5k_6h','Ctrl_5K_6h','ConA_6h'),
IFIT1=c(24,25,24.7,24.5,24.2,24.8)))
grep('[[:digit:]]h',xx$Sample)
yy<-xx$Sample
strsplit(yy,"_")
I have to extract the time information separated by '_' in the sample
2005 Jan 20
2
Creating a custom connection to read from multiple files
Hello,
is it possible to create my own connection which I could use with
read.table or scan ? I would like to create a connection that would read
from multiple files in sequence (like if they were concatenated),
possibly with an option to skip first n lines of each file. I would like
to avoid using platform specific scripts for that... (currently I invoke
"/bin/cat" from R to create a