search for: sample

Displaying 20 results from an estimated 23697 matches for "sample".

2012 Jan 30
3
Venn Diagram help!!!!
Hi there ! I've got 7 Samples that may contain 29 differents kinds of material.... every line below corresponds to a differente kind of material, example: Sample 1, 2,3,5 and 6 has material 1 .... So I want to know how can I do a Venn Diagram with the data below .... ps ( it was generated by a csv, where every line is sep with...
2017 Aug 05
2
Nested for loop
Hi! Thanks for taking the time to read this. The code below creates a graph that takes 100 samples that are between 5% and 15% of the population (400). What I'd like to do, however, is add two other sections to the graph. It would look something like this: from 1-100 samples take 100 samples that are between 5% and 15% of the population (400). From 101-200 take 100 samples that are betwee...
2006 Apr 10
7
te110p and interrupts
Guys. I have an issue with a te110p card and also some tdm04b cards on the same system: Zttest returns this for the tdm04b cards: [root@mollendo ~]# /usr/src/zaptel-1.2.4/zttest 38 -v Opened pseudo zap interface, measuring accuracy... 8192 samples in 8191 sample intervals 99.987793% 8192 samples in 8192 sample intervals 100.000000% 8192 samples in 8192 sample intervals 100.000000% 8192 samples in 8223 sample intervals 99.621582% 8192 samples in 8192 sample intervals 100.000000% 8192 samples in 8191 sample intervals 99.987793% 8192 samples i...
2004 Aug 25
1
brlr function
...im.cv.cox.yhat1) ~ sim.dat.tst[27, ] + sim.dat.tst[35, ] + sim.dat.tst[17, ] + sim.dat.tst[41, ] + sim.dat.tst[38, ] + sim.dat.tst[31, ] + sim.dat.tst[3, ] + sim.dat.tst[32, ] + sim.dat.tst[16, ] + sim.dat.tst[48, ] + sim.dat.tst[13, ] + sim.dat.tst[28, ] > sim.dat.tst[27,] Sample 1 Sample 2 Sample 3 Sample 4 Sample 5 Sample 6 Sample 7 Sample 8 Sample 9 Sample 10 Sample 11 Sample 12 Sample 13 Sample 14 Sample 15 5.79 6.72 6.11 5.58 6.32 6.50 6.45 5.77 7.46 6.32 5.64 5.77 5.44 5.83 5.57 Sample...
2017 Aug 06
0
Nested for loop
Hi Kirsten, I can run your example code but I can't quite follow your division of sampling. Can you restate the the task? Below is what I think you are asking for, but I have the feeling I may be off the mark. Set A: 400 samples, draw 100 in range of 5 to 15 Set B: 800 samples, draw 100 in range of 5 to 15 Set C: 300 samples, draw 100 in range of 5 to 15 Ben > On Aug 5, 2017, at 9:21 AM, Kirsten Morehouse <kmoreho1 at swarthmore.edu> wrote: > > Hi! Thanks for taking the time to read this. > > Th...
2017 Aug 06
1
Nested for loop
Hi Ben, That's exactly right! Except for each set it's the sample population that is 400, 800 or 300. I want to take 3 samples, each of 100, where only the population differs. I can do this separately, but I'm having trouble putting them all on the same graph. I'd like to have sample on the x axis (1-300) and estimate on the y axis. I want to show how po...
2008 May 15
3
Warcraft 3 Problem. sortof.
...Interface No interface for {56a868b4-0ad4-11ce-b03a-0020af0ba770}! > fixme:quartz:AsyncReader_QueryInterface No interface for {56a868b5-0ad4-11ce-b03a-0020af0ba770}! > fixme:quartz:Parser_QueryInterface No interface for {56a868b5-0ad4-11ce-b03a-0020af0ba770}! > err:quartz:ACMWrapper_ProcessSampleData Error sending sample (80040227) > err:quartz:AVISplitter_Sample Error sending sample (80040227) > err:quartz:ACMWrapper_ProcessSampleData Error sending sample (80040227) > err:quartz:AVISplitter_Sample Error sending sample (80040227) > err:quartz:ACMWrapper_ProcessSampleData Error s...
2017 Aug 08
1
Nested for loop
Hi Caitlin and Ben, Thanks for your responses! My issue is that I'd like to create one continuous line, rather than 3 lines overlayed. The code I've attached works for a population of 400 and samples 100 times. I'd like to extend this to 300 samples and 3 populations. So, the x-axis would range from 0-300 samples. What I'm having trouble with is finding a way to change the population mid-way through the function. I want samples 1-100 to be taken from a population of 400, samples 101-2...
2010 Jan 21
2
Create a multi dimensional array from a data frame
Hello all, I have data from a csv that i need to coerce into a multi dimensional array. As you can see from my sample code i have yet to master building efficient code. I can sort of do what i want but its very cumbersome code and i know there is a better way to do it, i am just not expereinced enought yet. So for the following: #Create Data h1i1a1<-sample(1:20, 5, replace=TRUE) h1i1a2<-sample(1:20, 5, re...
2012 May 16
2
Help needed for efficient way to loop through rows and columns
Dear R-helpers: I am trying to write a script that iterates through a dataframe that looks like this: Example dataset called "sample": names <- c("S1", "S2", "S3", "S4") X <- c("BB", "AB", "AB", "AA") Y <- c("BB", "BB", "AB", "AA") Z <- c("BB", "BB", "AB", NA) Aor...
2017 Aug 19
2
bootstrap subject resampling: resampled subject codes surface as list/vector indices
I'm implementing a custom bootstrap resampling procedure in R. This procedure resamples clusters of data points obtained by different subjects in an experiment. Since the bootstrap samples need to have the same size as the original dataset, `target.set.size`, I select speakers compute their data point contributions to make sure I have a set of the right size. set.seed(1)...
2006 Feb 14
3
S4 classes and methods with optional arguments
Hi, i have used S4 classes to implement a unified access to random number generators (package rstream on CRAN). I have used a construct to allow optional arguments: if(!isGeneric("rstream.sample")) setGeneric("rstream.sample", function(stream,...) standardGeneric("rstream.sample")) setMethod("rstream.sample", c("rstream","numeric"), function(stream,n=1) { ... [ code ] ... } ) Thus if rs is an instance of an rstream...
2010 Nov 03
3
Using sample() to sample one value from a single value?
Hi, consider this one as an FYI, or a seed for further discussion. I am aware that many traps on sample() have been reported over the years. I know that these are also documents in help("sample"). Still I got bitten by this while writing sample(units, size=length(units)); where 'units' is an index (positive integer) vector. It works in all cases as expected (=I expect) expect f...
2007 Sep 27
2
create data frame(s) from a list with different numbers of rows
...t numbers of rows. # I would like to change each of them into a unique data frame in order to match # values with other data frames and perform some calculations. # Or I could make each category or list element have the same number of rows and create one large data.frame. # below is a creation of a sample list # I apologize for the length in creating the list it is the only way i could figure # out how to convey my puzzle. If you scroll down you will find it as " list.sample." Loci<-4 Pairwise<- (Loci*(Loci-1))/2 #Creation of list elements c1<- c(1,4,3,2,4,1,3,2,4,3) c2<- c...
2006 Mar 23
3
Sampling in R
Hi all! I was wondering if you can help me with a little sampling issue I'm having in R. I have a database with 100 observations. I need to sample n=9 sample size, 200 times (i.e. get 200 samples of size 9). N (pop. size) =100 Each sample can't contain the same observation more than one time (i.e. the program needs to check if the obs. has already been sampled into the sample - it it has, it should put it back and sample again an...
2006 Feb 22
1
FC4 and yum install; how to configure questions
I installed FC4, ran command, # yum install asterisk. A bunch of stuff happened, but can't locate .conf files. I have a list of files: /usr/share/doc/asterisk-1.2.4/configs/features.conf.sample /usr/share/doc/asterisk-1.2.4/configs/rtp.conf.sample /usr/share/doc/asterisk-1.2.4/configs/extensions.conf.sample /usr/share/doc/asterisk-1.2.4/configs/logger.conf.sample /usr/share/doc/asterisk-1.2.4/configs/iax.conf.sample /usr/share/doc/asterisk-1.2.4/configs/cdr_custom.conf.sample /usr/share/d...
2017 Aug 19
0
bootstrap subject resampling: resampled subject codes surface as list/vector indices
...g and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sat, Aug 19, 2017 at 7:39 AM, Aleksander G??wka <aglowka at stanford.edu> wrote: > I'm implementing a custom bootstrap resampling procedure in R. This > procedure resamples clusters of data points obtained by different subjects > in an experiment. Since the bootstrap samples need to have the same size as > the original dataset, `target.set.size`, I select speakers compute their > data point contributions to make sure I have a set of the right size. > >...
2003 Feb 25
1
sample (PR#2546)
There is rumour that some of my mail didn't go where it should have because I don't know how to work email. It was suggested that I summarize here. The issue is with sample when the first argument is length 1. Current behaviour is: > sample('a', 1) Error in sample(x, size, replace, prob) : invalid first argument > sample(3+0i, 1) Error in x >= 1 : illegal comparison with complex values > sample(TRUE, 1) [1] 1 > sample(FALSE, 1) [1] FALSE...
2010 Jul 22
2
using "sample()" for a vector of length 1
Hi All, I'm trying to use the "sample" function within a loop where the vector being sampled from (the first argument in the function) will vary in length and composition. When the vector is down in size to containing only one element, I run into the "undesired behaviour" acknowledged in the ?sample help file. I don...
2012 May 17
2
Complex sort problem
Dear List, Is there a way I can sort a sample based on a sort index constructed from the data from which the sample is taken? Basically, I need to take 'many' samples from the same source data and sort them. This can be very time consuming for long vectors. Is there any way I can sort the data only once initially, and use that sort ord...