This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<form> | |
<script type="text/javascript" src="http://cdn.datacamp.com/dcl-react.js.gz"></script> | |
The R session below has a data set called <span class="" style="font-family: "Courier New", Courier, mono;">bp</span> pre-loaded which contains information on the age (<span class="" style="font-family: "Courier New", Courier, mono;">Age</span>) | |
and systolic blood pressure (<span class="" style="font-family: "Courier New", Courier, mono;">BP</span>) of 30 individuals. | |
<p>Using the tool below fit a linear regression model called <span class="" style="font-family: "Courier New", Courier, mono;">BP_mod</span>, which takes <span class="" style="font-family: "Courier New", Courier, mono;">BP</span> as the | |
response using <span class="" style="font-family: "Courier New", Courier, mono;">Age</span> as the independent variable, then print the model results.<br> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Preview an email | |
require_once("../../../../config.php"); | |
require_once($CFG->dirroot . '/mod/assign/locallib.php'); | |
$ex =\assignsubmission_strathfm\local\model\extension_request::get_record(['id' => 11]); | |
$u = core_user::get_user($ex->get('userid')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A Script to help work with Moodle's Privacy API. | |
* @author Michael Hughes <[email protected]>, University of Strathclyde, | |
* Creates and SAR for specified user. | |
* Optionally can | |
* * unpack the resulting SAR to a specified location | |
* * add the SAR request to the cron queue (instead of processing it immediately). | |
*/ | |
define('CLI_SCRIPT', true); |