search for: 15,3

Displaying 20 results from an estimated 57 matches for "15,3".

2009 Mar 20
2
plotting two variables with a third used for color
I have a problem where I have two columns of data that I can simply plot using: plot(wV[0:15,3],wY[0:15,3]). This produces my desired plot. Now, say I have a third variable that I would like to introduce and use that variable to set different colors in the plot In this case, say I wanted values greater than 0 to be "blue" and values less than 0 to be "red" Basical...
2009 Oct 26
2
exclude data for boxplot stats using mathematical operator
Readers, I have a data set as follows: 1,1 2,2 3,3 4,4 5,3 6,2 7,-10 8,-9 9,-3 10,2 11,3 12,4 13,5 14,4 15,3 16,2 17,1 I entered this data set using the command 'read.csv'. I want to exclude values fewer than zero in column 2 so then I tried the following command: boxplot.stats(x[>0,2],do.conf=FALSE) Error: syntax error, unexpected GT, expecting ',' in "boxplot.stats(x[>&quo...
2005 Jun 17
1
ccf
Hello group, For my research I should calculate the cross-correlation between two time series. I don't know if the function ccf can calculate this with series that have NA values. e.g. temperature: 15.5 NA 12.3 10.0 NA 14.2 15,3 .... Can you help me? Thank you very much! Laura
2008 Aug 27
0
How to calculate cumulative values for a simple Bernoulli's distribution?
Hi there, I have two questions and believe that there is an extremely easy solution. Being a beginner with R makes thinks a bit more complicated. This is the code: rpois(15,3) n<-15 DATA<-cbind(D,rpois(15,3)) data<-as.data.frame(DATA) colnames(data)<-c("D","X") *# 1. question: is it possible to put the following creation of x in a nicer form?* x<-c(sum(D>0),sum(D>0),sum(D>0),sum(D>0),sum(D>0),sum(D>0),sum(D>0...
2003 Dec 02
1
lme: reproducing example
Dear R-community! I still have the problem reproducing the following example using lme. id<-factor(rep(rep(1:5,rep(3,5)),3)) factA <- factor(rep(c("a1","a2","a3"),rep(15,3))) factB <- factor(rep(c("B1","B2","B3"),15)) Y<-numeric(length=45) Y[ 1: 9]<-c(56,52,48,57,54,46,55,51,51) Y[10:18]<-c(58,51,50,54,53,46,54,50,49) Y[19:27]<-c(53,49,48,56,48,52,52,52,50) Y[28:36]<-c(55,51,46,57,49,50,55,51,47) Y[37:45]<-c(56,48,...
2013 Apr 03
1
linear model coefficients by year and industry, fitted values, residuals, panel data
...ar1<-rep(2000:2004,10) industry1<-rep(20,50) X<-rnorm(50) Y<-rnorm(50) Z<-rnorm(50) data1<-data.frame(firm1,year1,industry1,X,Y,Z) data1 colnames(data1)<-c("firm","year","industry","X","Y","Z") firm2<-sort(rep(11:15,3),decreasing=F) year2<-rep(2001:2003,5) industry2<-rep(30,15) X<-rnorm(15) Y<-rnorm(15) Z<-rnorm(15) data2<-data.frame(firm2,year2,industry2,X,Y,Z) data2 colnames(data2)<-c("firm","year","industry","X","Y","Z") firm3...
2011 Oct 19
1
Square ended segments
...tilizing as.POSIXct to store the time. I wanted to make a quasi time line using these time. I utilized the segments function to represent these times. However the segments rounds off at the ends and does not have the crisp look I need for my purposes. I then used a "squared" point(pch=15)at the beginning and end of each of these segments to make it square. It looks like I want it to now but the point is centered over the ends of the segments meaning the segments get extended a bit in each direction. This distorts a segment that is only a few seconds long. How can I make nice squ...
2008 Jan 21
1
hexadecimal to binary conversion
Se ha borrado un texto insertado con un juego de caracteres sin especificar... Nombre: no disponible Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080121/7b562f32/attachment.pl
2004 Apr 08
0
IAX2 Trunk to PSTN (voicepulse) questions...
...lse] context=voicepulse-incoming dtmfmode=rfc2833 secret=mysecret auth=md5 type=user host=gw5.voicepulse.com [voicepulse-peer] qualify=yes trunk=yes dtmfmode=rfc2833 secret=mysecret auth=md5 type=peer host=gw5.voicepulse.com My extensions.conf has: TRUNK=IAX2/mylogin@voicepulse-peer exten => 15,1,Playback(transfer) exten => 15,2,Dial(IAX2/ckm,20,rt) exten => 15,3,VoiceMail(u${EXTEN}) exten => 15,4,Hangup exten => 15,103,Dial(${TRUNK}/14155551212,30,t) exten => 15,104,VoiceMail(u${EXTEN}) exten => 15,105,Hangup Any ideas, bug? Thx. Chris.
2010 Oct 19
0
R script help needed for RFC 2104 HMAC algorithm
...ffer advice. The RFC website does offer C code to execute the HMAC algorithm but I am not a C expert. ################ HMAC Code ############# library(digest) ########## hex to binary hexdat <- replicate(10, paste(format.hexmode(sample(16,4)-1),collapse='')) bin <- apply(outer(0:15,3:0,function(x,y) x%/%(2^y)%%2),1,paste,collapse="") names(bin) <- format.hexmode( 0:15 ) ## test ## cbind( hexdat, sapply( strsplit(hexdat,'') , function(x) paste( bin[x], collapse='' ) ) ) ########## binary to hex hex <- names(bin) names(hex) <- bin #####...
2011 Mar 31
0
dfsane arguments
...+ exp(-outmat[10,4]-outmat[10,3]*x[1]-outmat[10,2]*x[2]) + exp(-outmat[11,4]-outmat[11,3]*x[1]-outmat[11,2]*x[2]) + exp(-outmat[12,4]-outmat[12,3]*x[1]-outmat[12,2]*x[2]) + exp(-outmat[13,4]-outmat[13,3]*x[1]-outmat[13,2]*x[2]) + exp(-outmat[14,4]-outmat[14,3]*x[1]-outmat[14,2]*x[2]) + exp(-outmat[15,4]-outmat[15,3]*x[1]-outmat[15,2]*x[2]) + exp(-outmat[16,4]-outmat[16,3]*x[1]-outmat[16,2]*x[2]) + exp(-outmat[17,4]-outmat[17,3]*x[1]-outmat[17,2]*x[2]) + exp(-outmat[18,4]-outmat[18,3]*x[1]-outmat[18,2]*x[2]) + exp(-outmat[19,4]-outmat[19,3]*x[1]-outmat[19,2]*x[2]) + exp(-outmat[20,4]-outmat[20,3...
2013 Jun 07
4
matched samples, dataframe, panel data
...4,25,1200,2345,2765,389,23456,2367,3892,5438,37824, 23,2897,3456,7690,6022,3678,9431,2890) data1<-data.frame(firm1,year1,industry1,dummy1,dimension1) data1 colnames(data1)<-c("firm","year","industry","dummy","dimension") firm2<-sort(rep(11:15,3),decreasing=F) year2<-rep(2001:2003,5) industry2<-rep(30,15) dummy2<-c(0,0,0,0,0,0,1,1,1,1,1,1,1,0,1) dimension2<-c(12456,781,32489,2345,5754,8976,3245,2120,345,2341,5678,10900,12900,123,2345) data2<-data.frame(firm2,year2,industry2,dummy2,dimension2) data2 colnames(data2)<-c(&q...
2010 Apr 18
0
[LLVMdev] .so file creation for new passes
Thanks a lot for the reply guys. So, does that mean that I cant write my own passes if I work on Windows side of the LLVM? Is there any other way to use a new pass. How are windows users supposed to work? Thanks again. On Sun, Apr 18, 2010 at 7:16 AM, Anton Korobeynikov <anton at korobeynikov.info > wrote: > > If you compile llvm, the Hello library will be compiled too. It's
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,...
2020 Nov 03
0
[patch V3 13/37] mips/mm/highmem: Switch to generic kmap atomic
...- -#undef __WITH_KM_FENCE - -#endif --- a/arch/mips/mm/highmem.c +++ b/arch/mips/mm/highmem.c @@ -8,8 +8,6 @@ #include <asm/fixmap.h> #include <asm/tlbflush.h> -static pte_t *kmap_pte; - unsigned long highstart_pfn, highend_pfn; void kmap_flush_tlb(unsigned long addr) @@ -17,78 +15,3 @@ void kmap_flush_tlb(unsigned long addr) flush_tlb_one(addr); } EXPORT_SYMBOL(kmap_flush_tlb); - -void *kmap_atomic_high_prot(struct page *page, pgprot_t prot) -{ - unsigned long vaddr; - int idx, type; - - type = kmap_atomic_idx_push(); - idx = type + KM_TYPE_NR*smp_processor_id(); - vaddr...
2010 Apr 18
2
[LLVMdev] .so file creation for new passes
> If you compile llvm, the Hello library will be compiled too. It's not > installed but it's in build_directory/Debug/lib/LLVMHello.so (or in > build_directory/Release/lib/LLVMHello.so) Loadable passes are not supported on windows due to lack of OS dynamic linking support (and I doubt they will be supported ever). -- With best regards, Anton Korobeynikov Faculty of Mathematics
2004 Jul 26
1
group definition for a bootstrap
Hi, This is probably really simple, but I am clearly not R-minded, I have read the help files, and reread them, and I still can't work out what to do... I have a data frame (d) with 3 columns (age (0-5), quarter (1-4) and x). I want to estimate the precision of my mean x by age and quarter, so I want to carry out a bootstrap for each group. I am trying to do this within a loop, so I don't
2020 Jul 25
0
[klibc:master] arch: Explicitly disable or enable executable stacks
...8220f6b9..d8a0c108 100644 --- a/usr/klibc/arch/ppc/MCONFIG +++ b/usr/klibc/arch/ppc/MCONFIG @@ -24,3 +24,6 @@ KLIBCSHAREDFLAGS = -Ttext-segment 0x0f800000 # The asm include files live in asm-powerpc KLIBCASMARCH = powerpc + +# Kernel uses vDSO for signal return since 2.6.12 (compat) or 2.6.15 (native) +KLIBCEXECSTACK := n diff --git a/usr/klibc/arch/ppc64/MCONFIG b/usr/klibc/arch/ppc64/MCONFIG index 0315110c..530a07a0 100644 --- a/usr/klibc/arch/ppc64/MCONFIG +++ b/usr/klibc/arch/ppc64/MCONFIG @@ -22,3 +22,6 @@ KLIBCSHAREDFLAGS = -Ttext-segment 0x0f000000 # The asm include files...
2020 Apr 29
2
[PATCH klibc 1/3] Revert " Kbuild: Tell gas we don't want executable stacks"
This reverts commit 9d8d648e604026b32cad00a84ed6c29cbd157641, which broke signal handing on some architectures. On m68k and parisc, signal return depends on a trampoline that the kernel writes on the stack. On alpha, s390, and sparc (32-bit), we can avoid this by providing our own function as sa_restorer, but we currently don't. Signed-off-by: Ben...
2013 Sep 14
2
the problem of buying and selling
...goods that is being sold at that price. Column 3 is the price of the market where you sell goods to, column 4 is the quantity the buyers willing to buy at that price. > cbind(t(to_buy_from), t(to_sell_to)) [,1] [,2] [,3] [,4] [1,] 61.7050 190 63.170 2500 [2,] 61.7500 29 63.150 799 [3,] 61.8050 166 63.110 500 [4,] 61.8950 166 63.060 10000 [5,] 61.9450 166 63.020 7840 [6,] 61.9805 6150 62.995 2000 [7,] 62.0000 3069 62.930 2000 [8,] 62.0600 166 62.860 10811 [9,] 62.1100 166 62.780 18054 [10,] 62.1450 166 62.755 9000 [11,] 62.175...