Steve,

Thank you,

John


John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric 
Medicine
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)



________________________________
From: S Ellison <s.elli...@lgcgroup.com>
Sent: Friday, January 18, 2019 9:52 AM
To: Sorkin, John; r-help@r-project.org
Subject: RE: Printing a list of simultaneous equations

You can drop the quote marks by calling print() explicitly with quote=FALSE, by 
using as.data.frame round your cbind, or - perhaps best - by constructing your 
output matrix as a data frame in the first place.  (print.data.frame defaults 
to quote=FALSE). And if you suppress name checking in a data.frame call you can 
get away with a space for variable names:

a  <- data.frame(y=c(c(0.5,4.0)), " "="=",x=c(1,2), z=c(2,3),
        row.names=sprintf("eq%d", 1:2), check.names=FALSE)

a


Steve E



*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:11}}

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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