..@gmail.com]
Sent: July 16, 2014 10:47 AM
To: Fowler, Mark; r-h...@stat.math.ethz.ch
Subject: Re: [R] two questions - function help and 32vs64 bit sessions
On 14/07/2014, 11:42 AM, Fowler, Mark wrote:
> Hello,
>
>
>
> Two unrelated questions, and neither urgent.
>
>
&g
murdoch.dun...@gmail.com]
Sent: July 16, 2014 10:47 AM
To: Fowler, Mark; r-h...@stat.math.ethz.ch
Subject: Re: [R] two questions - function help and 32vs64 bit sessions
On 14/07/2014, 11:42 AM, Fowler, Mark wrote:
> Hello,
>
>
>
> Two unrelated questions, and neither urgent.
&
On 14/07/2014, 11:42 AM, Fowler, Mark wrote:
> Hello,
>
>
>
> Two unrelated questions, and neither urgent.
>
>
>
> Windows 7, R 3.0.1. Using R Console, no fancy interface.
>
>
>
> The function help ultimately becomes lost to a session kept running for
> extended periods (days). I.e. wit
-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Jim Lemon
Sent: July 15, 2014 12:17 AM
To: r-help@r-project.org
Subject: Re: [R] two questions - function help and 32vs64 bit sessions
On Mon, 14 Jul 2014 01:42:54 PM Fowler, Mark wrote:
> He
2014 12:17 AM
To: r-help@r-project.org
Subject: Re: [R] two questions - function help and 32vs64 bit sessions
On Mon, 14 Jul 2014 01:42:54 PM Fowler, Mark wrote:
> Hello,
>
>
>
> Two unrelated questions, and neither urgent.
>
>
>
> Windows 7, R 3.0.1. Usi
On Mon, 14 Jul 2014 01:42:54 PM Fowler, Mark wrote:
> Hello,
>
>
>
> Two unrelated questions, and neither urgent.
>
>
>
> Windows 7, R 3.0.1. Using R Console, no fancy interface.
>
>
>
> The function help ultimately becomes lost to a session kept running
for
> extended periods (days). I.e
I don't know any definitive answer for either if your questions, but I have a
comment that may explain why I have not encountered these issues.
At one time I used to use RData files the way you are, but I discovered the
value of re-running my analysis scripts from scratch regularly... as in doze
Richard,
This worked perfectly (adding # before "update"). Thank you so much for
your help. I've bought a couple of books on R Graphics so I can learn
this stuff better.
Will
On 9/23/2013 1:08 PM, Richard Kwock wrote:
Hi,
Getting text to show on the panel plots is a bit trickier, but doabl
Hi,
Getting text to show on the panel plots is a bit trickier, but doable.
# append to the dataset the mean for each group and line
d66df_mns <- cbind(d66df, "Means" = c(rep(c(mn1, mn2, mn3), each = 6)))
# set the y_lim to extend a bit further above the graph to allow for
the means to be display
Dear Richard, your solution to the second question worked like a charm.
Thanks! So much to learn about this stuff, but at least it is fun.
On the first question, yes, I want a text to display the mean in each of
the 12 panels.
Will
On 9/23/2013 11:23 AM, Richard Kwock wrote:
Hi,
To answer
Hi,
To answer your second question you can do something like this:
p<-xyplot(dvy ~ sessidx | case, group = numph, data=d66df, col = c(1:4),
layout=c(1, 3), xlab= "Sessions",
ylab = "Number of Seconds",
type="l")
update(p, panel=function(...){
panel.xyplot(...)
panel.a
ot; "response2"
A.K.
- Original Message -
From: Özgür Asar
To: r-help@r-project.org
Cc:
Sent: Sunday, September 16, 2012 12:26 PM
Subject: Re: [R] two questions about character manipulation
Dear Rui Barradas and Michael Weylandt,
Many thanks for your replies.
My second question
Hello,
This should do it. You can collapse the first two instructions, but I've
left it like this for clarity.
s <- unlist(strsplit(ex, "[,)[:blank:]]"))
s <- gsub("^.*\\$", "", s)
s[nchar(s) > 0]
Rui Barradas
Em 16-09-2012 17:26, Özgür Asar escreveu:
Dear Rui Barradas and Michael Weylandt,
Dear Rui Barradas and Michael Weylandt,
Many thanks for your replies.
My second question is solved now.
But I think I did not expressed my first wish in a clear way
Indeed,
in ex<-"cbind(data$response1,data$response2),
I want to extract the variable name between "$" and "," (corresponds to
Hello,
Try the following.
1)
pattern <- "response."
m <- regexpr(pattern, ex) #gregexpr to get all "response"
regmatches(ex, m)
2)
gsub("\\$", "\\.", ex)
Hope this helps,
Rui Barradas
Em 16-09-2012 15:35, Özgür Asar escreveu:
Dear all,
I want to manipulate a character string such as
ex<-"c
On Sun, Sep 16, 2012 at 3:35 PM, Özgür Asar wrote:
> Dear all,
>
> I want to manipulate a character string such as
>
> ex<-"cbind(data$response1,data$response2)"
>
> in R in two ways:
>
> 1) extracting the "response1" portion of ex
I'm not sure what you mean by "portion" -- if you just want
"resp
On Sun, 22 Jul 2012 22:05:14 -0700 Bert Gunter
wrote:
> >
> > On Sun, Jul 22, 2012 at 8:26 PM, Ranjan Maitra
> > wrote:
> >>
> >>> Just reset the levels of z$sigma (and also redefine sigmaExpr):
> >>>
> >>>z$sigma <- factor(z$sigma,
> >>>levels = c(5,10,20,30,50)) # new l
There's a typo below. It's Deepayan Sarkar.
-- Bert
On Sun, Jul 22, 2012 at 9:55 PM, Bert Gunter wrote:
> inline.
>
> -- Bert
>
> On Sun, Jul 22, 2012 at 8:26 PM, Ranjan Maitra
> wrote:
>>
>>> Just reset the levels of z$sigma (and also redefine sigmaExpr):
>>>
>>>z$sigma <- factor(z$sigma,
> Just reset the levels of z$sigma (and also redefine sigmaExpr):
>
>z$sigma <- factor(z$sigma,
>levels = c(5,10,20,30,50)) # new levels order
>
>sigmaExprList <- lapply(as.numeric(levels(z$sigma)),
>function(s) bquote(sigma == .(s)))
>
On 2012-07-22 19:09, Ranjan Maitra wrote:
On Sun, 22 Jul 2012 18:58:39 -0700 Peter Ehlers
wrote:
On 2012-07-22 18:03, Ranjan Maitra wrote:
[I had to dig back to see what your Q2 was. It's good to keep context.]
Try this:
p <- bwplot(Error~Method | sigma + INU, data = z,
s
On Sun, 22 Jul 2012 18:58:39 -0700 Peter Ehlers
wrote:
> On 2012-07-22 18:03, Ranjan Maitra wrote:
> >
> [I had to dig back to see what your Q2 was. It's good to keep context.]
>
> Try this:
>
> p <- bwplot(Error~Method | sigma + INU, data = z,
> scale
On 2012-07-22 18:03, Ranjan Maitra wrote:
[I had to dig back to see what your Q2 was. It's good to keep context.]
Try this:
p <- bwplot(Error~Method | sigma + INU, data = z,
scales = list(rot=90), horiz = FALSE,
layout = c(5,3), col = "red")
require(latticeExtra
> >> [I had to dig back to see what your Q2 was. It's good to keep context.]
> >>
> >> Try this:
> >>
> >>p <- bwplot(Error~Method | sigma + INU, data = z,
> >> scales = list(rot=90), horiz = FALSE,
> >> layout = c(5,3), col = "red")
> >>
> >>require(latticeExtra)
> >>
On 2012-07-22 15:58, Ranjan Maitra wrote:
On Sun, 22 Jul 2012 15:04:36 -0700 Peter Ehlers
wrote:
On 2012-07-22 09:02, Ranjan Maitra wrote:
Dear friends,
Many thanks to Jim (Holtman) and David (Carlson) for their quick
responses: Q1 is now solved. There are two almost equivalent ways for
doin
On Sun, 22 Jul 2012 15:04:36 -0700 Peter Ehlers
wrote:
> On 2012-07-22 09:02, Ranjan Maitra wrote:
> > Dear friends,
> >
> > Many thanks to Jim (Holtman) and David (Carlson) for their quick
> > responses: Q1 is now solved. There are two almost equivalent ways for
> > doing this. They follow:
> >
On 2012-07-22 09:02, Ranjan Maitra wrote:
Dear friends,
Many thanks to Jim (Holtman) and David (Carlson) for their quick
responses: Q1 is now solved. There are two almost equivalent ways for
doing this. They follow:
library(lattice)
z <- rbind(cbind(z, 0), cbind(z, 20), cbind(z, 40))
z <- cbind
Dear friends,
Many thanks to Jim (Holtman) and David (Carlson) for their quick
responses: Q1 is now solved. There are two almost equivalent ways for
doing this. They follow:
library(lattice)
z <- rbind(cbind(z, 0), cbind(z, 20), cbind(z, 40))
z <- cbind(z, rnorm(n = nrow(z)))
z <- as.data.frame(z
Take a look at useOuterStrips() in package latticeExtra.
---
David
> -Original Message-
> From: David L Carlson [mailto:dcarl...@tamu.edu]
> Sent: Saturday, July 21, 2012 6:51 PM
> To: 'jim holtman'; 'Ranjan Maitra'
> Cc: 'r-help@r-project.
oject.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of jim holtman
> Sent: Saturday, July 21, 2012 5:57 PM
> To: Ranjan Maitra
> Cc: r-help@r-project.org
> Subject: Re: [R] two questions re: the use of lattice
>
> Answer to you first question, try this at the start of
Answer to you first question, try this at the start of bwplot to
specify ordering:
bwplot(Error~factor(Method, levels = unique(Method))
On Sat, Jul 21, 2012 at 2:42 PM, Ranjan Maitra
wrote:
> Dear friends,
>
> I have two questions regarding the use of lattice. First some code:
>
>
> ## begin cod
When running a large number of commands from a script that produces multiple
plots it is often best to send the plots to the pdf device (or other system)
that you can then page through after it is finished. You could also specify
par(ask=TRUE) then you would be prompted before changing the plot
> From: Stephen P Molnar
> Subject: [R] Two Questions
> To: "R-help"
> Received: Wednesday, April 20, 2011, 9:23 AM
> 1. What is a really good book on
> R for a nonprogrammer?
Have a look at the books listed on the R website.
Books by Peter Dalgaard, Phil Spector, Michael Crawley & Joh
On Apr 20, 2011, at 9:23 AM, Stephen P Molnar wrote:
Sorry for the somewhat nondescript subject line, but I have two
questions:
1.What is a really good book on R for a nonprogrammer?
2. How do I open more than one R Graphics: Device 2(ACTIVE).
That
what is the R command
On 20/04/2011 9:23 AM, Stephen P Molnar wrote:
Sorry for the somewhat nondescript subject line, but I have two questions:
1.What is a really good book on R for a nonprogrammer?
Any book that teaches you the basics of programming would be good, it
doesn't need to be about R. If you
orary Research Fellow
Department of Education
The University of Manchester
Oxford Road, Manchester M13 9PL, UK
Tel. 0044 161 275 3485
iasonas.lampria...@manchester.ac.uk
--- On Wed, 8/9/10, Greg Snow wrote:
> From: Greg Snow
> Subject: RE: [R] two questions
> To: "Iasonas Lampri
p-boun...@r-
> project.org] On Behalf Of Iasonas Lamprianou
> Sent: Tuesday, September 07, 2010 12:25 AM
> To: juan xiong; Dennis Murphy
> Cc: r-help@r-project.org
> Subject: Re: [R] two questions
>
> By the way, ordinal regression would require huge datasets because my
> de
Hi:
On Mon, Sep 6, 2010 at 5:26 PM, juan xiong wrote:
> Maybe Friedman test
>
The Friedman test corresponds to randomized complete block designs, not
general two-way classifications. David's advice is sound, but also
investigate proportional odds models (e.g., lrm in Prof. Harrell's rms
package
of Manchester
Oxford Road, Manchester M13 9PL, UK
Tel. 0044 161 275 3485
iasonas.lampria...@manchester.ac.uk
--- On Tue, 7/9/10, Dennis Murphy wrote:
From: Dennis Murphy
Subject: Re: [R] two questions
To: "juan xiong"
Cc: "David Winsemius" , r-help@r-project.org, "I
3485
iasonas.lampria...@manchester.ac.uk
--- On Tue, 7/9/10, Dennis Murphy wrote:
From: Dennis Murphy
Subject: Re: [R] two questions
To: "juan xiong"
Cc: "David Winsemius" , r-help@r-project.org, "Iasonas
Lamprianou"
Date: Tuesday, 7 September, 2010, 4:47
Hi:
On Mon,
Maybe Friedman test
On Mon, Sep 6, 2010 at 4:47 PM, David Winsemius wrote:
> The usual least-squares methods are fairly robust to departures from
> normality. Furthermore, it is the residuals that are assumed to be normally
> distributed (not the marginal distributions that you are probably looki
The usual least-squares methods are fairly robust to departures from
normality. Furthermore, it is the residuals that are assumed to be
normally distributed (not the marginal distributions that you are
probably looking at) , so it does not sound as though you have yet
examined the data prop
On 06/01/2010 12:44 AM, Jie TANG wrote:
here ,I want to plot two lines in one figure.But I have two problems
1) how to move one of the y-axis to be the right ? I tried to the
command"axis(2)",But I failed.
2) how to add the axis information correctly.Since I have use the cmommand
"axis(1,at=1:6,l
It may not be the nicest solution, but my suggestion should work.
Have you tried plot(type="n",...), plotting the axes with axis(), and
plotting the data with lines()?
Ivan
Le 6/1/2010 10:10, Jie TANG a écrit :
> thanks for your reply.
> I have tried to use rseek.org.But still some problems.
>
thanks for your reply.
I have tried to use rseek.org.But still some problems.
When I add "axis(4)" and axis(1,at=1:6,labels=gradeinfo$gradenam),the old
tick or labels still
are there as shown in the figure,how could I delete them( the old tick
information in x-axis and left y axis )
My script is s
I would wote this question one of the most often asked questions here on
that list ;-). Try searching the help archiwe (www.rseek.org) and you
will find solutions. I would guess that you need to use something like:
axis(4)
as the sides of the plot are always numbered from bottom,left,top,right
Hi,
Not sure it is the best solution, but I would create the layout of the
plot part by part:
plot(type="n") #does not plot
axis(1, at=1:6,...) #set the x-axis at the bottom
axis(4,...) #set the y-axis on the right. I'm not sure that's what you
were looking for, didn't really understand it
lines
As far as large data sets, I've just discovered readLines and writeLines
functions. I'm using it now to read in single rows, calculate things on
them, and then write a single row to a file.
--
View this message in context:
http://r.789695.n4.nabble.com/Two-Questions-on-R-call-by-reference-and-p
Thank all of you!
On 05/05/2010 12:08 AM, Steve Lianoglou wrote:
Hi,
On Tue, May 4, 2010 at 5:05 PM, Ruihong Huang
wrote:
Hi All,
I have two questions on R. Could you please explain them to me? Thank you!
1) When call a function, R typically copys the values to formal arguments
(call
On 04/05/2010 5:05 PM, Ruihong Huang wrote:
Hi All,
I have two questions on R. Could you please explain them to me? Thank you!
1) When call a function, R typically copys the values to formal
arguments (call by value). This is very cost, if I would like to pass a
huge data set to a function. I
Hi,
On Tue, May 4, 2010 at 5:05 PM, Ruihong Huang
wrote:
> Hi All,
>
> I have two questions on R. Could you please explain them to me? Thank you!
>
> 1) When call a function, R typically copys the values to formal arguments
> (call by value).
This is technically incorrect.
As far as I know, R h
On 03/26/2010 02:58 PM, Steve Powell wrote:
For psychologists like me (possibly for others) by far the most
time-consuming detail is variable labels. I need them for just about
every analysis I do. We can use special packages like Hmisc and its
function spss.get to import the labels, but then nea
For psychologists like me (possibly for others) by far the most
time-consuming detail is variable labels. I need them for just about
every analysis I do. We can use special packages like Hmisc and its
function spss.get to import the labels, but then nearly all the other
packages don't respect the l
Dear Faiz,
I believe that your basic issue is that you are trying to use
frequencies directly. table() needs all the arguments to be of the
same length, because it counts the frequencies from raw data. So for
two variables, you need pairs of scores indicating whether there was a
birth complicati
> There is no missing value, and the sample size is 84.
>
> Best regards,
> Faiz.
>
> - Original Message -
> *From:* Tal Galili
> *To:* Faiz Rasool
> *Sent:* Sunday, March 14, 2010 1:04 AM
> *Subject:* Re: [R] Two questions, first about contingency tables, and
Patrick,
1. Implicit intercepts. Implicit intercepts are not too bad for the main
model, but they creep in occasionally in strange places where they might not
be expected. For example, in some of the variance structures specified in
lme, (~x) automatically expands to (~1+x). Venables said in th
Linux
R, but couldn´t keep the R-devel versions updated. Some more step-by-step would
help sometimes.
Thanks for a great tool!
> Date: Tue, 2 Mar 2010 12:44:23 -0600
> From: keo.orms...@gmail.com
> To: landronim...@gmail.com
> CC: r-help@r-project.org; pbu...@pburns.seanet.com
&
with some of the niceties.
Sincerely,
KeithC.
-Original Message-
From: John Sorkin [mailto:jsor...@grecc.umaryland.edu]
Sent: Tuesday, March 02, 2010 4:46 AM
To: Karl Ove Hufthammer; r-h...@stat.math.ethz.ch
Subject: Re: [R] two questions for R beginners
Please take what follows no
On 03/04/2010 08:20 AM, David Winsemius wrote:
...
Perhaps the print methods for data.frame and matrix
should announce the class of the object being printed.
Yes! An enthusiastic vote for highlighting this fundamental distinction.
There is already quite enough conflation of these two very diss
: r-help@r-project.org
Subject: Re: [R] two questions for R beginners
I think Duncan's example of a list that is
a matrix is a compelling argument not to do
the change.
A matrix that is a list with both names and
dimnames *is* probably rare (but certainly
imaginable). A matrix that is a li
nounce the class of the object being printed.
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of Patrick Burns
> Sent: Wednesday, March 03, 2010 2:44 AM
> To: r-
...@r-project.org] On Behalf Of Patrick Burns
> Sent: Wednesday, March 03, 2010 2:44 AM
> To: r-help@r-project.org
> Subject: Re: [R] two questions for R beginners
>
> I think Duncan's example of a list that is
> a matrix is a compelling argument not to do
> the change
Hi
that is why I consider matrix is just a vector with dimensions and
data.frame is a rectangular structure similar to Excel table. That saved
me a lot of surprises.
But I must admit I am not a real beginner nowadays although I still learn
when using R, reading help list and trying sometimes
Petr,
On the other hand . . .
> mat<-matrix(1:12, 3,4)
> dat<-as.data.frame(mat)
> mat
[,1] [,2] [,3] [,4]
[1,]147 10
[2,]258 11
[3,]369 12
> dat
V1 V2 V3 V4
1 1 4 7 10
2 2 5 8 11
3 3 6 9 12
What you are demonstrating by your example is th
"John Sorkin" napsal dne 01.03.2010
15:19:10:
> If it looks like a duck and quacks like a duck, it ought to behave like
a duck.
>
> To the user a matrix and a dataframe look alike . . . except a dataframe
can
Well, matrix looks like a data.frame only on the first sight.
mat<-matrix(1:12, 3
March 02, 2010 3:46 AM
> To: Karl Ove Hufthammer; r-h...@stat.math.ethz.ch
> Subject: Re: [R] two questions for R beginners
> > Please take what follows not as an ad hominem statement, but >
rather as an attempt to improve what is already an excellent >
program, that has be
On Mar 2, 2010, at 8:01 AM, Paul Hiemstra wrote:
Brandon Zicha wrote:
Hey Paul,
Hey Brandon, (adding R-help in the cc)
I agree with you that the documentation of R could be better,
especially with more examples in code showing not only the common
cases, but also more esoteric cases. It w
Liviu Andronic escribió:
On Mon, Mar 1, 2010 at 11:49 PM, Liviu Andronic wrote:
On 3/1/10, Keo Ormsby wrote:
Perhaps my biggest problem was that I couldn't (and still haven't) seen
*absolute beginners* documents.
there was once a link posted on r-sig-teaching that would prob
n the future.
John
John Sorkin
jsor...@grecc.umaryland.edu
-Original Message-
From: "William Dunlap"
To: John Sorkin
To: Karl Ove Hufthammer
To:
Sent: 3/2/2010 11:53:45 AM
Subject: RE: [R] two questions for R beginners
> -Original Message-
> From: r-help-
On 02/03/2010 11:53 AM, William Dunlap wrote:
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of John Sorkin
> Sent: Tuesday, March 02, 2010 3:46 AM
> To: Karl Ove Hufthammer; r-h...@stat.math.ethz.ch
> Su
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of John Sorkin
> Sent: Tuesday, March 02, 2010 3:46 AM
> To: Karl Ove Hufthammer; r-h...@stat.math.ethz.ch
> Subject: Re: [R] two questions for R beginners
>
Brandon Zicha wrote:
Hey Paul,
Hey Brandon, (adding R-help in the cc)
I agree with you that the documentation of R could be better, especially
with more examples in code showing not only the common cases, but also
more esoteric cases. It would be great if everyone invested a lot of
time to w
On Tue, Mar 2, 2010 at 7:27 AM, Duncan Murdoch wrote:
> John Sorkin wrote:
>>
>> Please take what follows not as an ad hominem statement, but rather as an
>> attempt to improve what is already an excellent program, that has been built
>> as a result of many, many hours of dedicated work by many, m
guess.
~~
--- On Tue, 3/2/10, Brandon Zicha wrote:
From: Brandon Zicha
Subject: Re: [R] two questions for R beginner
To: r-help@r-project.org
Date: Tuesday, March 2, 2010, 12:31 PM
>>> What were your biggest misconce
John Sorkin wrote:
Please take what follows not as an ad hominem statement, but rather as an
attempt to improve what is already an excellent program, that has been built as
a result of many, many hours of dedicated work by many, many unpaid, unsung
volunteers.
It troubles me a bit that when a
On Tue, 2 Mar 2010 12:31:45 +0100 Brandon Zicha
wrote:
> Easy. I terms of materials I have been unable to find good books that
> introduce users to R from the perspective of someone familiar only
> with packages like SPSS or STATA,
Have you read these books:
R for SAS and SPSS Users
http:/
Brandon Zicha wrote:
What were your biggest misconceptions or
stumbling blocks to getting up and running
with R?
Easy. I terms of materials I have been unable to find good books that
introduce users to R from the perspective of someone familiar only
with packages like SPSS or STATA, or not f
Please take what follows not as an ad hominem statement, but rather as an
attempt to improve what is already an excellent program, that has been built as
a result of many, many hours of dedicated work by many, many unpaid, unsung
volunteers.
It troubles me a bit that when a confusing aspect of
What were your biggest misconceptions or
stumbling blocks to getting up and running
with R?
Easy. I terms of materials I have been unable to find good books that
introduce users to R from the perspective of someone familiar only
with packages like SPSS or STATA, or not familiar with statist
On Mon, Mar 1, 2010 at 11:49 PM, Liviu Andronic wrote:
> On 3/1/10, Keo Ormsby wrote:
>> Perhaps my biggest problem was that I couldn't (and still haven't) seen
>> *absolute beginners* documents.
>>
> there was once a link posted on r-sig-teaching that would probably fit
> your needs, but I cann
On Mon, 01 Mar 2010 10:00:07 -0500 Duncan Murdoch
wrote:
> Suppose X is a dataframe or a matrix. What would you expect to get from
> X[1]? What about as.vector(X), or as.numeric(X)?
All this of course depends on type of object one is speaking of. There
are plenty of surprises available, and
On Tue, 2 Mar 2010 08:58:25 +1300 Peter Alspach
wrote:
> This brings up another confusion for new users. Simply typing the
> object name at the command line gives just one view of the object (that
> provided by print()).
Good point. Any good introduction to R should include a brief discussion
>I would love to see a text oriented towards someone who has never used
anything but Excel, but realizes >that to do science today you have to go
beyond the "Data analysis" toolbar from Excel.
>(Plese tell me if you know of any)
>Best to all,
>Keo.
Please look at *R through Excel, *the book that E
Background: During my uni days, I was taught to use MAPLE, MATLAB,
SPSS, SAS, C++ and Java. Then after uni, several years went by without
me ever using any of them again and was told to just use Excel. Then I
started my PhD and was told I should start using R instead (something
I'd never even heard
Liviu Andronic escribió:
On 3/1/10, Keo Ormsby wrote:
Perhaps my biggest problem was that I couldn't (and still haven't) seen
*absolute beginners* documents.
Perhaps http://www.r-tutor.com/? Also recently a webinar on R [2] was
held and it hosts complete course notes and recordings. O
On 3/1/10, Keo Ormsby wrote:
> Perhaps my biggest problem was that I couldn't (and still haven't) seen
> *absolute beginners* documents.
>
Perhaps http://www.r-tutor.com/? Also recently a webinar on R [2] was
held and it hosts complete course notes and recordings. Otherwise,
there was once a link
Patrick Burns escribió:
* What were your biggest misconceptions or
stumbling blocks to getting up and running
with R?
* What documents helped you the most in this
initial phase?
I especially want to hear from people who are
lazy and impatient.
Feel free to write to me off-list. Definitely
wri
On 01-Mar-10 22:44:22, Jim Lemon wrote:
> On 03/02/2010 02:02 AM, Karl Ove Hufthammer wrote:
>>...
>> Of course I agree that 'the idea of a list is so fundamental to R that
>> it needs to be something learned pretty early', but is there any harm
>> in
>> slightly 'blur[ing] the distinction between
On 03/02/2010 02:02 AM, Karl Ove Hufthammer wrote:
...
Of course I agree that 'the idea of a list is so fundamental to R that
it needs to be something learned pretty early', but is there any harm in
slightly 'blur[ing] the distinction between dataframes and matrices', as
a convenience to the user
> On 01/03/2010 9:19 AM, John Sorkin wrote:
> If it looks like a duck and quacks like a duck, it ought to
> behave like a duck.
>
This brings up another confusion for new users. Simply typing the
object name at the command line gives just one view of the object (that
provided by print()). Rea
On 01/03/2010 11:33 AM, hadley wickham wrote:
> Suppose X is a dataframe or a matrix. What would you expect to get from
> X[1]? What about as.vector(X), or as.numeric(X)?
>
> The point is that a dataframe is a list, and a matrix isn't. If users don't
> understand that, then they'll be confused
;-)
Albert-Jan
~~
In the face of ambiguity, refuse the temptation to guess.
~~
--- On Mon, 3/1/10, Patrick Burns wrote:
From: Patrick Burns
Subject: Re: [R] two questions for R beginners
To: r-help@r-p
> Suppose X is a dataframe or a matrix. What would you expect to get from
> X[1]? What about as.vector(X), or as.numeric(X)?
>
> The point is that a dataframe is a list, and a matrix isn't. If users don't
> understand that, then they'll be confused somewhere. Making matrices more
> list-like in
If it looks like a duck and quacks like a duck,
you ought to treat it like a duck. That is,
use two subscripts:
x[i, j]
If you are an ornithologist, then you will know
more precisely what can be done.
Pat
On 01/03/2010 14:19, John Sorkin wrote:
If it looks like a duck and quacks like a duck
On Mon, 01 Mar 2010 14:50:57 - (GMT) ted.hard...@manchester.ac.uk
wrote:
> as.character(pi)
> # [1] "3.14159265358979"
>
> That raises a few questions about "expectations" too!
Expectations can indeed be dangerous. I have been bitten by this one:
as.numeric(as.character(pi))
It works
On Mon, 01 Mar 2010 12:25:20 - (GMT) ted.hard...@manchester.ac.uk
wrote:
> > A similar type of overloading is used in the 'sp' class functions,
> > where you can basically treat a 'SpatialPointsDataFrame', a
> > 'SpatialLinesDataFrame' or a 'SpatialPolygonsDataFrame' as a data
> > frame,
>
On Mon, Mar 1, 2010 at 4:02 PM, Karl Ove Hufthammer wrote:
> On Mon, 01 Mar 2010 09:09:11 -0500 Duncan Murdoch
> wrote:
>> >> The reason for the difference is that data.frames are lists organized
>> >> into columns (so the $ handling comes from the list, where it means
>> >> "extract the componen
> One of the things about R which many (and that certainly includes
> me) have to find out the hard way is that you have to *learn*
> what to expect! You can't just import it from prior experience in
> other contexts. So, by the time you have learned that a matrix
> is such that all its elements mu
On Mon, 01 Mar 2010 09:09:11 -0500 Duncan Murdoch
wrote:
> >> The reason for the difference is that data.frames are lists organized
> >> into columns (so the $ handling comes from the list, where it means
> >> "extract the component") whereas a matrix is a single vector displayed
> >> in colum
On 01/03/2010 9:19 AM, John Sorkin wrote:
If it looks like a duck and quacks like a duck, it ought to behave like a duck.
To the user a matrix and a dataframe look alike . . . except a dataframe can
hold non-numeric values. Thus to the users, a matrix looks like a special case
of a DF, or perh
On 01-Mar-10 13:57:08, Petr PIKAL wrote:
> Hi
> r-help-boun...@r-project.org napsal dne 01.03.2010 13:03:24:
> < snip>
>> > I understand that 2 dimensional rectangular matrix looks quite
>> > similar to data frame however it is only a vector with dimensions.
>> > As such it can have items of only o
1 - 100 of 155 matches
Mail list logo