52.0
6 6 2 53.0
6 6 2 96.0
--
Silvano Cesar da Costa
Departamento de Estatística
Universidade Estadual de Londrina
Fone: 3371-4346
--
- Original Message -
From: "Ivan Calandra"
To:
Sent: Monday, May 10,
Hi,
My first suggestion would be to supply a sample data (maybe using the
function dput) showing what you have, what you want to do, and what
you've tried (you say that subset() didn't work but we don't know how
you've typed it).
Then, we'll see!
Ivan
Le 5/10/2010 14:35, Silvano a écrit :
On 10.05.2010 14:35, Silvano wrote:
Hi,
I have a dataset with many variables and observations.
The variable Group has two levels: C and P,
the Month variable has four levels: 0, 1, 2 and 3.
I want to extract a subset of the variable Weight, considering only 1
and 3 levels for Months of the Gr
Hi,
I have a dataset with many variables and observations.
The variable Group has two levels: C and P,
the Month variable has four levels: 0, 1, 2 and 3.
I want to extract a subset of the variable Weight,
considering only 1 and 3 levels for Months of the Group
variable.
I tried the command s
Dear Javier,
> sublists, to be passed to a function, sintaxis like this won't work:
>
>> sublist <- main.lst[[1:4]]
are you looking for:
sublist <- main.lst[1:4]
HTH
Claudia
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-
Hello;
I'll put my real problem through a simple example:
I've got a main list:
> main.lst <- lst()
With a number of sublists:
> for(i in 1:1000){
main.lst[[i]] <- list()
main.lst[[i]]$first <- runif(1,0,1)
main.lst[[i]]$second <- runif(2,3,4)
}
If later on I need to split this list
6 matches
Mail list logo