Dunque, fai così:

Metti un id alla table (tipo id="MyTable") poi fai la funzione

Codice PHP:
function setChecked(val)
{
   var 
table document.getElementById('MyTable');
   var 
all table.getElementsByTagName('input');
   for(
0all.lengthi++)
   {
      if(
all[i].type.toUpperCase() == 'RADIO' && all[i].value == val)
         
all[i].checked true;
   }

Poi chiami la funzione con

<input type="button" onclick="setChecked('1')" value = "Seleziona value = 1" />

<input type="button" onclick="setChecked('0')" value = "Seleziona value = 0" />