User Portlet
Discussions |
---|
Try rewriting your input expression not as a list of associations ("column" form), but in "row" form inside a single association. Note the absence of the surrounding brackets; top level head (inside `Dataset`) is `Association`, not `List` — see the... |
dataset[Values /* (Interpolation[#, InterpolationOrder -> 2] &) ] Be sure to enclose the `Interpolation` pure function with parentheses. |
It can be this simple: dataset[ListPlot, {"t", "v1"}] |
Hi George, There are two ways to do this: ClearAll[doubleAge] doubleAge[age_?NumericQ] := age*2 titanic = ExampleData[{"Dataset", "Titanic"}]; a = titanic[All, doubleAge[#age]|> &]; b = titanic[All, {"age" ->... |
If you are using **EstimatedBackground**'s "SNIP" method, this reference will put you in the right direction: Morhac M - Nucl Instr Methods Physics Res A (2009) v600 p478-87 - An algorithm for determination of peak regions and baseline elimination in... |
As an aside, the plots can also be easily copied and pasted into Excel. Rasterize[Result, ImageResolution -> 300] // CopyToClipboard |
Instead of "TSV", import using the "Text" or "List" specifier followed by `StringSplit`. ImportString[" 2e54295\t 0", "Text"] // StringSplit[#, "\t"] & // InputForm Out/InputForm= {" 2e54295", " 0"} The preceding... |
I had the same idea using Sow & Reap, but used Table in place of Do: First@Last@Reap[ Table[ If[ j*RandomReal[] > 1/2 , Null , Sow[{i, i^2, i^3}]] , {i, 3}, {j, 9} ]] Each time it's... |