John
> -Original Message-
> From: TAPO (Thomas Agersten Poulsen) [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 31, 2004 2:26 PM
> To: John Fox
> Cc: [EMAIL PROTECTED]
> Subject: RE: [R] Converting data frame to array?
>
> Dear John,
>
> Thank you for your helpf
PROTECTED]
Sent: 29. maj 2004 01:24
To: TAPO (Thomas Agersten Poulsen)
Cc: [EMAIL PROTECTED]
Subject: RE: [R] Converting data frame to array?
Dear Thomas,
In fact, the more common way to fit a linear regression in R is to use
variables in a data frame (or list) along with a model formula
specifyi
en)
> Sent: Friday, May 28, 2004 2:11 PM
> To: [EMAIL PROTECTED]
> Subject: [R] Converting data frame to array?
>
> Dear List,
>
> Please bear with a poor newbee, who might be doing
> everything backwards (I was brought up in pure math).
>
> I want to m
day, May 28, 2004 2:11 PM
> To: [EMAIL PROTECTED]
> Subject: [R] Converting data frame to array?
>
> Dear List,
>
> Please bear with a poor newbee, who might be doing
> everything backwards (I was brought up in pure math).
>
> I want to make a simpl
TAPO (Thomas Agersten Poulsen) wrote:
Is there a way to convert the data frames into arrays, or am I
going the wrong way about this?
This is possible, but the behaviour depends on the datatype, e.g.
numeric or character. Simply look for ?as.matrix or ?as.array
Thomas P.
_
Dear List,
Please bear with a poor newbee, who might be doing everything
backwards (I was brought up in pure math).
I want to make a simple multi-linear regression on a set of
data. I did some expreiments, and if X is a 4 by 2 array and Y is a 4 by
1 array, I can do a linear regre