<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:8.0pt;
        margin-left:0cm;
        line-height:105%;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-NZ" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The VI() and summary() commands are created similarly but do different jobs. I’ll explain how the functions work before explaining what they do.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Both VI() and summary() are special types of functions called methods. A method is actually a family of functions that work on different objects appropriately. Other methods include print() and plot(). In each
 case, the first argument passed to the method has a class. The airquality dataset is of class data.frame while the regression model is of class lm. When you ask for the summary(airquality) R knows that airquality is a data.frame and uses the summary.data.frame()
 command to summarise the data. When you ask for the summary of a regression model, summary.lm() is used. I wrote the VI.data.frame() and VI.lm() commands to do various jobs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The VI.data.frame() command gives pretty much the same output as the summary.data.frame() command but presents it horizontally instead of vertically so that it is easier to hear with a screen reader. The VI.lm()
 command does a wide range of things that will save some users plenty of effort but as yet does not manage to get everything tabulated in HTML. I do think this will be resolved at some stage. Yes it does create some files that won’t be wanted by everyone, but
 I’d rather create them and save work for some users even at the expense of creating junk files for others. I might try to incorporate a user preference somehow to deal with this.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">To get the outcome from any R commands into tabulated form requires use of HTML or another alternative. I know I could use csv files or word documents but the results for the summary of a regression model would
 not be easier to navigate in either case because the summary has a number of elements that are very tabular and a number that are very definitely not tabular. At present, all the commands I’ve seen for converting a summary to an easier format do not actually
 convert everything that is presented by summary.lm().<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Finally, I’d add that any suggestions for improving the VI() commands and what gets generated are welcome. In general, I use what I want in any given circumstance to start the development of these functions and
 they therefore do what I think is desirable. Adding more functionality is my preference rather than take anything away.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Jonathan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
<b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> BlindRUG [mailto:blindrug-bounces@nfbnet.org]
<b>On Behalf Of </b>JooYoung Seo via BlindRUG<br>
<b>Sent:</b> Sunday, 6 September 2015 3:25 a.m.<br>
<b>To:</b> 'Blind R Users Group'<br>
<b>Cc:</b> JooYoung Seo<br>
<b>Subject:</b> [BlindRUG] How can I make this result more navigable?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a name="_GoBack"></a><span lang="EN-US">  Hello,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:4.5pt"><span lang="EN-US">I hope you all are enjoying sweet weekend.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:4.5pt"><span lang="EN-US">  I am writing to ask you questions.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">  I tested simple linear regression as follows:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">----------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">> out = lm(dist ~ speed, data=cars)<o:p></o:p></span></p>
<div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal"><span lang="EN-US">> summary(out)<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">----------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">  The result data layout is not easy to navigate with screen readers.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">  I know, I could use VI function instead of summary, but the output from VI is different from what I see in summary. VI creates HTML files and redundant PDF and other image file for this performance. I just want to know
 the succinct result which I can get from summary, but in a more navigable layout.<o:p></o:p></span></p>
<div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal"><span lang="EN-US">  For example, VI returns the same result but in different layout in the following:<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">-----<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">> data(airquality)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">> summary(airquality)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">> VI(airquality)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">----------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">  Is there any way to convert this into table output? Or, is it possible to get VI to perform the same task as summary for linear regression?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">  Any help would be so much appreciated.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:4.5pt"><span lang="EN-US">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:4.5pt"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:4.5pt"><span lang="EN-US">       JY<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="margin-bottom:0cm;margin-bottom:.0001pt;text-align:center;line-height:normal">
<span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif"">
<hr size="1" width="99%" noshade="" style="color:#909090" align="center">
</span></div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td style="padding:0cm 11.25pt 0cm 6.0pt">
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><a href="https://www.avast.com/antivirus"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" id="_x0000_i1026" src="cid:~WRD000.jpg" alt="Image removed by sender. Avast logo"></span></a><o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p><span style="font-family:"Calibri","sans-serif";color:#3D4D5A">This email has been checked for viruses by Avast antivirus software.
<br>
<a href="https://www.avast.com/antivirus">www.avast.com</a> <o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal">
<span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
</div>
</body>
</html>