similar to: kruskal test

Displaying 6 results from an estimated 6 matches similar to: "kruskal test"

2010 Jul 14
2
logical to numeric matrix changing dimensions
example: > y=(rbind(c(TRUE,TRUE,TRUE),c(FALSE,FALSE,FALSE))) > y [,1] [,2] [,3] [1,] TRUE TRUE TRUE [2,] FALSE FALSE FALSE > as.numeric(y) [1] 1 0 1 0 1 0 I am trying to make some important matrixes become nuemric (1 or 0) but they change their dimensions.. anyone know how to easily fix it?? Tks in advance. [[alternative HTML version deleted]]
2016 Aug 04
2
¿Qué hace as.numeric()?
En general lo que yo uso en esos casos es as.numeric(as.character(X)) No se los términos correctos pero los factores aunque se muestren con los nombres de las diferentes clases, internamente son clases separadas que se nombran como enteros por ejemplo del 1 al n de clases. Cuando usas directamente as.nuemric sobre un factor, este toma los numeros de las clases y no el valor de clase. Fijate en
2007 Feb 21
2
Problem with Rsync or Users will be Users?
I'm using CWRSync 2.6.9 protocol 29 on a Windows 2003 Standard R2 server. I'm trying to copy files onto a local usb harddrive. Both filesystems are NTFS. Rsync is failing to copy some files due to the file name length. I kind of assumed that Rsync could handle the same file name length that Windows users are allowed to enter. :-) Is there *anything* I can do with Rsync to allow these
2012 Feb 29
3
Cannot use negative argument in function
Hi, today i wrote a function in R of the type: index.refraction <- function(Temp,Press, RH, CO2) When i try to plug a negative number in Temp, i got this type of error: " n <- index.refraction(Temp= -40,100,80,CO2) Messages d'avis : 1: In Ops.ordered(left, right) : '-' is not meaningful for ordered factors 2: In Ops.factor(left, right) : - not meaningful for factors 3:
2016 Aug 03
3
¿Qué hace as.numeric()?
Tranquilo que no te han hackeado tu "R"... Simplemente que al importar tu CSV, no has indicado que los decimales son las ",". Y ese campo lo importa como un character (un string). Y cuando lo conviertes a numeric, el resultado es un tanto impredecible. Si utilizas read.table para importar, simplemente incluye el parámetro "dec" de esta forma "read.table(..... ,
2016 Aug 05
2
¿Qué hace as.numeric()?
Muchas gracias, Fernando y Javier. > pami$PP <- as.numeric(as.character(pami$PP)) Warning message: NAs introduced by coercion Y entonces los datos que antes convertía en labels(pami$PP) (v.g. 753,2256 a 61343 o 62,7688 ? a 17390, que me pa eran enteros del 1 al n de clases como decía Fernando), los convertía en NA.- Luego de probar también con read.table, pasé a: > pami <-