Search notes:

SAS: proc tabulate / Example 01

data tq84_dat;
  length category $3 val 8.;
  input  category    val   ;
datalines;
foo 14
foo 29
baz  6
foo 81
bar 83
baz  8
bar  9
run;
Github repository about-SAS, path: /programming/proc/tabulate/ex_01/00-data.sas
proc tabulate data=tq84_dat;
  class category;
  var   val;
  table val = 'Avg. Value',
        category*mean;
run;
Github repository about-SAS, path: /programming/proc/tabulate/ex_01/01.sas
proc tabulate data=tq84_dat;
  class category;
  var   val;
  table val           = 'Avg. Value',
        category*mean = '';
run;
Github repository about-SAS, path: /programming/proc/tabulate/ex_01/02.sas
proc tabulate data=tq84_dat;
  class category;
  var   val;
  table val           = 'Value',
        category*mean = ''
      / box           = 'Avg.';
run;
Github repository about-SAS, path: /programming/proc/tabulate/ex_01/03.sas
proc tabulate data=tq84_dat;
  class category;
  var   val;
  table val      = 'Value',
        category = '' * mean = ''
      / box      = 'Avg.';
run;
Github repository about-SAS, path: /programming/proc/tabulate/ex_01/04.sas
proc tabulate data=tq84_dat;
  class category;
  var   val;
  table category = '' *mean = '',
        val      = 'Avg.';
run;
Github repository about-SAS, path: /programming/proc/tabulate/ex_01/05.sas
proc tabulate data=tq84_dat;
  class category;
  var   val;
  table category = '' * mean = '',
        val      = 'Avg.'
      / row      =  float;
run;
Github repository about-SAS, path: /programming/proc/tabulate/ex_01/06.sas

See also

proc tabulate

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Companie...', 1759390779, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/proc/tabulate/ex_01(112): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78