Displaying 3 results from an estimated 3 matches for "resprat".
Did you mean:
respmat
2011 May 05
4
Using functions/loops for repetitive commands
I still need to do some repetitive statistical analysis on some outcomes
from a dataset.
Take the following as an example;
id sex hiv age famsize bmi resprate
1 M Pos 23 2 16 15
2 F Neg 24 5 18 14
3 F Pos 56 14 23 24
4 F Pos 67 3 33 31
5 M Neg 34 2 21 23
I want to know if there are statistically detectable differences in all of
the continuous variables in my data set when subdivided by sex or hiv status
(ie are a...
2010 Nov 07
1
creating a scale (factor) based on a continuous variable nested within levels of factor
...n't seem to pinpoint
where the problem is.
I have a data.frame which is structured as follow:
str(hDatPretty)
'data.frame': 1665 obs. of ?8 variables:
$ time ? ?: num ?0 1.02 2.05 3.07 4.09 ...
$ hr ? ? ?: num ?62.4 63.6 64.6 65.5 66.2 ...
$ emg ? ? : num ?3.3 3.42 3.52 3.57 3.6 ...
$ respRate: num ?50.4 50.6 50.7 50.8 50.9 ...
$ scr ? ? : num ?1.7 1.72 1.73 1.74 1.75 ...
$ skinTemp: num ?28.1 28.2 28.2 28.2 28.2 ...
$ rating ?: num ?4 4 4 4 4 4 4 4 4 4 ...
$ songId ?: Factor w/ 37 levels "1","2","3","4",..: 1 1 1 1 1 1 1 1 1 1 ...
It consists of...
2015 Jun 19
2
Sobre data.table
Mª Luz,
si el comando de Carlos te devuelve 0 es que no hay NA's.
Da igual que tus columnas sean caracteres o número.
Lo que intuyo es que tienes celdas con la frase "NA" que interpretas como NA.
Mandanos el summary de tu data.table y lo vemos...
----- Mensaje original -----
De: "MªLuz Morales" <mlzmrls en gmail.com>
Para: "Carlos J. Gil Bellosta"