Displaying 20 results from an estimated 41620 matches for "false".
2010 Jan 21
3
Na.omit on matrix, does the matrix have to have a limited size
Hello everyone, I am using the na.omit() function on a 785 x 79 matrix. When
I restrict the matrix to 10 columns for example it returns me the right
result with the na rows deleted: 756 x 10 matrix. But, if I enter the whole
matrix it returns me a 64 x 79 matrix, ununderstandable, I have no idea
why...Does anyone know what it could be? thanks
--
View this message in context:
2010 Jul 23
2
start and end times to yes/no in certain intervall
..."13:00", "13:00",
"13:00", "13:00")), .Names = c("start", "end"), row.names = c(NA,
20L), class = "data.frame")
and I would like the data to look like this:
> t9 t10 t11 t12 t13 t14 t15 t16 t17
> 1 FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE
> 2 FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE
> 3 FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE
> 4 FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE
> 5 FALSE FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE
>...
2006 Dec 29
3
strange logical results
Dear R People:
I am getting some odd results when using logical operators:
> x <- seq(from=-1,to=1,by=0.1)
> > x
[1] -1.0 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0.0 0.1 0.2 0.3 0.4
[16] 0.5 0.6 0.7 0.8 0.9 1.0
> x == -1
[1] TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
[13] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
> x == -0.9
[1] FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
[13] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
> x == -0.8
[1] FALSE FAL...
2011 Nov 11
1
(no subject)
...58070
[8,] 0.9999999 1.0000000 1.0000000 -0.4061715
[9,] 0.9999999 1.0000000 1.0000000 -0.4061804
[10,] -0.4058070 -0.4061715 -0.4061804 1.0000000
I want to know the coordinates of the 1's only in the cy's lower triangle.
If I do cy%in%1 or cy ==1 I have this result: [1] TRUE FALSE FALSE
FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE
[13] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE
[25] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE
[37] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE
[49]...
2024 Jan 30
1
R interpreting numeric field as a boolean field
...NA, NA, NA, NA, NA, NA, NA,
NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,
NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,
NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,
NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,
NA, NA, NA, NA, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE,
FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE,
FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE,
FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE,
FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE,
FALS...
2012 Aug 22
1
Error in if (n > 0)
...0.00667, 0.00614, 0.00872, 0.0112, 0.00865,
0.0134, 0.00617, 0.0238, 0.013, 0.0139, 0.0134, 0.00126,
0.00547, 0.012, 0.00217, 0.0981, 0.00075, 0.00699, 0.00125,
0.0582, 0.0861, 0.00075, 0.00075, 0.00075, 0.00075, 0.00075,
0.00075, 0.00075, 0.00075, 0.00075, 0.00075), ceneq1 = c(FALSE,
FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE,
FALSE, TRUE, TRUE, TRUE, FALSE, TRUE, FALSE, FALSE, FALSE,
FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE,
FALSE, FALSE, FALSE, TRUE, FALSE, TRUE, FALSE, FALSE, FALSE,
FALSE, FALSE, TRUE, FALSE,...
2010 Apr 11
1
Peculiar behaviour with MatchIt and a function
....."
Error in eval(expr, envir, enclos) : object 'd' not found
Calls: f -> match.data -> eval -> eval
Execution halted
This seems rather strange to me: code that breaks only when you embed
it into a function.
The object ex follows:
ex <- structure(list(treatment = c(FALSE, FALSE, FALSE, FALSE, TRUE,
FALSE, FALSE, FALSE, TRUE, FALSE, TRUE, FALSE, FALSE, FALSE, FALSE,
FALSE, FALSE, FALSE, FALSE, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE,
FALSE, FALSE, FALSE, FALSE, FALSE, TRUE, FALSE, FALSE, TRUE, FALSE,
FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FAL...
2009 Feb 24
3
invalid comparison in numeric sequence (PR#13551)
Full_Name: alex
Version: 2.8.1
OS: Ubuntu / MacOSX
Submission from: (NULL) (162.38.183.51)
> 0.6==0.6
[1] TRUE
> seq(0,1,0.1)==0.4
[1] FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE
> seq(0,1,0.1)==0.6
[1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
> seq(0,1,0.1)==0.8
[1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE
What is wrong with 0.6 ??? (TRUE is missing)
I tr...
2009 Jun 08
4
seq(...) strange logical value
Do you heve any idea why I get after this instruction everywhere false?
> seq (0, 1, by=0.1) == 0.3
[1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
But after different step it's ok:
> seq(0, 1, by=0.1) == 0.4
[1] FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE
--
View this message in context: http://www.nabble.com...
2008 Apr 09
2
problem with basic boolean selection in sequence
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20080409/28fc5778/attachment.pl
2009 Dec 03
3
dataset index
...x <- matrix(c(
0, 0, 0,
0, 0, 0,
0, 1, 0,
0, 1, 0,
0, 1, 0,
1, 2, 1,
1, 2, 1,
1, 3, 1,
1, 3, 1,
1, 3, 1),
ncol = 5, byrow = T,
dimnames = list(1:10, c("gender", "race", "disease")))
I want to write a function to produce several matrices including only ?TRUE?
and ?FALSE? for the different levels of the variables (these matrices may be
thought as index matrices), like
> m1
TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
> m2
FALSE FALSE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE
> m3
FALSE FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE...
2012 Mar 19
9
Efectos fijos y aleatorios en un modelo lineal
Hola a todos,
Tengo algunas dudas sobre como introducir en un modelo lineal factores
con efectos fijos y aleatorios. Mi diseño es el siguiente:
Factores
Line: 40 líneas de trigo (Fijo)
Rep: 3 Bloques (Aleatorio)
Year: 2 Años (Aleatorio)
Variable dependiente
alpha.ug.mg
Nota: Adjunto tabla de datos
Dentro del diseño, 'Rep' y 'Year' se considera de efectos aleatorios y
2011 Mar 21
4
Multi-Tenant Hosted PBX system with Reseller functionality
2007 Sep 03
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c
...ace/constructor-madness-7.swf.trace b/test/trace/constructor-madness-7.swf.trace
new file mode 100644
index 0000000..6831e0a
--- /dev/null
+++ b/test/trace/constructor-madness-7.swf.trace
@@ -0,0 +1,5 @@
+Check what version has __constructor__ vs constructor
+[type Function]
+true
+[type Function]
+false
diff --git a/test/trace/constructor-madness-8.swf b/test/trace/constructor-madness-8.swf
new file mode 100644
index 0000000..ed35009
Binary files /dev/null and b/test/trace/constructor-madness-8.swf differ
diff --git a/test/trace/constructor-madness-8.swf.trace b/test/trace/constructor-madness-8.sw...
2007 Mar 12
0
11 commits - libswfdec/js libswfdec/swfdec_loader.c libswfdec/swfdec_root_sprite.c libswfdec/swfdec_script.c player/swfdebug.c player/swfdec_player_manager.c test/trace
...o reverse engineer the function name for anonymous functions
diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c
index bb56c19..ac47a97 100644
--- a/libswfdec/swfdec_script.c
+++ b/libswfdec/swfdec_script.c
@@ -1715,12 +1715,26 @@ swfdec_action_define_function (JSContext
return FALSE;
} else {
/* create the script */
+ const char *name = NULL;
SwfdecBuffer *buffer = swfdec_buffer_new_subbuffer (script->buffer,
cx->fp->pc + 3 + len - script->buffer->data, size);
swfdec_bits_init (&bits, buffer);
+ if (*function_name) {
+ name =...
2009 Nov 03
3
Weird operator behaviour
...TRUE TRUE TRUE
TRUE
[13] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
TRUE
[25] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
TRUE
[37] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
TRUE
[49] TRUE TRUE TRUE TRUE TRUE TRUE FALSE TRUE FALSE TRUE FALSE
TRUE
[61] FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE
TRUE
[73] FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE
TRUE
[85] FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE
TRUE
[97] FALSE TRUE FALSE TRUE FALSE...
2005 Nov 13
2
RE: samba smbd version 2.2.12 HP CIFS Server A.01.11.04 does hang if start in a HP serviceguard configuration
...t;
Wolfgang - I am out of the office until Tuesday. Can you look at the
log.smbd and see if there is a locking error? (64bit vs 32bit , or
something).
I am cc-ing this to samba - that's where it should go (not technical).
Thanks,
Eric Roseme
Hewlett-Packard
Adding chars 0x0 0x0 (l->u = False) (u->l = False)
Adding chars 0x21 0x0 (l->u = False) (u->l = False)
Adding chars 0x23 0x0 (l->u = False) (u->l = False)
Adding chars 0x24 0x0 (l->u = False) (u->l = False)
Adding chars 0x25 0x0 (l->u = False) (u->l = False)
Adding chars 0x26 0x0 (l->u = False) (u->l...
2010 Oct 18
2
VectorComparison
...els = c("2007-10-01", "2007-11-01", "2007-12-01", "2008-01-01")
> TimeSpan[1:40] == TickLabels
Here I would expect TRUE for teh first entry and then TRUE for the entry
related to "2007-11-01". This doesn't seem to be the case.
[1] TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
[13] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
[25] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
[37] FALSE FALSE FALSE FALSE
Thanks you in advance for any help.
[[alternative HT...
2012 Aug 06
3
test if elements of a character vector contain letters
...e6 f1 g5 h8 i9 j4 k
l m n o
TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
TRUE TRUE TRUE TRUE
p q r s t u v w x y z
1 2 3 4
TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
FALSE FALSE FALSE FALSE
5 6 7 8 9 10 11 12 13 14 15
16 17 18 19
FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
FALSE FALSE FALSE FALSE
20 21 22 23 24 25 26
FALSE FALSE FALSE FALSE FALSE FALSE FALSE
> is_letter(x, 0:...
2012 Feb 26
1
Matrix problem to extract animal associations
...lt;- sapply(1:10,function(i) paste("ID",i,sep=""))
> (DFid <- data.frame(x,y))
x y
1 7 20
2 5 3
3 12 5
4 3 12
5 18 19
6 2 1
7 19 15
8 20 11
9 13 14
10 1 2
>
>
> (DMdist <- dist(DFid, method = "euclidean",
+ diag = FALSE, upper = TRUE))
1 2 3 4 5 6 7 8 9 10
1 17.117243 15.811388 8.944272 11.045361 19.646883 13.000000 15.811388 8.485281 18.973666
2 17.117243 7.280110 9.219544 20.615528 3.605551 18.439089 17.0...