{"id":268,"date":"2018-03-13T10:54:49","date_gmt":"2018-03-13T17:54:49","guid":{"rendered":"https:\/\/winfreelab.nau.edu\/?page_id=268"},"modified":"2018-03-15T14:59:50","modified_gmt":"2018-03-15T21:59:50","slug":"wearware-getting-started","status":"publish","type":"page","link":"https:\/\/winfreelab.nau.edu\/index.php\/wearware-tk\/wearware-getting-started\/","title":{"rendered":"WearWare Getting Started"},"content":{"rendered":"<h3>Getting Started<\/h3>\n<p>To get started with the WearWare Toolkit, be sure that you have installed either GNU Octave (recommended) or Mathworks Matlab. \u00a0For help installing Octave, see the Octave website at:\u00a0<a href=\"https:\/\/www.gnu.org\/software\/octave\/\">https:\/\/www.gnu.org\/software\/octave\/<\/a>. \u00a0For help installing Matlab, please see your ITS department at your institution.<\/p>\n<h3>Installation<\/h3>\n<p>After getting the link supplied in the contact form, use Subversion to download your copy of the current release version. \u00a0If using a Mac or Linux, svn at the console is recommended. \u00a0For Windows users, please see Tortoise SVN. \u00a0We suggest that you setup a toolkit directory, seperate from your data, for this purpose.\u00a0 However, when you put the library in a directory other than where your data lives, you will need to ensure you add the path to that directory when starting Octave or Matlab.<\/p>\n<p>addpath()<\/p>\n<p>Or use this simple start up script to ensure that the path is always loaded when you start Octave.\u00a0 For instruction on how to do this in Matlab, please see this tutorial.<\/p>\n<p>That&#8217;s it, the library is installed and ready to use! \u00a0This library is in beta form right now, which means that you&#8217;re likely to see lots of changes over the next few months. \u00a0Participating on the listserv ensures you&#8217;ll stay up to date with any changes, some of which might not matter for you, and some of which could prove game changing.<\/p>\n<h3>Workflow<\/h3>\n<p>So you&#8217;ve collected your data on one of the supported devices, great.\u00a0 Now what?\u00a0 To start, let&#8217;s load your data so that you can actually work with it!<\/p>\n<p>ww[TYPE]Load(&#8216;source&#8217;)<\/p>\n<p>% where &#8216;source&#8217; can be a file or a folder that contains the files<\/p>\n<p>If you have Fitbit data, and wish that you had Freedson scored data, we can address that.\u00a0 You can transpose the Fitbit data into a Freedson like form, which significantly improves the accuracy of MVPA (moderate to vigorous physical activity levels, cite). \u00a0To do this, call:<\/p>\n<p>wwFBFreedson()<\/p>\n<p>If you have ActiGraph data that you would like scored using the Freedson method (cite), call:<\/p>\n<p>wwFreedson()<\/p>\n<p>Now that you have scored data, you might like to know how much time the participants spent in each activity level. \u00a0There are several functions that support this. \u00a0First up, you can calculate a set of &#8220;regular&#8221; statistics across all multi-valued measures. \u00a0These results will be stored within your original data structure.<\/p>\n<p>individ_subj_stats()<\/p>\n<p>boxPercentDay()<\/p>\n<p>For those of you who would like to use another program for summary data analysis, we offer support to export your statistics to an Excel format, with multiple sheets per file. \u00a0However, you may also call this function with the &#8216;csv&#8217; flag, which will instead export to multiple csv files following the same organization of the Excel sheets.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Getting Started To get started with the WearWare Toolkit, be sure that you have installed either GNU Octave (recommended) or Mathworks Matlab. \u00a0For help installing Octave, see the Octave website at:\u00a0https:\/\/www.gnu.org\/software\/octave\/. \u00a0For help installing Matlab, please see your ITS department at your institution. Installation After getting the link supplied in the contact form, use Subversion [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":258,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-268","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/winfreelab.nau.edu\/index.php\/wp-json\/wp\/v2\/pages\/268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/winfreelab.nau.edu\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/winfreelab.nau.edu\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/winfreelab.nau.edu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/winfreelab.nau.edu\/index.php\/wp-json\/wp\/v2\/comments?post=268"}],"version-history":[{"count":4,"href":"https:\/\/winfreelab.nau.edu\/index.php\/wp-json\/wp\/v2\/pages\/268\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/winfreelab.nau.edu\/index.php\/wp-json\/wp\/v2\/pages\/268\/revisions\/275"}],"up":[{"embeddable":true,"href":"https:\/\/winfreelab.nau.edu\/index.php\/wp-json\/wp\/v2\/pages\/258"}],"wp:attachment":[{"href":"https:\/\/winfreelab.nau.edu\/index.php\/wp-json\/wp\/v2\/media?parent=268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}