Displaying 20 results from an estimated 2000 matches similar to: "Identifying duplicate rows?"
2023 May 09
1
data.frame with a column containing an array
I think the following may provide a clearer explanation:
subs <- c(1,3)
DFA <- data.frame(id = 1:3)
ar <- array(1:12, c(3,2,2))
## yielding
> ar
, , 1
[,1] [,2]
[1,] 1 4
[2,] 2 5
[3,] 3 6
, , 2
[,1] [,2]
[1,] 7 10
[2,] 8 11
[3,] 9 12
## array subscripting gives
> ar[subs,,]
, , 1
[,1] [,2]
[1,] 1 4
[2,] 3 6
, , 2
2012 Jun 28
3
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
I missed last 2 commits made by Alexey. Following his advices, I updated
the patch. It should be ok now.
Ivan
On 27/06/2012 21:42, Anshuman Dasgupta wrote:
> Committed in r159281.
>
> -Anshu
>
>
> On 6/26/2012 3:04 AM, Ivan Llopard wrote:
>> Hi Anshu,
>>
>> I don't have commit access. It applies correctly on trunk, I've just
>> checked it.
2023 May 25
1
data.frame with a column containing an array
So is this an expected behavior or is it a bug which should be reported somewhere else?
Thanks!
Georg?
?
?
Gesendet:?Dienstag, 09. Mai 2023 um 19:28 Uhr
Von:?"Bert Gunter" <bgunter.4567 at gmail.com>
An:?"Georg Kindermann" <Georg.Kindermann at gmx.at>
Cc:?"Rui Barradas" <ruipbarradas at sapo.pt>, r-help at r-project.org
Betreff:?Re: [R] data.frame
2023 May 25
3
data.frame with a column containing an array
I really don't know. I would call it a request for extended capabilities of
[.data.frame, rather than a feature or bug. But maybe wiser heads than mine
who monitor this list can sort it out.
-- Bert
On Wed, May 24, 2023 at 8:52?PM Georg Kindermann <Georg.Kindermann at gmx.at>
wrote:
> So is this an expected behavior or is it a bug which should be reported
> somewhere else?
>
2012 Jun 25
2
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
Hi Anshu,
Just in case you have forgotten this thread ;-). Is this patch ok to
commit or does it not apply to trunk properly ?
I can fix it if that's the problem.
Ivan
On 20/06/2012 19:33, Anshuman Dasgupta wrote:
>
> > Thanks for reviewing this. I added a top comment for AddInsnClass
> and I fixed the violation of column numbers.
>
> Great. Looks good to me.
>
>
2012 Jun 18
2
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
Hi Anshu,
Thanks for reviewing this. I added a top comment for AddInsnClass and I
fixed the violation of column numbers.
On 15/06/2012 21:31, Anshuman Dasgupta wrote:
> Hi Ivan,
>
> The patch looks good to me. I have a couple of minor comments:
>
> +void State::AddInsnClass(unsigned InsnClass,
> Add a top level comment describing the function
>
> + std::map<State*,
2012 Jun 20
0
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
> Thanks for reviewing this. I added a top comment for AddInsnClass and
I fixed the violation of column numbers.
Great. Looks good to me.
> IMO, it wil be nice to keep it alive for performance comparisons.
Given the overall performance
> is rather determined by transition searches on the current state, for
small DFA tables may not be a win
> and it may still be the case for
2011 Mar 28
2
rep for multiple categories
Hi,
I am R beginner and am trying to figure out how to generate a complete list of species for every point, visit, and year. The code below is close but does not give me a list of species for every point, visit, and year in my data set.
spplist<-unique(sumPtCt$Species)
spplength<-length(spplist)
Pointlist<-unique(sumPtCt$Point)
Pointlength<-length(Pointlist)
2023 May 08
1
data.frame with a column containing an array
Dear list members,
when I create a data.frame containing an array I had expected, that I get a similar result, when subsetting it, like having a matrix in a data.frame. But instead I get only the first element and not all values of the remaining dimensions. Differences are already when creating the data.frame, where I can use `I` in case of a matrix but for an array I am only able to insert it in
2012 Jun 27
0
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
Committed in r159281.
-Anshu
On 6/26/2012 3:04 AM, Ivan Llopard wrote:
> Hi Anshu,
>
> I don't have commit access. It applies correctly on trunk, I've just
> checked it. Could you please commit it?
>
> Ivan
>
> On 26/06/2012 04:44, adasgupt at codeaurora.org wrote:
>> Hi Ivan,
>>
>> Sorry, I should have been more explicit in my last email. The
2012 Jun 26
0
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
Hi Ivan,
Sorry, I should have been more explicit in my last email. The patch looks
good to me. Please check that it applies on trunk and go ahead and commit.
Thanks
-Anshu
> Hi Anshu,
>
> Just in case you have forgotten this thread ;-). Is this patch ok to
> commit or does it not apply to trunk properly ?
> I can fix it if that's the problem.
>
> Ivan
>
> On
2012 Jun 15
0
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
Hi Ivan,
The patch looks good to me. I have a couple of minor comments:
+void State::AddInsnClass(unsigned InsnClass,
Add a top level comment describing the function
+ std::map<State*, std::set<Transition*, ltTransition>, ltState>
stateTransitions;
You should be able to use SmallSet here. Also, this line exceeds 80 columns.
On a related note, is the CachedTable mechanism in
2012 Aug 25
3
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
Hi Anshu,
Thanks again for your feedbacks.
On 24/08/2012 17:01, Anshuman Dasgupta wrote:
> Hi Ivan,
>
>> I missed last 2 commits made by Alexey. Following his advices, I
>> updated the patch. It should be ok now.
>> Thanks Anshu!
>>
>> I've recently added more functional units to our Schedule.td and the
>> generation time became painfully long. In
2012 Jun 26
4
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
Hi Anshu,
I don't have commit access. It applies correctly on trunk, I've just
checked it. Could you please commit it?
Ivan
On 26/06/2012 04:44, adasgupt at codeaurora.org wrote:
> Hi Ivan,
>
> Sorry, I should have been more explicit in my last email. The patch looks
> good to me. Please check that it applies on trunk and go ahead and commit.
>
> Thanks
> -Anshu
2012 Aug 24
0
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
Hi Ivan,
> I missed last 2 commits made by Alexey. Following his advices, I
> updated the patch. It should be ok now.
> Thanks Anshu!
>
> I've recently added more functional units to our Schedule.td and the
> generation time became painfully long. In fact, the main problem was
> in writeTableAndAPI(). I propose another patch to fix it:
> - Fixed memory leaks.
> -
2012 Aug 27
0
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
Ivan,
Thanks for working on the patch. It looks good to me except for the
removal of the Transition class:
> (1) Should I completely remove Transition and create a map structure
in State (input, state) to replace them?
Yes, please remove the Transition class and create a map structure in
State instead of TransitionSet.
Thanks
-Anshu
On 8/25/2012 6:42 AM, Ivan Llopard wrote:
> Hi
2012 Jun 11
1
[LLVMdev] scoreboard hazard det. and instruction groupings
Hal,
On 6/11/2012 12:48 PM, Andrew Trick wrote:
> Ignoring compile time for a moment, I think an advantage of a DFA is modeling a situation where the hardware can assign resources to best fit the entire group rather then one instruction at a time. For example, if InstA requires either Unit0 or Unit1, and InstB requires Unit0, is {InstA, InstB} a valid group? Depending on your cpu, a DFA could
2012 Aug 29
1
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
On 28/08/2012 00:21, Anshuman Dasgupta wrote:
> Ivan,
>
> Thanks for working on the patch. It looks good to me except for the
> removal of the Transition class:
>
> > (1) Should I completely remove Transition and create a map structure
> in State (input, state) to replace them?
>
> Yes, please remove the Transition class and create a map structure in
> State
2009 Jun 20
1
how to apply the dummy coding rule in a dataframe with complete factor levels to another dataframe with incomplete factor levels?
Dear R helpers:
Sorry to bother for a basic question about model.matrix.
Basically, I want to apply the dummy coding rule in a dataframe with
complete factor levels to another dataframe with incomplete factor levels.
I used model.matrix, but could not get what I want.
The following is an example.
#Suppose I have two dataframe A and B
2009 Apr 26
1
help with plotting results of lda
Hi,
I've performed an lda and obtained a classification table for some of my
data:
> efa.dfa<-lda(groups~.,efa.scores.8,CV=T)
> str(efa.dfa)
List of 5
$ class : Factor w/ 2 levels "1","2": 1 2 1 2 1 1 2 2 1 2 ...
$ posterior: num [1:160, 1:2] 0.99083 0.00852 0.93983 0.23186 0.85931 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : chr [1:160]