s-news
[Top] [All Lists]

converting data type from data.frame to matrix or vector

To: s-news@lists.biostat.wustl.edu
Subject: converting data type from data.frame to matrix or vector
From: Terrence Murphy <Terrence.Murphy@yale.edu>
Date: Fri, 02 Dec 2005 13:18:02 -0500
folks,

I'm creating column vectors and matrices of data in SAS and then importing them individually into Splus.

When I do this each item has data type "data.frame" and I want to convert some of them into data type "matrix" and others into data type "vector".

Is there a quick and easy way to do this? I've been playing with menu and dialog boxes to no avail.

thanks,

Terrence E. Murphy, Ph.D.
Program on Aging
Yale University
1 Church St., 7th Floor
New Haven, CT 06437
terrence.murphy@yale.edu
phone: 203-764-9805
fax: 203-764-9831

<Prev in Thread] Current Thread [Next in Thread>