Displaying 20 results from an estimated 421 matches for "1,8".
2010 Nov 18
1
Logistic regression with factorial effect
...a logistic regression model incorporating the
temporal effect, but I don?t know if that is the best option. I simulated
some data and that?s the problem:
rep(c("Jan","Feb","Mar","Apr","May"), each=20) -> month
as.factor(month)
rep(LETTERS[seq(1:20)], 5) -> ind
rep(sort(rnorm(20, 5.5, 0.2)), 5) -> size
size
c(c(rep(0,12), rep(1,8)), c(rep(0,12), rep(1,8)),
c(rep(c(0,1), 10)),
c(rep(1,8), rep(0,12)),
c(rep(1,8), rep(0,12))) -> success1
success1
With the object ?success1?, only the highest values of size are successful
at the...
2006 Apr 26
1
help using tapply
Dear R-mates,
# Here's what I am trying to do. I have a dataset like this:
id = c(rep(1,8), rep(2,8))
dur1 <- c( 17,18,19,18,24,19,24,24 )
est1 <- c( rep(1,5), rep(2,3) )
dur2 <- c(1,1,3,4,8,12,13,14)
est2 <- rep(1,8)
mydata = data.frame(id,
estat=c(est1, est2),
durat=c(dur1, dur2))
# I want to one have this:
id = c(rep(1,8), rep...
2006 Nov 14
1
alphachannel on pdf-device
Dear R users,
since R-2.4.0 I am not able any more to draw figures without
transparency after drawing one figure with alphachannel set lower than 100%.
For better unterstanding here a small example of my problem:
-----------------------------------------------
pdf(paste("test_alpha_rgb.pdf",sep=""), version="1.4")
plot(1:8, 1:8, type="n", xlab="", ylab="")
lines(c(1,8), c(1,8), t...
2003 Jan 21
1
(v2) quadratic trends and changes in slopes (R-help digest, Vol 1 #52 - 16 msgs)
-----Original Message-----
Message: 6
Date: Mon, 20 Jan 2003 01:11:24 +0100
From: Martin Michlmayr <tbm at cyrius.com>
To: r-help at stat.math.ethz.ch
Subject: [R] quadratic trends and changes in slopes
I'd like to use linear and quadratic trend analysis in order to find
out a change in slope. Basically, I need to solve a similar problem as
discusse...
2015 Nov 10
2
problema as.numeric
...valores son correctos, pero luego realizo str$Edad, aparecen 24, 24, 24, 5 ?. , convierto a números con b$Edad <- as.numeric(b$Edad) y los valores son 24, 24, 25 ? (valores que no son reales).
Es fácil, lo realice muchas veces pero ahora estoy confundido. ¿Alguna ayuda? Gracias
> b$Edad
[1] 5 5 5 0,5 0,5 5 5 2 9 9 9 9 9 9 9 9 9
[18] 7 7 5 16 16 0,3 2 5 5 5 5 7 7 7 4 4 4
[35] 4 13 5 5 5 0,3 0,3 0,3 6 6 7 10 10 10 3 0,9 0,9
[52] 0,9 10 8 8 8 8 3 3 3 10 10 10 1 15 15 15 3
[69] 3...
2007 Apr 18
3
[RFC, PATCH 10/24] i386 Vmi descriptor changes
...th no unnecessary
kernel code modification. It also allows the hypervisor implementation
of the VMI to tweak the gates, allowing for custom exception frames or
extra layers of indirection above the guest fault / IRQ handlers.
Signed-off-by: Zachary Amsden <zach@vmware.com>
Index: linux-2.6.16-rc5/arch/i386/kernel/traps.c
===================================================================
--- linux-2.6.16-rc5.orig/arch/i386/kernel/traps.c 2006-03-10 12:55:09.000000000 -0800
+++ linux-2.6.16-rc5/arch/i386/kernel/traps.c 2006-03-10 16:01:06.000000000 -0800
@@ -1043,20 +1043,6 @@ void __in...
2007 Apr 18
3
[RFC, PATCH 10/24] i386 Vmi descriptor changes
...th no unnecessary
kernel code modification. It also allows the hypervisor implementation
of the VMI to tweak the gates, allowing for custom exception frames or
extra layers of indirection above the guest fault / IRQ handlers.
Signed-off-by: Zachary Amsden <zach@vmware.com>
Index: linux-2.6.16-rc5/arch/i386/kernel/traps.c
===================================================================
--- linux-2.6.16-rc5.orig/arch/i386/kernel/traps.c 2006-03-10 12:55:09.000000000 -0800
+++ linux-2.6.16-rc5/arch/i386/kernel/traps.c 2006-03-10 16:01:06.000000000 -0800
@@ -1043,20 +1043,6 @@ void __in...
2012 Nov 06
2
ARM build with v3.7-rc3 with CONFIG_XEN_GNTDEV=m
...found out that with:
CONFIG_XEN_GNTDEV=m
I get this
ERROR: "HYPERVISOR_event_channel_op" [drivers/xen/xen-gntdev.ko] undefined!
If I make it CONFIG_XEN_GNTDEV=y the issue disappears. Any thoughts?
(FYI, if you want to do this on v3.7-rc4 please apply this patch to your tree)
commit e1a982642262820d68779c06de64f8857a040f5a
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Date: Tue Nov 6 15:49:27 2012 -0500
xen/generic: Disable fallback build on ARM.
As there is no need for it (the fallback code is for older
hypervisors and they won''t run u...
2012 Feb 06
5
I bet apply has a solution
Hi all
For the data below, I would like to return a logical value indicating
differences in the data.
#Create data
Data..<-data.frame(a=rep(1,10),b=c(rep(1,9),2),c=c(rep(1,8),2,2))
a b c
1 1 1 1
2 1 1 1
3 1 1 1
4 1 1 1
5 1 1 1
6 1 1 1
7 1 1 1
8 1 1 1
9 1 1 2
10 1 2 2
So what I want is to return logical value telling me if all the values are
the same. So the result would be a b c DidChange
1 1 1 1 FALSE
2 1 1 1 F...
2003 Sep 29
1
CP for rpart
...ecreasing when 'cp' gets smaller. Also what
the 'xstd' really tells us? If the error bars for each xerror overlap for
different cp's, does that mean we don't have significant improvement for
misclassification rate when we split the tree?
My data have are two classes with 138 observations and 129 attributes. Here
is what I did:
>dim(man.dat[,c(1,8:136)])
[1] 138 130
>man.dt1 <- rpart(Target~.,data=man.dat[,c(1,8:136)],
>method='class',cp=1e-5, parms=list(split='information'))
>plotcp(man.dt1)
>printcp(man.dt1)
Classification tree...
2023 Jul 23
2
col2rgb() function
Thanks That works nicely Nick
On Sun, 23 Jul 2023 at 19:26, Ben Bolker <bbolker at gmail.com> wrote:
> Does adjustcolor() help?
>
> cb8<- c("#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2",
> "#D55E00", "#CC79A7")
> plot(0,0,xl...
2023 Jul 23
1
col2rgb() function
Does adjustcolor() help?
cb8<- c("#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2",
"#D55E00", "#CC79A7")
plot(0,0,xlim=c(1,8),ylim=c(0,1))
points(1:8,rep(0.5,8),col=cb8,pch=19,cex=2)
points(1:8,rep(0.75,8),col=adjustcolor(cb8, alpha.f = 0.3), pch=19,cex=2)
On 2023-07-23 2:15 p.m., Nick Wray wrote:
> Hello I have a palette vector of colour blind colours (in hexadecimal)
> which I?m using for plots, but they are...
2023 Jul 23
2
col2rgb() function
...lay some histograms I wanted to convert these colours to rgb, when you
can set the opacity.
I have found the function col2rgb(), which works in the sense that it gives
a vector of numbers but these don?t work directly in rgb because they are
too big. If I divide through to make them all less than 1 I don?t get the
corresponding colour-blind hue, but something somewhat off.
Here is the colour-blind palette in a plot:
*cb8<- c("#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2",
"#D55E00", "#CC79A7"...
2009 Jun 24
3
Auth worker max line size
Hello
I have been playing with some exotic authentication scheme with Dovecot
and PAM. That involves sending really large base64 encoded data as
the IMAP password, and I have hit a line limit in Dovecot, with
AUTH_WORKER_MAX_LINE_LENGTH set to 1024.
This limit is especially frustrating since other parts of the software
use much larger limits:
MAX_INBUF_SIZE 4096
MAX_IMAP_LINE 8192
AUTH_CLIENT_MAX_LINE_LENGTH 8192
I had to make the patch attached below to get my authentication working.
I can live with this local patch, but given the much...
2005 Oct 10
1
Re: About blazer, powermust and mustek
...If this is ok, I can rebuild the patch with the other changes necessary
for this (rename powermust and change the docs and manpage).
Carlos Rodrigues
-------------- next part --------------
diff -ruN nut.orig/drivers/powermust.c nut/drivers/powermust.c
--- nut.orig/drivers/powermust.c 2005-09-12 13:38:35.000000000 +0100
+++ nut/drivers/powermust.c 2005-10-10 00:58:50.000000000 +0100
@@ -1,8 +1,8 @@
/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: t; -*-
*
- * powermust.c: support for Mustek (and others) models
+ * powermust.c: support for Megatec protocol based UPSes
*
- * Copyr...
2005 Jan 25
3
GLM function with poisson distribution
Hello all,
I found a weird result of the GLM function that seems
to be a bug.
The code:
a=c(rep(1,8),rep(2,8))
b=c(rep(0,8),rep(3,8))
cbind(a,b)
model=glm(b~a, family=poisson)
summary(model)
generates a dataset with two groups. One group
consists entirely of zeros, the other of 3's (as
happened in a dataset I’m analyzing right now). Since
they are count data, one should apply a pois...
2010 Jan 29
7
Simple question on replace a matrix row
Hello, I have a matrix mat1 of dim [1,8] and mat2 of dim[30,8], I want to
replace the first row of mat2 with mat1, this is what I do:
mat2[1,]<-mat1 but it transforms mat2 in a list I don't understand, I want
it to stay a matrix...
-----
Anna Lippel
--
View this message in context: http://n4.nabble.com/Simple-questio...
2007 Jul 07
0
2 commits - doc/Makefile.am libswfdec-gtk/Makefile.am Makefile.am player/Makefile.am test/Makefile.am
Makefile.am | 13 ++++++++++---
doc/Makefile.am | 5 +++++
libswfdec-gtk/Makefile.am | 4 ----
player/Makefile.am | 4 ----
test/Makefile.am | 2 +-
5 files changed, 16 insertions(+), 12 deletions(-)
New commits:
diff-tree f1b1b9d2d998bcc19cbd915b58a7f3d63a435a6b (from 084d18...
2007 Jul 07
0
Branch 'as' - 3 commits - doc/Makefile.am libswfdec-gtk/Makefile.am Makefile.am player/Makefile.am test/Makefile.am
Makefile.am | 13 ++++++++++---
doc/Makefile.am | 5 +++++
libswfdec-gtk/Makefile.am | 4 ----
player/Makefile.am | 4 ----
test/Makefile.am | 2 +-
5 files changed, 16 insertions(+), 12 deletions(-)
New commits:
diff-tree 9c722f8d1a73a21b7eb2939156c75ede85265663 (from parent...
2023 Jul 23
1
col2rgb() function
...you want to generate these colors with an alpha of 0.3 you
can also do:
palette.colors(8, alpha = 0.3)
or more explicitly
palette.colors(8, palette = "Okabe-Ito", alpha = 0.3)
On Sun, 23 Jul 2023, Nick Wray wrote:
> Thanks That works nicely Nick
>
> On Sun, 23 Jul 2023 at 19:26, Ben Bolker <bbolker at gmail.com> wrote:
>
>> Does adjustcolor() help?
>>
>> cb8<- c("#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2",
>> "#D55E00", "#CC79A7&quo...