Displaying 20 results from an estimated 1000 matches similar to: "sleep data"
2006 Feb 09
11
Tranferring R results to word prosessors
I have just started looking at R, and are getting more and more irritated
at myself for not having done that before.
However, one of the things I have not found in the documentation is some
way of preparing output from R for convenient formatting into something
like MS Word. An example: If you use summary(lm(....)) you get nice
output. However, if you try to paste that output into the word
2017 Nov 07
5
Missing information in source()
Dear R-help,
I am running a Mac under Sierra, with R version 3.4.2 and RStudio 1.1.383. When running head () or tail () on an object in a script using source (<script name>) nothing appears in the output file, but if I use these commands in the normal R window the normal output appears.
What am I doing wrong?
Tom Backer Johnsen
University of Bergen
Norway
2008 Oct 24
18
Transferring results from R to MS Word
R-users
At the moment I am teaching a course on the use of R for data analysis.
Part of course requirements involves the transfer of results from R to
something that resembles the APA (American Psychological Associations)
type tables to MS Word. Until now I have used the HTML function in the
R2HTML library, with a call like this:
HTML(summary(model1), file("clipboard",
2008 Feb 07
5
Row percentages for a table object
I an stumbling on something that is probably very simple, but I cannot
see the solution. I have an object generated by the table () function
and want to recompute this table so each cell represents the
percentage of the corresponding row sum.
Of course a dedicated function can be written (which I have done),
containing the necessary loops etc., but there should be a simpler
way. I'd
2007 Dec 04
6
Is R portable?
Recently I came across an interesting web site:
http://portableapps.com/. The idea is simple, this is software that
is possible to install and run on some type of USB memory, a stick or
one of these hard disks. I can think of a number of situations where
this could be handy. In addition memory sticks are getting cheaper
and more powerful by the day.
So: Is it possible to run R off one of
2007 Nov 02
4
Permutation test, grouped data
I am perfectly aware that this question is not an R question, at least
not yet, but I have not succeeded in finding what I want in other
ways, so ...
What I am looking for are two algorithms, preferabley in Pascal, but
other languages may do. For (a) systematic (complete) permutations
for grouped data with unequal group sizes, and (b) random permutations
for the same kind of data. I know
2006 Aug 22
5
Authoring a book
Me and some colleagues are planning to write a textbook together
("Statistics using R") where the target audience for the book is
psychologists and students of psychology.
We thought that it might be a good idea to use a Wiki when writing the
text. Is that a good idea? Does anybody have any experience in that
direction? What alternatives are there?
The tool (Wiki) would have to be
2006 Apr 19
9
I am surprised (and a little irritated)
I have started with using R on Windows, and I am really happy about
the system. Now, one of my other ambitions is to learn how to use
Linux, so yesterday I downloaded OpenSuse and installed that. The
next problem was to try to use R with Linux. And there I met the
wall. I've understood that RPM's are somewhat like installing
programs on Windows, so that was downloaded and started
2009 Mar 31
2
Programming objects in R
I am planning a project where an object-oriented approach would be
appropriate, and for a number of reasons I would prefer using either
Python or R. My problem at the moment is to find out how to do OO
programming in R. Are there any introductory texts anywhere ?
Tom
--
+----------------------------------------------------------------+
| Tom Backer Johnsen, Psychometrics Unit, Faculty of
2006 Oct 18
7
Latex editor recommendations
This question is not oriented towards R, but is posted here because I
have the impression that there are at least some Latex users among the
contributors. The question is: What editors for Latex are to be
recommended? I have located one:
http://www.latexeditor.org/
What other alternatives are there? I am (for the most part) using
Windows XP.
Tom
2008 Nov 07
5
Agent-based social simulation and R
Do anyone know anything about the use of R for agent-based social
simulation? It should be possible, and would be convenient for the
simple reason that there are several nice packages containing useful
stuff for SNA (Social Network Analysis). Information about packages,
web sites, experienced persons in the field, etc. would be very welcome.
Tom
2009 Apr 07
2
Running an R script from Delphi 7
Gentlepersons:
A long time ago I used to be able to start R (version 2.6.1) from a
Delphi 7 program and run a script by using a procedure like the following:
function StartRAndWait (CommandLine : string) : Boolean;
var
Proc_info: TProcessInformation;
Startinfo: TStartupInfo;
ExitCode: longword;
CreateOK : Boolean;
begin
Result := False;
{ Initialize the structures }
2017 Nov 07
0
Missing information in source()
Hello,
Try
print(head(...))
Hope this helps,
Rui Barradas
Em 07-11-2017 20:01, Tom Backer Johnsen escreveu:
> Dear R-help,
>
> I am running a Mac under Sierra, with R version 3.4.2 and RStudio 1.1.383. When running head () or tail () on an object in a script using source (<script name>) nothing appears in the output file, but if I use these commands in the normal R window the
2008 Feb 15
1
Latent class analysis
Which package(s) contain something on latent class analysis?
Tom
--
+----------------------------------------------------------------+
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185 Fax : +47-5558-9879 |
| Email : backer at psych.uib.no URL :
2008 Jan 11
3
Randomization tests, grouped data
The other day I was looking into one of the classics in resampling,
Eugene Edgington's "Randomization Tests". This type of test is simple
to do in R with things like a simple correlation, the sample ()
function is perfect for the purpose.
However, things are more complex if you have grouped data, like a
one-way ANOVA. The reason is that you have to avoid the consideration
of
2006 Jun 03
2
Problem with pointsizes in Graphics
Hello,
I have a problem with the sizes of points on the screen (Code tested for
some R versions on a Solaris system and also for Linux). Maybe it is
best to start with an example:
If I do a very simple plot using the character '.' for the points, e.g.,
n<-100; plot(0:n,0:n,pch='.',cex=1+(0:n)/20)
then not all for all the points the horizontal and vertical dimensions
are the
2006 Dec 07
2
I do not understand this
A few days ago there was a thread on calling R from Delphi to which
there were several useful responses. Now I responded as well, with
what I regard as a useful contribution. Shortly after that, I was not
able to able to see the thread in my newsreader (Thunderbird).
Suddenly, yesterday I could see the thread again, and now it has
vanished, at least from my sight.
Now. Is there an error
2008 Apr 13
2
[Fwd: Re: Response to R across the university]
Well, I downloaded the install JGR package for Windows and that seemed
to work fine, after the installation I ended up with a modified R window
which looked nice and uncluttered. Which I like. Very much.
On the other hand, I cannot see how to launch the thing again once I
have closed that window. There is supposed to be a launcher somewhere
(JGR.exe?), but I have not been able to find it. It
2007 Jan 12
5
Regression lines
My simpleminded understanding of simple regression is that when
plotting regression lines for x on y and y on x in the same plot, the
lines should cross each other at the respective means. But, given the
R function below, abline (lm(y~x)) works fine, but abline (lm(x~y))
does not. Why?
function () {
attach (attitude)
x <- rating
y <- learning
detach (attitude)
plot (x, y)
2006 Dec 04
8
Calling R functions in Delphi
Hello All,
We would like to call quantile() function from the R-package STATS in a
Delphi program. If this is possible, could anyone provide us with an
example?
Thanks in advance.
--Anna
-----------------------------------------
Anna Belova
Abt Associates Inc.
4800 Montgomery Ln, St 600
Bethesda, MD-20814
phone: 301-347-5304
fax: 301-652-7530
http://www.abtassociates.com/environment