User Portlet User Portlet

Jon McLoone
Discussions
Here is the basic idea of the coin-toss run length detection. (Small value indicates fake coin-toss data)... In[9]:= rTest[{}] := 1; rTest[{_}] := 0; rTest[runs_] := DistributionFitTest[runs - 1, GeometricDistribution[1/2]]; ...
I understand that there is a project to do this. It will also call the library directly rather than via the server as I did here, for better efficiency. I don't know when to expect that to be available though, so be patient for now!
Nested If is smaller than Which in this case... If[f
&[Wolfram Notebook][1] [1]: https://www.wolframcloud.com/obj/5ace3f1b-c6c5-4536-bd57-7d3011877dec
It takes a little more effort to get county level images for the UK... GeoGraphics[({GeoStyling[Once[countryColor[#1]]], #1[ "Polygon"]} & ) /@ Flatten[(#1["Subdivisions"] & ) /@ Entity["Country",...
Don't perform operations on whole arrays by indexing individual elements.... Horrible: output = ConstantArray[0, Length[data]]; For[j = 1, j
NSolve takes an option WorkingPrecision which lets you specify the number of decimal places to work to. It may also make sense to control the input precision of the real number with, say, 33.677`50 to pad it to 50 decimal places.
Typically on a single disk Mac you just omit the disk name and start with the root level of the drive with / IE: data = Import [ "/MoveOver/Cards 1 to 1000"] If you have multiple disks and you need to specify which one, the full path is ...
Start with StringPosition and work from there. Take a look at the first half of https://blog.wolfram.com/2017/12/07/tracking-a-descent-to-savagery-with-the-wolfram-language-plotting-sentiment-analysis-in-lord-of-the-flies/ where I did this...
You might want to look at the functions on https://reference.wolfram.com/language/guide/Channel-BasedCommunication.html