search for: pop1

Displaying 20 results from an estimated 28 matches for "pop1".

Did you mean: pop
2006 Feb 18
1
reshaping result of by()
...gram's breaks, the per bin count, and the factors identifying each record. My problem is including the latter: ---<---------------cut here---------------start-------------->--- toydf <- expand.grid(sample(0:50, 50, TRUE), c("A", "B"), c("pop1", "pop2", "pop3", "pop4", "pop5")) "getFreq" <- function(x, bks) { fhist <- hist(x, breaks = bks, plot = FALSE, include.lowest = TRUE) matrix(c(fhist$breaks[-1], fhist$counts), nrow = length(fhist$breaks[-1...
2019 Mar 01
3
pjsip: don't require authentication from remote i register to
I'm being told by my ITSP that my Asterisk shouldn't be challenging their system to authenticate (i.e. a 401 response) when they send me a SIP MESSAGE (or I suppose a SIP INVITE for that matter). But I'm not sure what a pjsip.conf configuration for that looks like. How does one associate an incoming call/message with an existing authenticated outgoing registration so that Asterisk
2012 Oct 23
2
barplot
Hi, I want to make a barplot with the following datasets: I have a file as following: name chr position A1 A2 pop1 pop1 pop2 pop2 I have calculated a measure using all the values in columns "pops", the values are saved in a vector. Now I want to make a barplot using the values in this vector as the y axis and the values in the column "position" in the x-axis. thank you for your help. [[...
2012 Feb 03
0
Nested? Two-way ANOVA with repeated measures
...biological point of view) thing that progeny of each plant (i.e. family) was exposed to both treatments. Taking the artificial example one could easily do it with car-package: library(car) dat <- data.frame(Family = 1:60, # Plant family name Pop = rep(c("Pop1","Pop2","Pop3"), each=20), # Population name Cond1 = rnorm(60, 15, 1), # obtained values at experimental conditions 1 Cond2 = rnorm(60, 20, 1)) # experimental conditions 2 # rearrange data dat...
2012 Jan 04
3
[newbie] stack operations, or functions with side effects (or both)
...solution that wants a stack--or, really, just a pop(...) such that * s <- c(1:5) * print(s) [1] 1 2 3 4 5 * pop(s) [1] 1 * print(s) [1] 2 3 4 5 but in fact I get > pop(s) Error: could not find function "pop" and Rseek'ing finds me nothing. When I try to write pop(...) I get pop1 <- function(vector_arg) { + length(vector_arg) -> lv + vector_arg[1] -> ret + vector_arg <<- vector_arg[2:lv] + ret + } > > pop1(s) [1] 1 > print(s) [1] 1 2 3 4 5 i.e., no side effect on the argument pop2 <- function(vector_arg) { + length(vector_arg) -> l...
2012 Jul 01
1
significant difference between Gompertz hazard parameters?
...to plot the hazard/survival functions and associated density distribution for a Gompertz mortality model, given known parameters. The Gompertz hazard model has been shown to fit relatively well to the human adult lifespan. For example, if I wanted to plot the hazard (i.e., mortality) functions: pop1 <- function (t) { x=c(0.03286343, 0.04271132) a3<-x[1] b3<-x[2] shift<-15 # only considering mortality after 15 years h.t<-a3*exp(b3*(t-shift)) return<-h.t } pop2 <- function (t) { x=c(0.02207778, 0.04580059) a3<-x[1] b3<-x[2] shift<-15...
2010 Jul 24
1
Doubt about a population competition function
...) if(t==0){plot(t, n10, type='b', xlim=range(c(1:t),c (1:t)), ylim=range(n10, n20), xlab='tempo', ylab='tamanho populacional') points(t, n20, type='b', col="red") points(t,n10,type="b", col="black") legend("topleft", c("Pop1","Pop2"), cex=0.8, col=c ("black","red"), pch=21:21, lty=1:1); } if(t>0){ for (i in 1:t){ n1[i==1]<-n1 n2[i==1]<-n2 n1[i+1]<-k1-alfa*n2[i] n2[i+1]<-k2-beta*n1[i] if(n1[i]==0){n1[i:t]==0} if(n2[i]==0){n2[i:t]==0} } plot(c(1:t), n1[1:t], type='...
2005 Jul 07
3
What method I should to use for these data?
Dear R user: I am studying the allele data of two populations. the following is the data: a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 pop1 0.0217 0.0000 0.0109 0.0435 0.0435 0.0000 0.0109 0.0543 0.1739 0.0761 0.1413 0.1522 0.1087 0.0870 0.0435 0.0217 0.0109 pop2 0.0213 0.0213 0.0000 0.0000 0.0000 0.0426 0.1702 0.2128 0.1596 0.1809 0.0957 0.0745 0.0106 0.0106 0.0000 0.0000 0.0000 a1,a2,a3 ...... a17 is...
2010 May 14
2
multhist,labels and percentages
Hi All, I am in the annoying position of having to present some data to someone who seems to be somewhat less than numerate. I need to label the y-axes of a multhist with the y-axis labeled not as counts but as percentage of a population. Plotting the standard histogram is in a way fine, all I need is to: -- have a left-handside y-axis labels for pop 1 and a right-handside y-axis labels for pop2
2010 May 27
1
Over quota
Is there any way to still be able to login/delete email via dovecot-imap when the user's filesystem quota is exceeded? We just moved from courier where this was still possible but now a user over quota can login but cannot get a list of messages and the logs show this: May 27 10:24:45 pop1.gwtc.net dovecot: POP3(cody at howaboutnow.net) [64.251.165.209]: write(/home/co/cody/Maildir/dovecot-uidvalidity) failed: Disk quota exce eded May 27 10:24:45 pop1.gwtc.net dovecot: POP3(cody at howaboutnow.net) [64.251.165.209]: o_stream_send(/home/co/cody/Maildir/dovecot-uidlist.tmp) failed: Dis...
2003 Sep 04
1
Allelic Differentiation, sampling, unique(), duplicated()
...her.] Total alleles = 10 Therefore AD = (2 * n) / 10 = 0.2 What I want to do is compare two populations of 200 organisms each but sampling for only 20 at a time. So there are 200!/((200-20)! * 20!) possible combinations of samples in each population. For all possible combinations of sample pop1 and sample pop2 I want to measure AD ie (200!/((200-20)! * 20!) * 200!/((200-20)! * 20!) ) calculations. As well as the unique allele problem, can someone suggest how I can do the sampling loops? Thanks, Phil. -- Philip Rhoades Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO...
2006 Jul 13
3
Corrupted Indexes - again...
...ile /var/spool/mail/filer/storage//cfu.net/b/r/breu/dovecot.index.cache: invalid record size Jul 13 11:48:40 pop6.cfu.net dovecot: IMAP(breu at cfu.net): Corrupted index cache file /var/spool/mail/filer/storage//cfu.net/b/r/breu/dovecot.index.cache: field header names corrupted Jul 13 12:05:36 pop1.cfu.net dovecot: IMAP(breu at cfu.net): Corrupted index cache file /var/spool/mail/filer/storage//cfu.net/b/r/breu/dovecot.index.cache: invalid record size Jul 13 12:07:45 pop1.cfu.net dovecot: IMAP(breu at cfu.net): Corrupted transaction log file /var/spool/mail/filer/storage//cfu.net/b/r/bre...
2006 Feb 21
2
indexing within panels in xyplot
...lecting the subset of each combination through which the line should be fit for subsequent plotting. This hopefully shows the idea: ---<---------------cut here---------------start-------------->--- toydf <- expand.grid(1:100, c("A", "B"), c("pop1", "pop2", "pop3", "pop4", "pop5")) toydf <- data.frame(facA = toydf[[3]], facB = toydf[[2]], x = toydf[[1]], y = rnorm(1000)) xyplot(y ~ x | facA, groups = facB, data = toydf, panel.groups = function(x, y, subscripts, ...)...
2007 Jul 06
0
svyglm
...ax + q17bx + q17cx + q17dx + q17ex + q17fx + q18x + q19x + heavy + binge + smoksum + q41sum + q46 + exsum + q53 + q55 + q61 + ethnicgrp + pcs_sum + mcs_sum, design = dudleyls1design, family = binomial) Survey design: svydesign(id = ~1, probs = ~prob1, strata = ~strat1, fpc = ~pop1, data = dudleyls1) Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) -0.929963 0.286259 -3.249 0.001170 ** q16xOK 0.433945 0.086506 5.016 5.51e-07 *** q16xBad...
2006 Jan 07
2
Documentation updates in Wiki
I started writing a new front page for wiki.dovecot.org: http://wiki.dovecot.org/NewIndex This is partially based on the comments in Documentation thread starting from here: http://dovecot.org/list/dovecot/2005-July/008076.html "A simple Dovecot installation" section is pretty much finished from my point of view. I hope it's clear enough for anyone wanting to install a working
2012 Apr 22
10
Assignment problems
The text below is a part of, some work I have to do, which is due in 2 days and I am strung up with a lot of other stuff, so I was hoping someone would take 5 mins and help me ?? Here is a part of my data.frame: year country1 country2 contig comlang pop1 gdp1 pop2 gdp2 rta dist avgflow 1 1992 AUS AUT 0 0 17.4950008 321708.281 7.7825189 194684.078 0 15608.4 1.075999e+02 2 1992 AUS BEL 0 0 17.4950008 321708.281 10.0450001 231762.094 0 16319.2 4.767162e+02 3...
2011 Jul 19
1
Dovecot + Vpopmail quota issues
...Archive. Subsequently, Dovecot adds the two of them up and usually throws me over quota. To test, I have emptied the maildirsize file under Archive and changed its owner to root (perms are 755 ) so that nobody but root can write to it. Dovecot complained right away about it: Jul 19 12:55:21 pop1 dovecot: IMAP(user at domain.com): open(/home/vpopmail/domains/B/domain.com/user/Maildir/Archive/maildirsize) failed: Permission denied Despite passing the quota responsibility to vpopmail it seems that Dovecot still tries to update that file. And finally the question... How do I get doveco...
2009 Jul 13
3
read.delim skips first column (why?)
Hi people, I have a text file like this one posted: snp_id gene chromosome distance_from_gene_center position pop1 pop2 pop3 pop4 pop5 pop6 pop7 rs2129081 RAPT2 3 -129993 "upstream" 0.439009 1.169210 NA 0.233020 0.093042 NA -0.902596 rs1202698 RAPT2 3 -128695 "upstream" NA 1.815000 NA 0.399079...
2003 Feb 24
2
69.x.x.x network in rfc1918
...(209.244.17.85) 3.450 ms 11 so-7-0-0.mp2.NewYork1.Level3.net (64.159.1.185) 3.650 ms 3.511 ms 3.461 ms 12 so-3-0-0.mp1.Dallas1.Level3.net (64.159.1.109) 43.101 ms 43.193 ms 43.070 ms 13 gigabitethernet8-1.hsipaccess1.Dallas1.Level3.net (64.159.3.41) 42.432 ms 42.468 ms 42.399 ms 14 pop1-dal-P0-3.atdn.net (66.185.141.49) 44.038 ms 43.801 ms 43.575 ms 15 bb1-dal-P0-0.atdn.net (66.185.146.144) 44.262 ms 43.778 ms 43.730 ms 16 bb1-hou-P6-0.atdn.net (66.185.152.133) 48.333 ms 48.300 ms 48.188 ms 17 pop2-hou-P1-0.atdn.net (66.185.146.113) 48.127 ms 48.091 ms 48.131 ms 18...
2009 Jan 25
1
Multiple lattice plots on a page: aligning x-axes vertically
...# Plot both plots on a single page print(plot.subject.means, position = c(0,0,1,0.35)) print(plot.density, position = c(0.0988,0.22,0.98,1), newpage = FALSE) } example.data <- data.frame(subject_ID = c('A01','B01','A02','B02'), subject_group = c('pop1','pop2'), task= c(rep('task1',32),rep('task2',32)),dependent_measure=rnorm(64)) plotdensitymeans(example.data, measure=c('dependent_measure'), xlab="dependent measure (units)", xlim=c(-3,3)) ##END Example --- Daniel Myall PhD Student Departm...