Hi,

I have a dataframe like the following:

xfact   yfact   zfact   response
-------   -------   -------   --------------
x1       y1      z1          r1
x1       y1      z2          r2
...

I want output that looks like:

                    ___ zfac levels___
xfact   yfact   z1   z2   ... zn
-------   -------   ----  ----   ... ----
x1      y1       r1   r2        rn
....

How can I go about this?

Thanks,
Matt

-- 
It is from the wellspring of our despair and the places that we are
broken that we come to repair the world.
-- Murray Waas

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to