OK, thanks. n is a list containing two list objects (a numeric vector and a
matrix). I want to replicate n$vectors within list n and name it
n$vectors$test. Thanks
On Mon, Jun 20, 2011 at 11:35 AM, David Winsemius wrote:
>
> On Jun 20, 2011, at 5:00 AM, mdvaan wrote:
>
> #Hi list,
>>
>> #From th
On Jun 20, 2011, at 5:40 AM, Mathijs de Vaan wrote:
OK, thanks. n is a list containing two list objects (a numeric
vector and a matrix). I want to replicate n$vectors within list n
and name it n$vectors$test. Thanks
Since you probably already have the mangled object:
> n$vectors$test <-
On Jun 20, 2011, at 5:00 AM, mdvaan wrote:
#Hi list,
#From the code below I get two list objects (n$values and n$vectors):
One of which is a numeric vector and the other of which is a matrix.
dat <- matrix(1:9,3)
n<-eigen(dat)
n
# How do I add another object to n that replicates n$vectors
ff: [R] Adding objects to a list
> An: r-help@r-project.org
> Datum: Montag, 20. Juni, 2011 09:00 Uhr
> #Hi list,
>
> #From the code below I get two list objects (n$values and
> n$vectors):
> dat <- matrix(1:9,3)
> n<-eigen(dat)
> n
>
> # How do I add another o
#Hi list,
#From the code below I get two list objects (n$values and n$vectors):
dat <- matrix(1:9,3)
n<-eigen(dat)
n
# How do I add another object to n that replicates n$vectors and is called
n$vectors$test?
# Thanks a lot!
--
View this message in context:
http://r.789695.n4.nabble.com/Addi
5 matches
Mail list logo