search for: 1,16

Displaying 20 results from an estimated 194 matches for "1,16".

Did you mean: 1,14
2008 Dec 08
3
Transforming a string to a variable's name? help me newbie...
...ask R to retrieve trials that fit certain selection criteria, so I use "subset", e.g. tmptrialinfo <- subset(trialinfo, (Subject==24 & Filename=="v2msa8")) The name of the dataframe / variable of an individual trial can be obtained using: paste("t",tmptrialinfo[1,2],tmptrialinfo[1,16],".gz",sep="") Then I get a string: "t24v2msa8.gz" which is of the exact same name of the dataframe / variable of that trial, which is: t24v2msa8.gz Can somebody tell me how can I change that string (obtained from "paste()" above) to be...
2006 Aug 09
1
legend on trellis plot
...in S it was possible to state something like "if(get("cell",fr=9)==2)" in the function statement to include the line on only one of the panels)? All suggestions will highly appreciated. Br Henrik ############################### data <- as.data.frame(cbind(rep(1:4,each=25), rep(1:2,each=50) ,rep(1:25,4), rnorm(100,0,1) )) names(data) <- c("ID","DOSE","TIME","DV") xyplot(DV~TIME | DOSE, data=data, groups=ID, layout=c(2,1), key=list(space="bottom",border=TRU...
2004 Feb 22
3
ARM/Thumb updates and some other minor tweaks
The attached patches are against the v0.114 release and cover some of the tweaks I made while playing about testing ARM and Thumb support. Please review and consider applying. Even with the patches, ARM dynamic linking doesn't seem to work and the Thumb test applications seem to have shaken out a Thumb bug in the 2.4.21-rmk2 kernel wh...
2017 Nov 14
2
Converting a string to variable names
Hi, Suppose that I want to do a series of plots with the y value for each plot as PC1, PC2, PC3? How could I accomplish this using a for loop? Suppose the code like this: For (index in seq(1,16)){ plot(x=(a given set of value),y=paste(?PC?,as.character(index),sep=??) } But this would not work because y is assigned a string instead of the variable names. So how could I assign y wit...
2017 Nov 14
0
Converting a string to variable names
Hi Ruiyang, I think you want "get": For (index in seq(1,16)){ plot(x=(a given set of value),y=get(paste(?PC?,as.character(index),sep=??))) } On Wed, Nov 15, 2017 at 7:43 AM, ??? <ruiyangliu94 at gmail.com> wrote: > Hi, > Suppose that I want to do a series of plots with the y value for each plot as PC1, PC2, PC3? How could I accomplish this...
2017 Nov 15
2
Converting a string to variable names
Hi, Thanks for your reply. I just came up with another question about a similar but different thing: Say I have a bunch of data.frame variables named P1,P2,P3? I want to assign them row names according to symbols in the first column, and I want to do this using a for loop. How could I accomplish this? for (test_sample in c(1:10)){ + x<-as.name(paste(?P",as.character(test_sampel),sep="")) + rownames(x)<-get((paste(?P?,as.chara...
2010 Aug 23
2
change order of plot panels in faceted ggplot/qplot
...mns, but for the sake of easy visual comparisons between panels in my particular dataset, I want to have the two plots on the bottom align on the right hand side of the figure instead of the left. Here's an example: m <- matrix(rnorm(300), nrow = 60) colnames(m) <- paste('V', 1:5, sep = '') b <- data.frame(site = factor(rep(c('A', 'B', 'C', 'D', 'E'), each = 12)), status = factor(rep(rep(c('D','L'), each = 3), 10)), as.data.frame(m)) qplot(V2, V1, data=b, shape=status) + scale_shape_manual(value=c(1,1...
2006 Jan 05
3
TE110p and pri_cpe signalling not recognized
Hi guys, I've been installing and configuring a TE110p card. The compile and install went very well. I'm using this on FC4 and I compile with linux26 as well checked I on the udev configs. zttool and ztcfg both indicate that the card is ready. But when I try to "load chan_zap.so" then I get the following Unable to load module ch...
2010 May 26
3
error "variable names are limited to 256 bytes" when sourcing code
...t here and clog up inboxes. If you have an idea as to why this is happening and would like to see the code, please email me and I will send it to you. Thanks in advance. -- Brian Frizzelle Spatial Analysis Services Carolina Population Center University of North Carolina at Chapel Hill Voice: 919-966-6663 Fax: 919-966-6638 Email: brian_frizzelle at unc.edu
2005 Aug 04
2
Some echo?
I have a 12 channel PRI with SNOM 190's and asterisk CVS from January. Most calls are fine, all incoming calls are fine, but I am getting echo on a significant number of outgoing calls. The person on the other side hears a perfect call, but the SIPphone side gets to hear themselves. It happens 100% o...
2010 Aug 24
2
percentage sign in expression
Readers, According to the documentation for the function 'plotmath' there is no apparent possibility to add the percent sign (%) to a plot function, e.g. plot(a[,1]~b[,2],ylab=expression(x~%),xlab=expression(z)) How to achieve this please? yours, rhelp at conference.jabber.org r251 mandriva2009
2011 May 30
0
Problem with GAM
Hi, I used GAM function with this code: library(mgcv) modgam=gam(Z~X+Y,data=table) pred=predict(modgam,type="response") vis.gam(modgam,view=c("X","Y"),plot.type="contour",zlim=c(1,16)) My problem is on my figure, the predicted values begin by 0 to 16 with an interval equal 2: 1- I want that the predicted values (Z) begin by 1 until 16 with an interval equal 1. I tried with zlim=c(1,16) but the result is not good. How do I do it? 2- On the figure, the red color corresponds w...
2010 Aug 25
1
russian spam with only two lines in the body
On Wed, 2010-08-25 at 11:43 +1200, Peter Lowish wrote: > So this should do it in my .cf file > > body Ban_RussUrl /www\..{1,16}\.ru/ > score Ban_RussUrl 15 > describe Ban_RussUrl Russian url spam > Not quite. I suggested using a uri rule not a body one. A score of 5 or 6 should...
2008 Dec 17
1
bug (?!) in "pam()" clustering from fpc package ?
...function "kmeans", I turned to the "pam" function in the "fpc" package. Yet, when I tried to have the algorithm run with different starting points, I found that pam ignores and keep on starting the algorithm from the same starting-points (medoids). For my questions: 1) is there a bug in the code or in the way I am using it ? 2) is there a way to either fix the code or to another function in some package that can run kmeans with manhattan distance (manhattan distances are the sum of absolute differences) ? here is a sample code: require(fpc) x <- rbind(cbind(...
2006 Oct 16
1
plots: layout + subtitles
Hello, I want to create a figure that consists of a collection of 16 graphs on 4 rows. I am using nf <- layout(matrix(seq(1,16), 4,4, byrow=TRUE), respect=TRUE) boxplot(... to create the layout of my 16 graphs. It works really well. However, I'd like to add sub-titles that would apply to each row of 4 graphs. More specifically, I'd like to have som...
2014 Dec 08
0
[PATCH 9/9] virtio_pci: update file descriptions and copyright
...;s been a lot of changes since 2007. List main authors, add Red Hat copyright. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/virtio/virtio_pci.h | 5 ++++- drivers/virtio/virtio_pci.c | 5 ++++- drivers/virtio/virtio_pci_legacy.c | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/virtio/virtio_pci.h b/drivers/virtio/virtio_pci.h index a3b1259..fba383c 100644 --- a/drivers/virtio/virtio_pci.h +++ b/drivers/virtio/virtio_pci.h @@ -1,15 +1,18 @@ #ifndef _DRIVERS_VIRTIO_VIRTIO_PCI_H #define _DRIVERS_VIRTIO_VIRTIO_PCI_H /*...
2014 Dec 08
0
[PATCH 9/9] virtio_pci: update file descriptions and copyright
...;s been a lot of changes since 2007. List main authors, add Red Hat copyright. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/virtio/virtio_pci.h | 5 ++++- drivers/virtio/virtio_pci.c | 5 ++++- drivers/virtio/virtio_pci_legacy.c | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/virtio/virtio_pci.h b/drivers/virtio/virtio_pci.h index a3b1259..fba383c 100644 --- a/drivers/virtio/virtio_pci.h +++ b/drivers/virtio/virtio_pci.h @@ -1,15 +1,18 @@ #ifndef _DRIVERS_VIRTIO_VIRTIO_PCI_H #define _DRIVERS_VIRTIO_VIRTIO_PCI_H /*...
2006 May 12
1
TE110P on E1
Hi, I wonder if anyone is using Digium's TE110P card on an E1 connection. I have been try to, but so far it wasn't much of a success. It only works more or less in EuroISDN as PRI CPE. And even that config gives me some trouble with channel negotiation. My current config: *zaptel.conf:* span=1,1,0,ccs,hdb3 bchan=1-15,17-31 dchan=16 loadz...
2014 Dec 08
0
[PATCH v2 09/10] virtio_pci: update file descriptions and copyright
...;s been a lot of changes since 2007. List main authors, add Red Hat copyright. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/virtio/virtio_pci.h | 5 ++++- drivers/virtio/virtio_pci.c | 5 ++++- drivers/virtio/virtio_pci_legacy.c | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/virtio/virtio_pci.h b/drivers/virtio/virtio_pci.h index a3b1259..fba383c 100644 --- a/drivers/virtio/virtio_pci.h +++ b/drivers/virtio/virtio_pci.h @@ -1,15 +1,18 @@ #ifndef _DRIVERS_VIRTIO_VIRTIO_PCI_H #define _DRIVERS_VIRTIO_VIRTIO_PCI_H /*...
2014 Dec 08
0
[PATCH v2 09/10] virtio_pci: update file descriptions and copyright
...;s been a lot of changes since 2007. List main authors, add Red Hat copyright. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/virtio/virtio_pci.h | 5 ++++- drivers/virtio/virtio_pci.c | 5 ++++- drivers/virtio/virtio_pci_legacy.c | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/virtio/virtio_pci.h b/drivers/virtio/virtio_pci.h index a3b1259..fba383c 100644 --- a/drivers/virtio/virtio_pci.h +++ b/drivers/virtio/virtio_pci.h @@ -1,15 +1,18 @@ #ifndef _DRIVERS_VIRTIO_VIRTIO_PCI_H #define _DRIVERS_VIRTIO_VIRTIO_PCI_H /*...