1,426 reputation
1522
bio website
location
age 29
visits member for 2 years, 7 months
seen Aug 24 at 19:43

Nov
2
comment How to deal with too much recursion
This works nicely, thanks!
Feb
20
comment How to achieve Set+Part like behaviour in custom Set function?
@Mr.Wizard Yes, I made sure both symbol have HoldFirst. Looking at Trace it looks like it gets evaluated just before being passed to DFSetInner, but, fair warning´, I'm not very good at interpreting the output of Trace.
Feb
20
comment How to achieve Set+Part like behaviour in custom Set function?
The first version with Block doesn't work. Part is still getting evaluated. The later two do work, though. :)
Feb
20
comment How to achieve Set+Part like behaviour in custom Set function?
Yes, that is correct. The code isn't there for wading through, but so that one can have a complete test case to copy/paste.
Feb
14
comment Get DownValues that do not involve patterns?
Nice! This also seems to be the faster solution when the number and size of the DownValues get big.
Feb
10
comment Different highlight for each cluster in DendrogramPlot
I was hoping for that each cluster, according to the HighlightLevel would have each own color. In the example the cluster of 1, 4, 2, 3 would have one color and the cluster of 7, 5, 6, 8 would have another color and so on.
Feb
6
comment Creating a R DataFrame like construct in Mathematica
One problem: If there are only three or fewer variabled in the dataframe then the DataFrame["Names"] and Format[DataFrame don't work.
Feb
6
comment Creating a R DataFrame like construct in Mathematica
Wow what a great answer. I didn't know about TagSet. It opens up all kinds of interesting ways of extending dataframes. :)
Feb
2
comment Exporting Mathematica expression as SVG
My hope is to be able to distribute the svg files to other people.
Jan
27
comment Summing along rows or columns of a matrix
I think you may have confused rows and columns. By default Total sum along the columns.
Nov
9
comment Getting slightly different results in fitting a logit model in R and Mathematica
Thank you. It was one of those mistakes that seems obvious in hindsight.
Oct
8
comment Customizing FrameTicks in DistributionChart
Thank you. Your workaround works perfectly. DistributionChart seems quite buggy. This is not the first bug in it I've run in to.
Oct
3
comment Getting the 557th element of a table
Select is for picking out all elements in a list that match some criteria. Using it to simply get the 557th elements is making things complicated.
Oct
3
comment Getting the 557th element of a table
Sounds more like Part is what he is looking for.
Aug
12
comment Importing tabular data that has been exported from Evernote
That works! It ends up wrapping it in a bunch of {}, but that is just and excuse for First@First@First@First. Thank you. I must have spent hours trying to get this to work, and what I could come up with was much more brittle and complex and still kept messing up the data. I must admit the second argument for Import remains a mystery for me.
Aug
12
comment Importing tabular data that has been exported from Evernote
The cell is empty, which means Evernote puts a simple <br /> tag in the cell.
Aug
12
comment Importing tabular data that has been exported from Evernote
It works almost perfectly. The one edge case it stumbles upon is the one I didn't think to include in the text example: missing data. If there is a value missing in a row it just leaves it out making that particular sub-list shorter, which mean the columns end up misaligned.
Jul
4
comment How do you round numbers so that it affects computation?
Ah! Now I feel stupid. I did look at that but for some reason I assumed a had to be a whole number.
Jun
6
comment Standard errors for maximum likelihood estimates in FindDistributionParameters
@SjoerdC.deVries Isn't this a good use-case for ParallelTable?
May
22
comment LogLikelihood function from the Time Series package is apparently missing
@Szabolcs Thank you. I found it in the $BaseDirectory. After browsing through the code I also managed to figure out what the problem is. Apparently they've renamed the function, they just haven't bothered to update the documentation.