Can Spotfire S+ do something similar to SAS proc tabulate?

Can Spotfire S+ do something similar to SAS proc tabulate?

book

Article ID: KB0080991

calendar_today

Updated On:

Products Versions
Spotfire S+ All supported versions

Description

Customers often want to emulate the SAS proc tabulate in Spotfire S+, how best to handle this?

Issue/Introduction

Can Spotfire S+ do something similar to SAS proc tabulate?

Environment

Product: TIBCO Spotfire S+ Version: All supported versions OS: All supported versions --------------------

Resolution

For basic multi-dimensional tables check out either the table() function in Spotfire S+, as it handles contingency tables, or the crosstabs() function for multiway contingency tables.  For more advanced work look at summary.formula() in the HMISC library.  This gives much more flexibility than table() and should provide the desired output.  To see more information about these functions please type at a command prompt:

>?table
>?crosstabs

or

>library(hmisc)
>?summary.formula
 

Additional Information

http://cran.r-project.org/doc/contrib/Harrell-statcomp-notes.pdf