Setting a default checkbox value in FAPI
Try this one:

$unitid = node_load($unit);
$form['field_choose_a_service']['und']['#default_value'] = array($unitid-&gt;nid);


And please note that node_load returns an object but not a ID. I see you use $unitid as the variable name. It can make people confused.