Displaying 20 results from an estimated 41643 matches for "falsely".
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
Hi List,
I have start and end times of events
structure(list(start = c("15:00", "15:00", "15:00", "11:00",
"14:00", "14:00", "15:00", "12:00", "12:00", "12:00", "12:00",
"12:00", "12:00", "12:00", "12:00", "12:00", "12:00",
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
2011 Nov 11
1
(no subject)
Hello.
I have this matrix:
cy [,1] [,2] [,3] [,4] [,5] [,6]
[1,] 1.0000000 1.0000000 -0.5164570 -0.5164087 -0.4004139 -0.4003719
[2,] 1.0000000 1.0000000 -0.5164570 -0.5164087 -0.4004139 -0.4003719
[3,] -0.5164570 -0.5164570 1.0000000 1.0000000 -0.1186691 -0.1186972
[4,] -0.5164087 -0.5164087 1.0000000 1.0000000 -0.1186995 -0.1187276
[5,]
2024 Jan 30
1
R interpreting numeric field as a boolean field
Dear friends,
Hope you are doing well. I am currently using R version 4.3.2, and I have a
.xlsx file that has 46 sheets on it. I basically combined all 46 sheets
and read them as a single dataframe in R using package rio.
I read a solution using package readlx, as suggested in a StackOverflow
discussion as follows:
df <- read_excel(path = filepath, sheet = sheet_name, guess_max = 100000).
2012 Aug 22
1
Error in if (n > 0)
I've searched the Web with Google and do not find what might cause this
particular error from an invocation of cenboxplot:
cenboxplot(cu.t$quant, cu.t$ceneq1, cu.t$era, range=1.5, main='Total
Recoverable Copper', ylab='Concentration (mg/L)', xlab='Time Period')
Error in if (n > 0) (1L:n - a)/(n + 1 - 2 * a) else numeric() :
argument is of length zero
I do
2010 Apr 11
1
Peculiar behaviour with MatchIt and a function
Folks,
I have a strange situation where:
library(MatchIt)
f <- function(d) {
m <- matchit(treatment ~ lsales + major.industry,
data=d, method="nearest", discard="hull.treat")
treatmentfirms <- match.data(m, group="treat")
list(m=m, treatmentfirms=treatmentfirms)
}
res <- f(ex)
does not work at the match.data() call,
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
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:
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
Hello, All,
I have a dataset that looks like this:
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
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
libswfdec/Makefile.am | 2
libswfdec/swfdec_as_context.c | 27
libswfdec/swfdec_as_function.c | 18
libswfdec/swfdec_as_initialize.as | 35 +
libswfdec/swfdec_as_initialize.h | 33 +
libswfdec/swfdec_as_internal.h | 5
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
libswfdec/js/jsapi.c | 3
libswfdec/js/jsapi.h | 2
libswfdec/js/jsinterp.c | 2
libswfdec/js/jsobj.c | 4
libswfdec/swfdec_loader.c | 5
libswfdec/swfdec_root_sprite.c | 5
libswfdec/swfdec_script.c | 154 +++++-
player/swfdebug.c | 8
2009 Nov 03
3
Weird operator behaviour
Hi,
I have a dataset called 'fish'. fish$Species returns extract 1. When I use
fish$Species != c("CRA","PHC"), i.e. I want all species except "CRA" and
"PHC", I get extract 2 which is blatantly wrong. Can anyone see what I'm
doing wrong?
Regards,
James
EXTRACT 1
> fish$Species
[1] ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB
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
Hi Wolfgang,
from your tusc trace, what's happening is that smbd is hanging on a lock call on the secrets.tdb. Chances are good that either rpc.lockd is not running, or out of sync, etc; I can force this to happen, pretty much the exact same trace, by killing my lockd daemon on the system where I am running samba before I try to start it up. locking problems over nfs is one good reason that
2010 Oct 18
2
VectorComparison
Hi all,
I am not exactly fluent in R and I got stuck with this. I would like to
compare each elements of a vector A with any of the elements in Vector B.
For some reasons it does not work.
> StartDate = as.Date("01/10/2007", "%d/%m/%Y")
> TimeSpan = seq(StartDate, by = 'days', length =
length(myAverageCWVs$X1986))
> TickLabels = c("2007-10-01",
2012 Aug 06
3
test if elements of a character vector contain letters
Dear all
I'm pretty sure that I'm approaching the problem in a wrong way.
Suppose the following character vector:
> (x[1:10] <- paste(x[1:10], sample(1:10, 10), sep=''))
[1] "a10" "b7" "c2" "d3" "e6" "f1" "g5" "h8" "i9" "j4"
> x
[1] "a10" "b7"
2012 Feb 26
1
Matrix problem to extract animal associations
Dear List,
I have been trying to extract associations from a matrix whereby individual locations are within a certain distance threshold from one another.
I have been able to extract those individuals where there is 'no interaction' (i.e. where these individuals are not within a specified distance threshold from another individual) and give these individuals a unique Group ID containing