<p><strong>SMART FUNCTIONS</strong> are aggregate mathematical functions that are applied across ALL records in a project.</p>
<p>Smart Functions include <strong>min</strong>, <strong>max</strong>, <strong>mean</strong>, <strong>median</strong>, <strong>sum</strong>, <strong>stdev</strong>, <strong>count</strong>, and <strong>unique</strong>.</p>
<p>This project contains <strong>[aggregate-count:study_id] records</strong>. The average age of all participants is <strong>[aggregate-mean:age]</strong> (stdev=[aggregate-stdev:age]). The median weight is <strong>[aggregate-median:weight]</strong> (min: [aggregate-min:weight], max: [aggregate-max:weight]).</p>
<hr />
<p><strong>SMART TABLES</strong> display descriptive statistics for fields with each field as a row in the table.</p>
<table style="border-collapse: collapse; width: 100%;" border="0">
<tbody>
<tr>
<td style="width: 43.0038%; vertical-align: top;">
<p>Smart Tables can be displayed with ALL columns by default:</p>
<p>[stats-table:height,weight,race,sex]</p>
</td>
<td style="width: 31.3222%; vertical-align: top;">
<p>Or with only specified columns:</p>
<p>[stats-table:age,weight,height:mean,stdev]</p>
</td>
</tr>
</tbody>
</table>
<hr />
<p><strong>SMART CHARTS</strong> can be used to display many types of charts for one or more fields in the project.</p>
<table style="border-collapse: collapse; width: 100%; height: 68px;" border="0" cellspacing="10" cellpadding="10">
<tbody>
<tr>
<td style="width: 47.4989%; vertical-align: top;">
<p>Display a <strong>scatter plot</strong> of two fields (x vs y):</p>
<p>[scatter-plot:height,weight]</p>
<p>Add a third field for grouping (by color):</p>
<p>[scatter-plot:height,weight,sex]</p>
</td>
<td style="width: 47.4989%; height: 16px; vertical-align: top;">
<p>Use <strong>line charts</strong> with two fields (x vs y):</p>
<p>[line-chart:height,weight]</p>
<p>Add a third field for grouping (by color):</p>
<p>[line-chart:height,weight,sex]</p>
</td>
</tr>
<tr style="height: 52px;">
<td style="width: 47.4989%; height: 52px; vertical-align: top;">
<p>Display a <strong>bar chart</strong> with a single multiple choice field:</p>
<p>[bar-chart:race]</p>
</td>
<td style="width: 47.4989%; height: 52px; vertical-align: top;">
<p>Display bar charts vertically, and add a second field for grouping:</p>
<p>[bar-chart:race,sex:bar-vertical]</p>
</td>
</tr>
<tr>
<td style="width: 47.4989%; vertical-align: top;">
<p>Display a <strong>pie chart</strong></p>
<p>[pie-chart:race]</p>
</td>
<td style="width: 47.4989%; vertical-align: top;">
<p>Or a <strong>donut chart</strong></p>
<p>[donut-chart:race]</p>
</td>
</tr>
</tbody>
</table>
<p> </p>