See fortune("toad") for a bit more on this concept.
On Thu, Oct 4, 2012 at 3:19 PM, David Winsemius wrote:
>
> On Oct 4, 2012, at 8:57 AM, anto.r wrote:
>
>> Hi Michael
>>
>> thanks! That was the option if I kept it an array. The list format with $
>> sign since it leaves me feeling that the name
On Oct 4, 2012, at 8:57 AM, anto.r wrote:
> Hi Michael
>
> thanks! That was the option if I kept it an array. The list format with $
> sign since it leaves me feeling that the names are there and can be easily
> accessed. Why would you rather not use the $ sign?
It would be better in programing
12 11
# 2012 12 11
list2$May[,,"tmax"]
# name
#year Alf Que
# 2011 18 16
# 2012 18 16
A.K.
- Original Message -
From: anto.r
To: r-help@r-project.org
Cc:
Sent: Thursday, October 4, 2012 11:57 AM
Subject: Re: [R] convert multi dimensional array to list
Hi
Hi Michael
thanks! That was the option if I kept it an array. The list format with $
sign since it leaves me feeling that the names are there and can be easily
accessed. Why would you rather not use the $ sign?
I use R-Studio and there names can be selected from a drop-down list, I have
found it
On Thu, Oct 4, 2012 at 2:54 PM, anto.r wrote:
> I have an 4D named array (the result of recast() on a dataframe) and would
> like to convert it to a list with the names retained.
>
> Example:
>>my.df<-expand.grid(name=c("Alf","Que"), month=c("May","Jun"),
> year=c("2011","2012"))
>>my.df$tmax<-sam
5 matches
Mail list logo