Displaying 6 results from an estimated 6 matches for "alcon".
Did you mean:
falcon
2006 Jun 02
2
basic array question
I have a large array and would like to extract from it the row and
column indices just of values for which a particular boolean condition
is true. I assume there's a simple way to do this, but I haven't
figured it out yet. Any help would be appreciated.
Tim
2018 May 26
3
Grouping by 3 variable and renaming groups
ALCON
I'm trying to figure out how to rename groups in a data frame after groups
by selected variabels. I am using the dplyr library to group my data by 3
variables as follows
# group by lat (StoreX)/long (StoreY)
priceStore <- LapTopSales[,c(4,5,15,16)]
priceStore <- priceStore[comp...
2018 May 26
0
Grouping by 3 variable and renaming groups
Hello,
See if this is it:
priceStore_Grps$StoreID <- paste("Store",
seq_len(nrow(priceStore_Grps)), sep = "_")
Hope this helps,
Rui Barradas
On 5/26/2018 2:03 PM, Jeff Reichman wrote:
> ALCON
>
>
>
> I'm trying to figure out how to rename groups in a data frame after groups
> by selected variabels. I am using the dplyr library to group my data by 3
> variables as follows
>
>
>
> # group by lat (StoreX)/long (StoreY)
>
> priceStore <...
2018 May 26
1
Grouping by 3 variable and renaming groups
...adas wrote:
> Hello,
>
> See if this is it:
>
> priceStore_Grps$StoreID <- paste("Store",
> seq_len(nrow(priceStore_Grps)), sep = "_")
>
>
> Hope this helps,
>
> Rui Barradas
>
> On 5/26/2018 2:03 PM, Jeff Reichman wrote:
>> ALCON
>>
>>
>> I'm trying to figure out how to rename groups in a data frame after
>> groups
>> by selected variabels.? I am using the dplyr library to group my data
>> by 3
>> variables as follows
>>
>>
>> # group by lat (StoreX)/long (St...
2006 Jun 01
0
progressive slowdown during script execution? [Broadcast ]
You should try to figure out how large x and y need to be, and allocate them
before the computation. "Growing" objects like that in R is very, very,
very bad, as you've found out.
Andy
From: Tim Alcon
>
> I'm an R novice, so I hope my question is a valid one. I'm trying to
> run the following script in the current version of R.
>
> for (i in 1:1640){for (j in (i+1):1641){
> if (i == 1 && j == 2){x <-
> cor(sage[i,],sage[j,],method="spearman"...
2006 Jun 01
1
progressive slowdown during script execution?
I'm an R novice, so I hope my question is a valid one. I'm trying to
run the following script in the current version of R.
for (i in 1:1640){for (j in (i+1):1641){
if (i == 1 && j == 2){x <- cor(sage[i,],sage[j,],method="spearman"); y
<- cor(frie[i,],frie[j,],method="spearman")}
if (i != 1 || j != 2){x <-