Basic Examples (4)
Basic Examples
(4)
Determine the proportion of a list of integers that is :
In[1]:=
Out[1]=
False,True
2
3
1
3
———
Get the proportion of a list that is :
In[2]:=
Out[2]=
False,True
104
125
21
125
———
Use with an :
In[1]:=
Out[1]=
False,True
2
3
1
3
———
Use the operator form of :
ProportionsBy
In[1]:=
primeProportions=[PrimeQ]
Out[1]=
In[2]:=
Range[1000]//primeProportions
Out[2]=
False,True
104
125
21
125
Scope (2)
Scope
(2)
Properties and Relations (1)
Properties and Relations
(1)