search for: 15,12

Displaying 20 results from an estimated 61 matches for "15,12".

Did you mean: 1,12
2006 Jun 18
1
Post Stratification
...with you and learning from you. Thank you. I am trying to work through an artificial example in post stratification. This is my dataset: library(survey) age <- data.frame(id=1:8, stratum=rep( c("S1","S2"),c(5,3)), weight=rep(c(3,4),c(5,3)), nh=rep(c(5,3),c(5,3)), Nh=rep(c(15,12),c(5,3)), y=c(23,25,27,21,22, 77,72,74) ) pop.types <- table(stratum=age$stratum) age.post <- svydesign(ids=~1, strata=NULL, data=age, fpc=~Nh) ## no clusters, no strata post <- postStratify(design=age.post, strata=~stratum, population=pop.types) svymean (~y, post) svytotal (~y, po...
2005 Apr 15
2
Logwatch
...ion in the messages file, but it is easy to tweak. The patch below will give you some statistics regarding POP3 and IMAP usage. I believe I grabbed all of the differences in the unified diff below. If I missed anything, please post. :) -Rich --- /etc/log.d/conf/services/imapd.conf 2005-04-15 14:24:52.000000000 -0400 +++ /etc/log.d/conf/services/imapd.conf 2005-04-15 14:51:52.073609243 -0400 @@ -20,7 +20,7 @@ # Only give lines pertaining to courier... # I'm not sure if this is complete, especially for the new webmail daemon in 0.44.1 #but you will get at least all currently supp...
2008 Jun 24
2
L-BFGS-B needs finite values of 'fn'
Hi, When I run the following code, r <- c(3,4,4,3,5,4,5,9,8,11,12,13) n <- rep(15,12) x <- c(0, 1.1, 1.3, 2.0, 2.2, 2.8, 3.7, 3.9, 4.4, 4.8, 5.9, 6.8) x <- log10(x) fr <- function(c, alpha, beta) { P <- c + (1-c) * pnorm(alpha + beta * x) P <- pmax(pmin(P,1),0) -(sum(log(choose(n,r))) + sum(r * log(P)) + sum((n -r)* log(1-P))) } fit <- mle((fr), start =...
2014 Apr 15
0
[klibc:master] x86-64: disable the use of SSE
Commit-ID: 6eb77ce795189d39fc0f7bc12eb8d7be11e46718 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=6eb77ce795189d39fc0f7bc12eb8d7be11e46718 Author: H. Peter Anvin <hpa at linux.intel.com> AuthorDate: Tue, 15 Apr 2014 13:29:30 -0700 Committer: H. Peter Anvin <hpa at linux.intel.com> CommitDate: Tue, 15 Apr 2014 13:29:30 -0700 [klibc] x86-64: disable the use of SSE Disable the use of SSE registers. This reduces the size of the code because it means the varadic functions don't need to marsha...
2009 Dec 11
1
lattice - 2 graphs per panel with 2 differents colours
...r panel. The script below is quite ok but I'm not able to define two different colors for the two graphs. If you have an idea how to use the "col" function in order to attribute the colors, it will be very kind of you to share it with a newbie. Have a nice week-end, Ptit Bleu. x11(15,12) xyplot(df$y1 + df$y1/df$coeff ~ df$x | df$fact, panel = function(x, y) { panel.grid(h=-1, v=-1, col="gray") panel.xyplot(x, y, type="p", pch=20) panel.points(500, ymax[panel.number()], col="red", pch=20, cex=1.6)...
2010 Nov 08
1
Add values of rlm coefficients to xyplot
...a and b coefficients (y=ax+b) of the rlm calculation in each panel. I know I can do it 'outside' the xyplot command but I would like to do all at the same time. I found some posts with the same question, but no answer. Is it impossible ? Thanks in advance for your help. Ptit Bleu. x11(15,12) xyplot(df1$col2 ~ df1$col3 | df1$Name, panel = function(x, y,...) { panel.abline(h=seq(20,40,5), col="gray") panel.abline(v=seq(-10,60,5), col="gray") panel.xyplot(x, y, type="p", col="red", pch=20,...)...
2009 Nov 19
5
Fix various build dependency problems
Patch 1/5 is a repost. Only change is title update. These fix parallel make on my machine, and additionally make building from subdirectories more correct.
2019 Apr 25
1
[nbdkit PATCH] noextents: Document use case with tmpfs
...(1)>. +L<nbdkit-nozero-filter(1)>, +L<nbdkit-file-plugin(1)>. =head1 AUTHORS diff --git a/plugins/file/nbdkit-file-plugin.pod b/plugins/file/nbdkit-file-plugin.pod index d34a638..9241418 100644 --- a/plugins/file/nbdkit-file-plugin.pod +++ b/plugins/file/nbdkit-file-plugin.pod @@ -15,6 +15,12 @@ It serves the named C<FILENAME> over NBD. Local block devices To concatenate multiple files, use L<nbdkit-split-plugin(1)>. +If you want to expose a file that resides on a file system known to +have poor C<lseek(2)> performance when searching for holes (C<tmpfs&...
2009 Nov 18
1
[PATCH] Fix dependencies on generator.ml
...n stamp-generator, and therefore generator.ml, despite not being directly created by it. This caused them to be recreated every time generator.ml ran rather than only when src/guestfs_protocol.x was updated, which cascaded into a daemon and therefore appliance update. --- Makefile.am | 15 +++++++++++++-- capitests/Makefile.am | 12 ++++++++++-- daemon/Makefile.am | 26 +++++++++++++++++++++----- fish/Makefile.am | 24 ++++++++++++++++-------- haskell/Makefile.am | 15 ++++++++++++++- java/Makefile.am | 8 ++++++++ ocaml/Makefile.am | 16 +++++++++++++...
2016 Jan 28
0
[PATCH v5 1/5] x86: add cc clobber for addl
...redhat.com> --- arch/x86/include/asm/barrier.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/x86/include/asm/barrier.h b/arch/x86/include/asm/barrier.h index a584e1c..a65bdb1 100644 --- a/arch/x86/include/asm/barrier.h +++ b/arch/x86/include/asm/barrier.h @@ -15,9 +15,12 @@ * Some non-Intel clones support out of order store. wmb() ceases to be a * nop for these. */ -#define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2) -#define rmb() alternative("lock; addl $0,0(%%esp)", "lfence", X86_F...
2007 Apr 18
0
[PATCH 14/14] i386 / Introduce hypervisor lazy pinning hooks
...8-10 17:06:52.000000000 -0700 +++ linux-2.6.13/include/asm-i386/mmu_context.h 2005-08-10 17:11:40.000000000 -0700 @@ -6,6 +6,7 @@ #include <asm/atomic.h> #include <asm/pgalloc.h> #include <asm/tlbflush.h> +#include <mach_mmu.h> /* * Used for LDT copy/destruction. @@ -15,12 +16,14 @@ struct mm_struct * old_mm; int retval = 0; + memset(&mm->context, 0, sizeof(mm->context)); init_MUTEX(&mm->context.sem); - mm->context.size = 0; old_mm = current->mm; if (old_mm && unlikely(old_mm->context.size > 0)) { retval = copy_l...
2008 Dec 10
1
xyplot sorted by date
...date of the data (format : %Y-%m-%d %H:%M:%S") With the lattice package, I would like to plot C1 as function of C2 sorted by the dates, that is something like : xyplot(C1 ~ C2 | as.Date(C3)) It plots somethings but not the truth. I have compared the output with the output of this script x11(15,12) layout(matrix(1:4,2,2) plot(C1[C3=='2008-12-06'] ~ C2[C3=='2008-12-06']) plot(C1[C3=='2008-12-07'] ~ C2[C3=='2008-12-07']) plot(C1[C3=='2008-12-08'] ~ C2[C3=='2008-12-08']) plot(C1[C3=='2008-12-09'] ~ C2[C3=='2008-12-09']) which g...
2007 Apr 18
0
[PATCH 14/14] i386 / Introduce hypervisor lazy pinning hooks
...8-10 17:06:52.000000000 -0700 +++ linux-2.6.13/include/asm-i386/mmu_context.h 2005-08-10 17:11:40.000000000 -0700 @@ -6,6 +6,7 @@ #include <asm/atomic.h> #include <asm/pgalloc.h> #include <asm/tlbflush.h> +#include <mach_mmu.h> /* * Used for LDT copy/destruction. @@ -15,12 +16,14 @@ struct mm_struct * old_mm; int retval = 0; + memset(&mm->context, 0, sizeof(mm->context)); init_MUTEX(&mm->context.sem); - mm->context.size = 0; old_mm = current->mm; if (old_mm && unlikely(old_mm->context.size > 0)) { retval = copy_l...
2006 Aug 24
0
[patch] mkdir use and add usage
...cli switches, point out the expected usage. patches adds usage function and calls to it. Signed-off-by: maximilian attems <maks at sternwelten.at> diff --git a/usr/utils/mkdir.c b/usr/utils/mkdir.c index 1275472..af241ef 100644 --- a/usr/utils/mkdir.c +++ b/usr/utils/mkdir.c @@ -15,6 +15,12 @@ static int p_flag; char *progname; +static __noreturn usage(void) +{ + fprintf(stderr, "Usage: %s [-p] [-m mode] dir...\n", progname); + exit(1); +} + static int make_one_dir(char *dir, mode_t mode) { struct stat stbuf; @@ -131,14 +137,12 @@ int main(int argc, char *a...
2018 Apr 25
7
[PATCH v4] fault-injection: introduce kvmalloc fallback options
...ka at redhat.com> > > --- > Documentation/fault-injection/fault-injection.txt | 7 +++++ > include/linux/fault-inject.h | 9 +++--- > kernel/futex.c | 2 - > lib/Kconfig.debug | 15 +++++++++++ > mm/failslab.c | 2 - > mm/page_alloc.c | 2 - > mm/util.c | 30 ++++++++++++++++++++++ > 7 files changed, 60 insertions(+), 7 deletions(-) > > Inde...
2018 Apr 25
7
[PATCH v4] fault-injection: introduce kvmalloc fallback options
...ka at redhat.com> > > --- > Documentation/fault-injection/fault-injection.txt | 7 +++++ > include/linux/fault-inject.h | 9 +++--- > kernel/futex.c | 2 - > lib/Kconfig.debug | 15 +++++++++++ > mm/failslab.c | 2 - > mm/page_alloc.c | 2 - > mm/util.c | 30 ++++++++++++++++++++++ > 7 files changed, 60 insertions(+), 7 deletions(-) > > Inde...
2006 Jul 13
0
[vorbis-tools] Some patches coming from Debian bugs
...g.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> Index: vorbiscomment/vcomment.c =================================================================== --- vorbiscomment/vcomment.c (revision 11702) +++ vorbiscomment/vcomment.c (working copy) @@ -8,16 +8,15 @@ * Of limited usability on its own, but could be useful. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdio.h> #include <string.h> #include <stdlib.h> #include <locale.h> -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif -...
2006 Jul 13
0
[vorbis-tools] Some patches coming from Debian bugs
...g.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> Index: vorbiscomment/vcomment.c =================================================================== --- vorbiscomment/vcomment.c (revision 11702) +++ vorbiscomment/vcomment.c (working copy) @@ -8,16 +8,15 @@ * Of limited usability on its own, but could be useful. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdio.h> #include <string.h> #include <stdlib.h> #include <locale.h> -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif -...
2010 Jul 16
0
Mixed Conditional Logit with nested data
...0 1,9,B,0,0,0,1,0,1,0,0,1,0 1,10,A,1,1,0,0,1,0,0,0,1,0 1,10,B,0,0,0,1,0,0,1,1,0,0 1,11,A,1,0,1,0,0,1,0,1,0,0 1,11,B,0,0,0,1,1,0,0,0,0,1 1,12,A,1,1,0,0,0,1,0,1,0,0 1,12,B,0,0,1,0,0,0,1,0,1,0 1,13,A,0,0,0,1,0,0,1,0,1,0 1,13,B,1,1,0,0,0,1,0,0,0,1 1,14,A,0,0,0,1,0,0,1,0,0,1 1,14,B,1,0,1,0,1,0,0,1,0,0 1,15,A,1,1,0,0,1,0,0,0,1,0 1,15,B,0,0,0,1,0,1,0,0,0,1 1,16,A,1,1,0,0,0,0,1,1,0,0 1,16,B,0,0,1,0,0,1,0,0,1,0 1,17,A,1,0,1,0,1,0,0,0,1,0 1,17,B,0,0,0,1,0,0,1,1,0,0 1,18,A,1,1,0,0,1,0,0,1,0,0 1,18,B,0,0,0,1,0,0,1,0,0,1 1,19,A,1,1,0,0,1,0,0,0,0,1 1,19,B,0,0,0,1,0,1,0,0,1,0 1,20,A,0,0,0,1,0,0,1,0,0,1 1,20,B,...
2009 Jul 23
3
Calculate weighted mean for each group
Hi R experts, I need know how calculate a weighted mean by group in a data frame. I have tried with aggragate() function: data.frame(x=c(15,12,3,10,10),g=c(1,1,1,2,2,3,3),w=c(2,3,1,5,5,2,5)) -> d aggregate(d$x,by=list(d$g),weighted.mean,w=d$w) Generating the following error: Error en FUN(X[[1L]], ...) : 'x' and 'w' must have the same length Thanks in advance [[alternative HTML version deleted]]