Displaying 20 results from an estimated 9000 matches similar to: "Reading results of commands in Microsoft Word typed in the terminal window, A question from a Blind R user."
2010 Feb 14
4
Problem in performing goodness of fit test in R.
I am trying to perform goodness of fit test using R. I am using this website http://wiener.math.csi.cuny.edu/Statistics/R/simpleR/stat013.html for help. However, I am unable to carry out the test successfully. My code follows. It is taken from the website just mentioned.
freq=c(22,21,22,27,22,36) # frequencies obtained after rolling the dice 150 times.
prob=c(1,1,1,1,1,1)/6 # specify expected
2010 Mar 13
2
Two questions, first about contingency tables, and second about table () and data.frame (), from a visually impaired user.
Hi all,
I want to make a contingency table in R. I want to tabulate two variables, one as the independent and second as the dependent variable. The IV has two categories, namely, birth complications, and no birth complications. The frequency of birth complication category is fifty, and the frequency of no birth complication category is 34. The categories and frequencies of DV follows.
2018 Feb 23
2
How to Save the residuals of an LM object greater or less than a certin value to an R object?
Dear list members,
I want to save residuals above or less than a certain value to an R
object. I have performed a multiple linear regression, and now I want
to find out which cases have a residual of above + 2.5 and ? 2.5.
Below I provide the R commands I have used.
Reg<-lm(a~b+c+d+e+f) # perform multiple regression with a as the
dependent variable.
Residuals<-residuals(reg) # store
2018 Mar 06
5
couple of how-to-do it in R questions regarding corelations and mean and SD of likert items
Dear list, I have the following how-to-do it in R, questions.
Suppose I have ten independent variables, and one dependent variable.
I want to find the Pearson correlation of all the IVs with the DV, but
not the correlation between the IVs.
What I know so far, about R, that I have to type the cor () function
ten times, each time requesting for a correlation between one IV and
the DV.
I was
2010 May 21
2
Getting sink to work with “message” on R 2.11.0 - what did I miss?
Hi all,
I am trying to use type message with sink, like this:
sink("all.Rout", type="message")
1+3
sink()
readLines(con = "all.Rout")
So to get the following output:
> 1+3
[1] 4
Obviously this doesn't work.
I tried some variations (based on the explanations in the help) but am
missing something on how to make it work.
Any suggestions?
(p.s: I need
2018 Feb 23
0
How to Save the residuals of an LM object greater or less than a certin value to an R object?
Residuals are stored as a numeric vector. The R software comes with a document "Introduction to R" that discusses basic math functions and logical operators that can create logical vectors:
abs( stdresiduals ) > 2.5
It also discusses indexing using logical vectors:
stdresiduals[ abs( stdresiduals ) > 2.5 ]
Note that in most cases it is worth going the extra step of making your
2010 May 22
2
Capturing R console output into a file (sink+savehistory ??)
After reading more, I understand I didn't formulate my last question
correctly, so please allow me to rephrase:
What I am looking for is a way to save the R console session output.
That is, a command that would combine the results of using:
?sink # And
?savehistory
My motivation for this is that doing it will allow someone who is a blind
user of R to be able to easily export his results to
2018 Feb 26
1
questions about performing Robust multiple regression using bootstrap
Dear list,
I am slightly confused about how I can do the following in R.
I want to perform robust multiple regression. I?ve used the Boot
function in CAR package to find confidence intervals and standard
errors. Inadition to these, I want to find the robust estimates for
the F test and r-square. Finally, I would like to know the
significance levels of bootstrap results.
Below I explain
2018 Mar 06
0
couple of how-to-do it in R questions regarding corelations and mean and SD of likert items
Hi
For first question, maybe I am completely wrong but
cor(swiss[,-1], swiss[,1])
should give you what you want in one step.
Second question
Without an example it is hard to say but maybe aggregate is the way forward.
> aggregate(iris[,1:4], list(iris$Species), function (x) c(mean=mean(x), sd=sd(x)))
Group.1 Sepal.Length.mean Sepal.Length.sd Sepal.Width.mean Sepal.Width.sd
1
2010 May 15
1
Dataframe to word, using R2wd
Hi All,
I'm trying to use R2wd to send a dataframe to Word. The dataframe
isn't huge - 300 rows, 12 variables, although it has some long strings
in it.
Using:
wdTable(format(myDataFrame))
or
wdTable(myDataFrame)
Produces a very complex table, which Word struggles to process and
layout. (I can't work out what the table is - it seems to be nested
tables. Converting to text gives
2013 Mar 13
7
Export R generated tables and figures to MS Word
Dear Rxperts,
I am aware of Sweave that generates reports into a pdf, but do know of any
tools to generate to export to a MS Word document...
Is there a way to use R to generate and export report/publication quality
tables and figures and export them to MS word (for reporting purposes)?
Thanks so much,
Santosh
[[alternative HTML version deleted]]
2011 Jul 16
1
customize output in Excel and creating reports in word.
can any one help me in customizing output(inserting 2 or more tables in a
single sheet,creating table title etc.) in excel? I also need to know
whether it is possible to create a page with charts and graphs in word by
R? thanks in advance.....
--
View this message in context: http://r.789695.n4.nabble.com/customize-output-in-Excel-and-creating-reports-in-word-tp3671447p3671447.html
Sent from
2011 Jan 14
3
Problems with TeachingDemos package
Hi, somebody can help me. Idon't understand very well the manual of the this
package, I suppose I must enter "wdtxtStart", before I start working, but is
supposed that this command should open Word, but nothing happens.
I use Rgui, not Rcmdr.
Thanks
-----
Mario Garrido Escudero
PhD student
Dpto. de Biolog?a Animal, Ecolog?a, Parasitolog?a, Edafolog?a y Qca.
Agr?cola
Universidad de
2011 Dec 21
2
Using wdTable() within R2wd package
Hi All,
I am trying to use the wdTable() function within R2wd package to send a
dataframe to MS-word. However, there is a problem with the tables that are
generated by R. For some reason the header row of the table also contains
all the data. You can see it by dragging the bottom border of the table
down to make the row wider. For example, the data named 'bod' should look
like as:
2012 Jun 07
1
R2wd error in wdGet
Dear list,
I'm trying to use R2wd package. I've installed the package and try wdGet().
However a error message came up. I'm presently using R 2.15.0
> wdGet()
Error in if (wdapp[["Documents"]][["Count"]] == 0)
wdapp[["Documents"]]$Add() :
argument is of length zero
Does anyone knows what this means?
Thanks a lot.
Andreia Leite
--
View this
2012 Oct 11
2
struggling with R2wd or SWord? Try rtf!
I have been looking for a way to write R-generated reports to Microsoft
Word documents. In the past, I used the package R2wd, but for some reason
I haven't been able to get it to work on my current set up.
R version 2.15.0 (64-bit)
Windows 7 Enterprise - Service Pack 1
Microsoft Office Professional Plus 2010 - Word version
14.0.6123.5001 (32-bit)
I gave the package
2012 Jul 23
1
R2wd package wdGet() error
I am having trouble using the R2wd package. The last time I used it
successfully, I was running an earlier version of R and an earlier version
of Word with an earlier Windows OS. I'm not sure which if any of these
changes might be contributing to the problem. Right now I'm using
R version 2.15.0 (2012-03-30) for Windows
MS Word 2010 version 14.0.6112.5000 (32-bit)
2003 Dec 04
3
Operating environment for *
Hi all,
I've got some questions to post in regard to running asterisk in a
production-grade environment, specifically targeting high-density IVR
applications. No VoIP involved, just straight PSTN -> * and perhaps the
occasional outdials or agent-based predictive dialing.
1) Which user would you run * under?
2) What other security-related issues do you have to resolve?
3) How do you handle
2006 May 07
3
Needle + Rails - IoC
Hi,
I''m looking for past efforts to integrate Rails and Needle. I am
thinking of doing it myself but would be interested in seeing what
others have done before.
If there are examples of other IoC frameworks being used with Ruby I''d
be interested in hearing about them too. I find IoC to be a helpful
concept in general and, having glanced at a few existing Rails app.s, I
2010 Jun 25
2
Handouts / Reports or just simply printing text to PDF?
I assume R won't easily generate nice reports (unless one starts using
Sweave and LaTeX) but perhaps somebody here knows a package that can
create report like output for special cases? How can I simply plot
output into PDF? Perhaps you know a package I should check out? What
do you guys do to create handouts (before actually publishing)?
Thanks in advance,
Ralf