Displaying 20 results from an estimated 3000 matches similar to: "Randomization tests, grouped data"
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 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",
2011 Jan 10
4
Meaning of pterms in survreg object?
I am trying to model survival data with a Weibull distribution
using survreg. Units are clustered two apiece, sometimes receiving
the same treatment and sometimes opposing treatment.
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
2008 Jul 13
3
initialize a factor vector
What is the least surprising way of initializing a factor with
predefined levels and with length 0?
as.factor(c("eins", "zwei", "drei"))[FALSE]
does the job but looks a bit weird.
--
Johannes H?sing There is something fascinating about science.
One gets such wholesale returns of conjecture
mailto:johannes at
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
2010 Sep 30
2
Sweave and LaTeX beamer class
I am failing to uncover Sweave chunks step by step using the LaTeX beamer
class.
The following minimal example:
\documentclass{beamer}
\usepackage{Sweave}
\begin{document}
\begin{frame}[fragile]
In the year \uncover<2->{25}\uncover<3->{\Sexpr{5*5}}
\uncover<4->{
<<echo=TRUE, print=TRUE>>=
5*5*101
@
}
\end{frame}
\end{document}
leads to an error message when
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 :
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
2008 Jul 27
4
Object-oriented programming in R for Java programmers?
Hi,
I was wondering if anybody might have a reference for
me: My R code is growing and getting more and more
confusing. Thus, I figure it's time to switch to
object-oriented again. I have done oo programming in
C++ and Java before but the first few tutorial on R oo
were a bit confusing for me.
Is there any brief tutorial on oo programming in R
especially for people who have done oo in Java
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