Hello
Thank you all for most useful responses. I was looking for answers in the
wrong place, that is why I have not responded before!
Tom Backer Johnsen
> On 7 Nov 2017, at 21:25, Rui Barradas <ruipbarra...@sapo.pt> wrote:
>
> Hello,
>
> Try
>
> print(head
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
Is it possible to get hold of the name of a frame?
Tom
__
R-help@r-project.org mailing list
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,
Hmm. I need to do some pondering on that one. I do not really
understand it, at least not yet.
Tom
Barry Rowlingson wrote:
On Thu, Mar 11, 2010 at 12:30 PM, Tom Backer Johnsen
bac...@psych.uib.no wrote:
Is it possible to get hold of the name of a frame?
I can't see a direct way
stephen sefick wrote:
I have many quattro pro spreadsheets and no quattro pro. Is there a
way to access the data using R, or any other solution that anyone can
think of?
thanks,
One possibility is to download the trial version of Corel Office and use
that to convert the files to something
As a general observation, few, if any, statistical packages, generate
tables in the format what you might think you need or want. R is not an
exception. Then it is better to transfer the table to a spreadsheet,
shift things around, add headers, etc.. The R2HTML library is useful
for that
[mailto:r-help-boun...@r-project.org]
On Behalf Of Tom Backer Johnsen
Sent: Tuesday, November 24, 2009 9:06 AM
To: Joel Fürstenberg-Hägg
Cc: r-help@r-project.org
Subject: Re: [R] From R to LaTeX to pdf?
As a general observation, few, if any, statistical packages, generate
tables in the format what you
For me, the classical reference for FET is:
@BOOK{Siegel56,
title = {Nonparametric Statistics for the Behavioral Sciences},
publisher = {McGraw-Hill},
year = {1956},
author = {Siegel, Sidney},
address = {New York}
}
Tom
Prof Brian Ripley wrote:
On Fri, 16 Oct 2009, Robin Hankin wrote:
.
--
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185Fax : +47-5558-9879 |
| Email : bac...@psych.uib.no
What is the correct citation to R in BibTeX format? I have looked in
the R pages but so far without any luck.
Tom
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Stephan Kolassa wrote:
citation()
Really obvious. Sorry.
Tom
HTH,
Stephan
Tom Backer Johnsen schrieb:
What is the correct citation to R in BibTeX format? I have looked in
the R pages but so far without any luck.
Tom
__
R-help@r-project.org
Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185Fax : +47-5558-9879 |
| Email : bac...@psych.uib.noURL : http://www.galton.uib.no
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;
Arghh! How stupid can you (I) be. It is R.exe that is called and not
RCMD.exe. Hence the program is waiting for a response to the question
about saving the workspace.
Tom
Tom Backer Johnsen wrote:
Gentlepersons:
A long time ago I used to be able to start R (version 2.6.1) from a
Delphi
an R programming book but nothing yet.
Best,
Krzysztof
Sent via BlackBerry by ATT
-Original Message-
From: Tom Backer Johnsen bac...@psych.uib.no
Date: Tue, 31 Mar 2009 12:31:17
To: r-help@r-project.org
Subject: [R] Programming objects in R
I am planning a project where an object
Wacek Kusnierczyk wrote:
Tom Backer Johnsen wrote:
This is interesting. The fact that there are so few texts on the
subject probably means that very few are using OO programming methods
in R.
I will probably look in the Python direction. Pity. I would have
preferred R.
if you insist
--
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185Fax : +47-5558-9879 |
| Email : bac...@psych.uib.noURL : http
://www.burns-stat.com
(home of The R Inferno and A Guide for the Unwilling S User)
Tom Backer Johnsen wrote:
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
://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015
(Rprofile.site is here)
/usr/lib/R
Downloaded Packages seem to go here:
/usr/local/lib/R/site-library/
--
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY
Dirk Eddelbuettel wrote:
On 8 February 2009 at 20:36, Tom Backer Johnsen wrote:
| Dear me. Is the installation of R under Ubuntu really that complex? I
| have a dual boot machine (Linux / Windows, where I use the latter the
| most) and have plans to try R under Linux, but have not done so
Tom Backer Johnsen wrote:
Thomas Mang wrote:
Hi,
Please apologize if my questions sounds somewhat 'stupid' to the
trained and experienced statisticians of you. Also I am not sure if I
used all terms correctly, if not then corrections are welcome.
I have asked myself the following question
same error
Any help appreciated.
Bob
p.s. I was not registered when I first sent this. I registered and it looks
like I have to resend so sorry of this gets sent twice
--
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty
.
--
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185Fax : +47-5558-9879 |
| Email : bac...@psych.uib.noURL : http
.
--
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185Fax : +47-5558-9879 |
| Email : bac...@psych.uib.noURL : http://www.galton.uib.no
your functions in part (a) and (b) using m=12 and m=14 respectively.
Any help with this question would be much appreciated. Thank you!
This looks like an assignment to me.
Tom
--
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty
Hans W. Borchers wrote:
Dear R-help,
I am looking for ideas and presentations of new and advanced data visualization
methods. As an example of what I am searching for, the 'Many Eyes' pages at
http://manyeyes.alphaworks.ibm.com/manyeyes/
may provide a good paradigm. I would be interested
Gábor Csárdi wrote:
Tom,
On Fri, Nov 14, 2008 at 4:35 PM, Tom Backer Johnsen [EMAIL PROTECTED] wrote:
Gabor:
Actually, I meant a script GUI management of ugraph I managed to locate on
the net.
Oh, ok, it will be part of igraph from the next version. But its
capabilities are very limited. We
Gábor Csárdi wrote:
On Sun, Nov 16, 2008 at 3:01 PM, Gábor Csárdi [EMAIL PROTECTED] wrote:
Tom,
On Fri, Nov 14, 2008 at 4:35 PM, Tom Backer Johnsen [EMAIL PROTECTED] wrote:
[...]
suspicion that if the relations between two vertices is non-symmetric, only
one of the is shown. Is it possible
Gábor Csárdi wrote:
On Sun, Nov 16, 2008 at 3:01 PM, Gábor Csárdi [EMAIL PROTECTED] wrote:
Tom,
On Fri, Nov 14, 2008 at 4:35 PM, Tom Backer Johnsen [EMAIL PROTECTED] wrote:
[...]
suspicion that if the relations between two vertices is non-symmetric, only
one of the is shown. Is it possible
I have a number of (directed) graphs based on social groups, where the
members have expresed likes and dislikes in respect to the other
members. tkgraph makes it simple to draw the graphs in a very pleasing
way, but I would like to differentiate between positive and negative
relations in the
=layout.kamada.kawai)
Gabor
On Fri, Nov 14, 2008 at 12:40 PM, Tom Backer Johnsen
[EMAIL PROTECTED] wrote:
I have a number of (directed) graphs based on social groups, where the
members have expresed likes and dislikes in respect to the other members.
tkgraph makes it simple to draw the graphs in a very pleasing
Greg Snow wrote:
No problem, adjusted R-squared can be negative. If there truly is no
relationship, then the adjusted R-squared should average to 0, so sometimes it
must be negative. All of your R-squared and adjusted R-squared values suggest
that there is not much of a relationship (less
Thomas Petzoldt wrote:
Hi Tom,
you may have a look at the CRAN package simecol, that has some examples
how to implement different types of dynamic models in R (differential
equations, grid models, individual based models).
Individual-based models (IBMs) are a model family used in ecology,
Thomas Petzoldt wrote:
Hi Tom,
you may have a look at the CRAN package simecol, that has some examples
how to implement different types of dynamic models in R (differential
equations, grid models, individual based models).
Individual-based models (IBMs) are a model family used in ecology,
, which seems to have what I need, and includes visualization as
well. As for Python, that is nice, but if I can do most of what I want
in R, I would prefer that.
Tom
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology
, experienced persons in the field, etc. would be very welcome.
Tom
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185
Martin Elff wrote:
Hi Tom,
my package 'memisc' contains a sort of an infrastructure for doing
simulations. As a fun exercise I also used it to create a 'toy' agent based
simulation of Schelling's neighbourhood model. Although it is not a serious
application, at least it shows that agent
Dieter Menne wrote:
Tom Backer Johnsen backer at psych.uib.no writes:
There
are also some parts of the documentation that I do not understand. The
list of functions includes things like HTML.lm, as far as I can see are
invisible, both in respect to documentation and usage.
This might
David Smith wrote:
Hi Tom,
We're in the process of updating the information on our website for
academic users, but in general we're making RPro available to academic
users free of charge. I'm just gathering the information from the
department in charge of the academic program, and I'll make
Greg Snow wrote:
Any timing is of course your decision, but my observation (being one of my
company's test cases for updating office) is that transitioning from MSWord
2003 to OpenOffice Writer will be less work/stress than transitioning from
MSWord 2003 to MSWord 2007.
That agrees with my
Greg Snow wrote:
Another alternative (since you asked) is the RExcel project
(http://rcom.univie.ac.at). I don't know if it will work better for your
projects or not, but it may be worth a look. The basic idea is that it uses
Excel as a front end and R as the background computational engine
Felipe Carrillo wrote:
Are you still can't get the data into R? I sent you this -mail last week, did
you read it?
Yes I did read it, and I have installed the package and looked at the
documentation. What I (after an admittently superficial inspection due
to limited available time this
Felipe Carrillo wrote:
I've responded to this one in the original thread.
Tom
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
Liviu Andronic wrote:
On Sat, Oct 25, 2008 at 9:05 PM, Tom Backer Johnsen [EMAIL PROTECTED] wrote:
I am a new user of R. My problem is how to read excel data files.
How can I read a file called stock in R. What statement I should use?
It could help to start learning R with a GUI like Rcmdr
Frank E Harrell Jr wrote:
Tom Backer Johnsen wrote:
Frank E Harrell Jr wrote:
Tom Backer Johnsen wrote:
I hadn't thought of the 'different random sample' approach. That's
neat.
Frank
Yes, I am quite proud of that. The program that does the sampling and
mailing is called Distras
To reply to myself, for anything that can be coerced into a table
(matrices, vectors) the best solution seems to to use the write.table ()
function to write a .csv file, which is easily opened with a spreadsheet.
The alternative is to use the HTML2clip () function (or the HTML
function) in
Frank E Harrell Jr wrote:
Tom Backer Johnsen wrote:
Frank E Harrell Jr wrote:
Tom Backer Johnsen wrote:
Frank E Harrell Jr wrote:
Tom Backer Johnsen wrote:
I hadn't thought of the 'different random sample' approach. That's
neat.
Frank
Yes, I am quite proud of that. The program
, Tom Backer Johnsen [EMAIL PROTECTED] wrote:
To reply to myself, for anything that can be coerced into a table (matrices,
vectors) the best solution seems to to use the write.table () function to
write a .csv file, which is easily opened with a spreadsheet.
The alternative is to use the HTML2clip
Gabor Grothendieck wrote:
I have sent an email to the maintainer about it.
Thanks!
Tom
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
Hans-Peter Suter wrote:
what about: ?write.xls from my xlsReadWrite package?
Sorry, I did not even think to look for something along the lines of
what the name of the package suggests. I'll have a look at it!
Tom
__
R-help@r-project.org mailing
Frank E Harrell Jr wrote:
Tom Backer Johnsen wrote:
Greg Snow wrote:
You may want to try the odfWeave package. It uses openoffice which
can read and write MSWord documents. This is an alternative to the
HTML Excel Word route.
Now that is an interesting alternative. Not for this term
the values in your file, and
na.strings = to whatever you identify your missing values with.
Tom
Best regards
Jasim
On Fri, Oct 24, 2008 at 10:30 PM, Tom Backer Johnsen
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
R-users
At the moment I am teaching a course on the use of R
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
Peter Dalgaard wrote:
Martin Privat wrote:
Simple question...
I would like to dump some summries of lm()'s to small seperate text
files.
I have looked at:
print(), but it don't support output to file
cat(), but it claims that 'sum1' is a list
write, but that just uses cat()...
The script
Alexandre Aguiar wrote:
Hi,
I noticed the temperature of my laptop rises sharply during execution of a
long R script that generates several hundred plots, all of them saved to
files. No screen output. Temps reached above 90 Celsius degrees in the box
and above 80 C deg in the processor. The
not want to confuse the system too much. So, that particular
point is dependent on the settisngs for his locale (language, country).
Tom
--
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University
hadley wickham wrote:
You might try using the reshape package instead:
last - function(x) x[length(x)]
names(d) - c(value, person, time)
cast(d, person ~ time, last)
The first and the last line I think is clear, although I will have to
experiment more to understand the call on cast () better.
In a research project we are using a web-based tools for collecting data
from questionnaire. The system generates files that are simple to read
as a data frame in the long format, which are simple to convert to the
wide format.
Something that might happen are: (a) there are two (multiple)
hadley wickham wrote:
On Tue, Jun 17, 2008 at 9:28 AM, Tom Backer Johnsen [EMAIL PROTECTED] wrote:
In a research project we are using a web-based tools for collecting data
from questionnaire. The system generates files that are simple to read as a
data frame in the long format, which
I have this frame in the long format which I want to convert to wide
format. There are three columns in the frame, the id for the rows in
the wide format, the name of the column where the final value (the third
column) is to be placed.
The complicating factor is that the long format is not
man4ish wrote:
I am trying to calculate the regression for the follwing input data stored in
'data.txt' file.I am reading this and storing it in the variable i .then i
am trying to get the predicted value using f1 as dependent and others
f2f10 as independent variables.It is giving the
ermimi wrote:
Hello!!!
I have been read a much about as read data from Excel File, but I haven´t
found the necesary information to read the data.
Now, I can create a channel : channel - odbcConnectExcel(file.xls) but I
don´t know as read the data??
I hope that you could help me. Thank
Antony Unwin wrote:
.
The course itself went very well. We encouraged people to bring their
laptops and work in groups. Using JGR as the interface to R helped a
lot, as it was easier for people to load their own data and use the
help. Of course, JGR is
Scott Romans wrote:
If we have a function that returns 2 or more values (such as dim as
applied to a matrix), can we assign these 2 or more values to an equal
number of differently named variables in one line? For example, is
there any way to do something like this:
[NumberRows
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
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
of Public Health
Catholic University of Leuven
Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://med.kuleuven.be/biostat/
http://www.student.kuleuven.be/~m0390867/dimitris.htm
- Original Message -
From: Tom Backer Johnsen [EMAIL
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
Tom Backer Johnsen wrote:
Henrique Dallazuanna wrote:
Try this:
prop.table(table(data), 1)
Ah. I misunderstood Peter Dalgaard (unnskyld Peter!). That gives what
I want. Thank you!
Tom
On 07/02/2008, Tom Backer Johnsen [EMAIL PROTECTED] wrote:
I an stumbling on something
Christofer wrote:
Hi Tom,
Do you have a soft copy of that? Can I get a copy of that book?
As far as I know, you have to buy it. That is what I did.
Tom
Regards,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Backer Johnsen
Sent
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
Tom Backer Johnsen wrote:
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
Johannes Hüsing wrote:
Tom Backer Johnsen [EMAIL PROTECTED] [Fri, Jan 11, 2008 at 06:57:41PM CET]:
[...]
Are there something that can handle this in R?
Have you considered the coin package?
I'll have a look at it.
After a few hours thinking on and off about the problem, I suspect
.
--
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185Fax : +47-5558-9879 |
| Email : [EMAIL PROTECTED]URL : http://www.galton.uib.no
Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185Fax : +47-5558-9879 |
| Email : [EMAIL PROTECTED]URL : http://www.galton.uib.no
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
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.
--
++
| Tom Backer Johnsen
/base/rw-FAQ.html#Can-I-run-R-from-a-CD-or-USB-drive_003f
Hope this helps,
Roland
Tom Backer Johnsen wrote:
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
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185Fax : +47-5558-9879 |
| Email : [EMAIL PROTECTED]URL : http://www.galton.uib.no
documentation for the programs? Is that in the
Spinger book?
Tom
++
| Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology |
| University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY |
| Tel : +47-5558-9185
81 matches
Mail list logo