Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with thei
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with thei
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with thei
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with thei
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with thei
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with thei
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with thei
Sender: [EMAIL PROTECTED]
On-Behalf-Of: [EMAIL PROTECTED]
Subject: Re: [R] VEC Operator in R
Message-Id: <[EMAIL PROTECTED]>
Recipient: [EMAIL PROTECTED]
This information is being sent at the recipient's request or with thei
RSiteSearch('vec vech', restrict = 'fun') turns up several packages
with vec and vech functions.
E.g., matrixcalc, fUtilities, ks, ...
hth,
Kingsford Jones
On Thu, Oct 23, 2008 at 11:47 AM, megh <[EMAIL PROTECTED]> wrote:
>
> Can anyone please tell whether there is any R function to act as "VE
For 'VEC' you may not need to do anything -- in
a lot of circumstances it will just work.
For 'VECH' you can write a function using the
'lower.tri' function.
But it seems to me that the assumption behind your
question is that a simple function that someone else
has written is going to be better
Try:
RsiteSearch("vech")
On Thu, Oct 23, 2008 at 1:47 PM, megh <[EMAIL PROTECTED]> wrote:
>
> Can anyone please tell whether there is any R function to act as "VEC" and
> "VECH" operator on Matrix? Yes of course, I can write a
> user-defined-function for that or else, I can put dim(mat) <- NULL.
It might help if you told us what you expected VEC
and VECH to do.
On Thu, Oct 23, 2008 at 1:47 PM, megh <[EMAIL PROTECTED]> wrote:
>
> Can anyone please tell whether there is any R function to act as "VEC" and
> "VECH" operator on Matrix? Yes of course, I can write a
> user-defined-function for t
I think you can use as.vector
On Thu, Oct 23, 2008 at 3:47 PM, megh <[EMAIL PROTECTED]> wrote:
>
> Can anyone please tell whether there is any R function to act as "VEC" and
> "VECH" operator on Matrix? Yes of course, I can write a
> user-defined-function for that or else, I can put dim(mat) <- N
And what is this "operator" supposed to do? Maybe you just want
as.vector, but it is hard to say from this.
Gabor
On Thu, Oct 23, 2008 at 7:47 PM, megh <[EMAIL PROTECTED]> wrote:
>
> Can anyone please tell whether there is any R function to act as "VEC" and
> "VECH" operator on Matrix? Yes of cou
14 matches
Mail list logo