similar to: Subsampling data

Displaying 14 results from an estimated 14 matches similar to: "Subsampling data"

2012 May 04
0
Converting code from gee() to geeglm()
Dear R users Recently I received advice from this fine group on gee() and sample weights One suggestion was to use geeglm() I hope someone can help me to solve a problem that arises when converting a code from gee to geeglm. *Here is a code that I wrote with the original data, not weighted: * > m1 <- gee( Bin ~ educ+agemean+ residencysize + yearx , id = rad09 , data = Males,
2007 Mar 27
1
impose points on lattice plot
R-help, I'm using the lattice package to plot 2 variables (vekt ~ aldur) conditioned to a third (kyn * 2 categories). I use the following: xyplot(vekt ~ aldur|kyn, , data = sexSu) I want to superimpose the average(vekt) by 'aldur' conditioned to kyn by using something like: xyplot(vekt~aldur|kyn, subset = aldur <= 12 , data = sexSu, panel = function(x, y) {
2013 Jan 16
1
Reviewing end-user ham/spam submissions before feeding them to sa-learn via Dovecot Antispam plug-in
Currently, I'm using the Dovecot Antispam plug-in with great success. Everything works as expected. However, I would like to change the plug-in's behavior such that it simply sends a copy of a message that is moved from Inbox -> Junk (or Junk -> Inbox) to an administrator, instead of calling sa-learn (I'm using SpamAssassin) automatically. Basically, I would like to be able to
2010 Nov 09
1
subsampling table
G'day R-helpers, I want to subsample rows of a large table based on the value in its first column. Of all rows sharing the same value in the first column I want to RANDOMLY extract only one. Thanks in advance, Achim example input 1 15 34 1 4 66 1 24 65 2 23 47 2 9 36 3 58 9 3 38 64 3 12 64 3 4 15 4 1 88 4 23 90 desired output 1 4 66 2 23 47 3 12 64 4 1 88
2011 May 21
2
unbalanced anova with subsampling (Type III SS)
Hello R-users, I am trying to obtain Type III SS for an ANOVA with subsampling. My design is slightly unbalanced with either 3 or 4 subsamples per replicate. The basic aov model would be: fit <- aov(y~x+Error(subsample)) But this gives Type I SS and not Type III. But, using the drop() option: drop1(fit, test="F") I get an error message: "Error in
2004 Oct 19
1
Environment variable question
Hi, I'm trying to run a command as follows: rsync -Lcav temp.txt datauser@mach1:\$DATESPATH/dat The above returns the following err: "mkstemp /dat/.temp.txt.oYaO9U failed: No such file or directory" $DATESPATH is a variable defined in 'datauser's profile, but it looks like the variable is not recognized in the context of this command. I have used something similar
2011 Nov 01
1
Subsampling-oversampling from a data frame
If no one has a better solution, split it, take a sample of size X from both and put it back together. hgwelec wrote: > > Dear members, > > Consider the following data frame (first 4 rows shown) > > > age sex class > 15 m low > 20 f high > 15 f low > 10 m low > > in my original data set i have 1200 rows and a class distribution
2003 Feb 12
1
Na/NaN error in subsampling script
R-help readers, I''m having a problem with an R script (see below), which regularly generates the error message, Error in start:(start + (sample.length - 1)) : NA/NaN argument , for which I am unsure of the cause. In essence, the script (below) generates the start and end points for random subsamples from along a vector (in reality a transect (of a given length,
2005 Jan 14
5
subsampling
hi, I would like to subsample the array c(1:200) at random into ten subsamples v1,v2,...,v10. I tried with to go progressively like this: > x<-c(1:200) > v1<-sample(x,20) > y<-x[-v1] > v2<-sample(y,20) and then I want to do: >x<-y[-v2] Error: subscript out of bounds.
2011 Feb 06
2
Subsampling out of site*abundance matrix
Hello, How can I randomly sample individuals within a sites from a site (row) X species abundance (column) data frame or matrix? As an example, the matrix "abund2" made below. ##### (sorry, Im a newbie and this is the only way I know to get an example on here) abund1 <- c(150, 300, 0, 360, 150, 300, 0, 240, 150, 0, 60, 0, 150, 0, 540, 0, 0, 300, 0, 240, 300, 300,
2009 May 18
2
Split data frame based on Class
Each row of my data frame is assigned to a class (eg country). Can you suggest how I break apart the data frame so that I create new data frames for each class eg If Class = "US" put in new dataframe dataUS Thanks in advance for your help Chris
2008 Mar 04
2
Asterisk and Avaya...
I just connected an Asterisk server to an Avaya Pbx using the instructions at: http://www.voip-info.org/wiki/index.php?page=Asterisk +Avaya Everything seems to be working as I can send and receive calls. The only detail I am having a problem with is that when an extension on the Avaya calls an Asterisk extension, I only get the name part of the CID, not the number. From Asterisk to the Avaya
2009 Dec 09
3
SASL plain authentication failed; unable to lookup user record
i'll guess the solution to my problem will be something simple and obvious, because i know i ain't the first person to do this and it ain't all that complicated, but i've been staring at it for days and can't see what's wrong. new installation; os x snow leopard server; postfix 2.5.5; dovecot 1.1.17apple0.5 i'm trying to get SMTP auth working via SASL. using a
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
Already outdated, but rounded ;) I literally just opened the 5yrs logo, changed the text and then done: inkscape -z -o logo/fish-10yrs.{png,svg} cp {logo,website}/fish-10yrs.svg and then updated the rest of the files. Signed-off-by: Martin Kletzander <mkletzan@redhat.com> --- Makefile.am | 2 + logo/fish-10yrs.png | Bin 0 -> 65790 bytes logo/fish-10yrs.svg |