the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv
On Oct 23, 2013, at 20:04 , MacQueen, Don wrote:
Follow these examples:
grep(5,1:10)
[1] 5
grep(3, c(1,5,2,3,6))
[1] 4
Don't:
grep(5,1:15)
[1] 5 15
-pd
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
), c(n, N-n)))
y - data[ix,]
x - data[!ix,]
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 peter dalgaard
Sent: Wednesday, October 23, 2013 12:37 PM
To: erinu
Cc
.
__
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, self-contained, reproducible code.
--
Peter Dalgaard
/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.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone
] 0.01002759
Notice that we can get the first equation satisfied exactly, but then the 2nd
one overshoots by an amount which is increasing in Y2. We could fix that by
decreasing Y2 but that violates the constraint.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
/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.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45
guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda
the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk
?
(No-one intended to use it in production code. The mystery is that it -
reportedly - threw an error for the original poster, but not for anyone else.)
-pd
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45
) there will be
overdispersion.
This is a good point. But why do find such effects in the middle of my data?
Thanks
Hermann
2013/10/3 peter dalgaard pda...@gmail.com
It's not so obvious to me that this is an artifact. What prcomp() says is
that some of the eigenvectors have a lot of activity in some
On Oct 4, 2013, at 21:16 , Mary Kindall wrote:
Y[Y mean(Y)] = 0 #My edit
Y[Y = mean(Y)] = 1 #My edit
I have no clue about gbm, but I don't think the above does what I think you
think it does.
Y - as.integer(Y = mean(Y))
might be closer to the mark.
--
Peter Dalgaard, Professor
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
://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.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
for various platforms will appear in due course.
For the R Core Team
Peter Dalgaard
These are the md5sums for the freshly created files, in case you wish
to check that they are uncorrupted:
MD5 (AUTHORS) = cbf6da8f886ccd8d0dda0cc7ffd1b8ec
MD5 (COPYING) = eb723b61539feef013de476e68b5c50a
MD5
, which is usually not desirable if the magnitude of the values
matters. It gets a bit awkward if there are nonpositive (or very large) values,
though. A better solution could be table(factor(x, levels=35:85)).
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
way --- without the saving and loading bit --- I got
the same result that you did. I.e. assigning the class that way did *not*
work (as one would expect it wouldn't!).
This is weird, n'est-ce pas?
A bug, I'm pretty sure.
-p
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen
On Sep 11, 2013, at 07:53 , Bembi Prima wrote:
I have seen ?Startup and already update .RProfile in home folder, but as I
already said it just affected user's Rprofile, not the global one.
So you didn't read the parts about Rprofile.site?
--
Peter Dalgaard, Professor
Center for Statistics
://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.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000
)
as.data.frame(l)
city state normalRain meanDaysRain
1NomeAK 2.50 15
2 MiamiFL 6.75 18
3 RaleighNC NA 12
(or use a named list for the what= argument)
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R
-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch
packages should be
finalized 14 days before release.
For the R Core Team
Peter Dalgaard
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
zero.
(a few lines above, we have
YATES - min(0.5, abs(x - E))
which avoids the embarrassment of a positive chi-square when x==E).
If YATES==0, he squaring of course makes abs() superfluous.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg
__
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, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center
://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
)?
-pd
Alex
On 08/09/2013 04:00 PM, peter dalgaard wrote:
On Aug 9, 2013, at 13:26 , Rui Barradas wrote:
Hello,
Maybe the following gives you some idea on how to vary the terms.
idx - 1:5 # or any other indexes
ftext - paste(terms[idx], collapse = ' * ')
You're not the first to use
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r
.
__
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, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center
.
The most obvious guess is that rs isn't what you think it should be, so how
about showing us the result of str(rs)?
-pd
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda
commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help
/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
deleted]]
__
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, self-contained, reproducible code.
--
Peter
(filenames[i], headers=TRUE, sep=',')
}
Regards
Jannetta
On 11 July 2013 13:27, peter dalgaard pda...@gmail.com wrote:
On Jul 11, 2013, at 13:50 , Dante.py wrote:
Maybe you should set parameter as.is in read.csv to be false.
TRUE more likely... However, there's another issue
coefficient-2D corelation between (x,y) and
(x1,y1) where x and x1 are same.
On Tue, Jul 9, 2013 at 2:27 PM, peter dalgaard pda...@gmail.com wrote:
On Jul 9, 2013, at 07:30 , smriti Sebastian wrote:
I need to find the 2d corelation betwee two datasets which are having
common x-values.Is
On Jul 9, 2013, at 07:30 , smriti Sebastian wrote:
I need to find the 2d corelation betwee two datasets which are having
common x-values.Is there any way to find 2D corelation in R?
If you can tell us what the definition is
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen
success.
Presumably the ^.* is too greedy. Perhaps add a space? I.e.,
gsub(^.* ([[:di..
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
] 6,13 6,13 6,13
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org mailing list
https
) instead of the McNemar test?
[snip]
Not an R question. Try http://stats.stackexchange.com instead?
It probably has a no-homework rule too, though
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R
it can't be done. You really can be in a situation where you reject
the global null hypothesis that all groups are the same, yet cannot point out
any two groups that differ from eachother.
-pd
Regards, Humber
On Fri, Jul 5, 2013 at 11:04 AM, peter dalgaard pda...@gmail.com wrote
://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.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg
, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org mailing list
https
On Jul 4, 2013, at 20:14 , Berend Hasselman wrote:
On 04-07-2013, at 19:56, peter dalgaard pda...@gmail.com wrote:
On Jul 4, 2013, at 19:11 , Berend Hasselman wrote:
On 04-07-2013, at 18:42, Jannetta Steyn janne...@henning.org wrote:
Hi Ben and others
I don't quite know how
, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r
, and you obviously know where to find stackexchange... (local,
professional advice would be even better, though.)
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda
://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.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000
for you), you get an empty window if no plotting follows. If you type
plot(0:9), the quartz() device is opened for you and plotted into.
You could try
options(device=pdf)
source(script.R)
q(save=no)
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads
if such an operation can be avoided.
which(I)
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org
replace the commas with periods:
Or use read.delim2(). That is what it is for.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org
://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.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg
guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda
On Jun 24, 2013, at 15:21 , Sarah Goslee wrote:
G'morning.
On Mon, Jun 24, 2013 at 2:22 AM, peter dalgaard pda...@gmail.com wrote:
On Jun 23, 2013, at 22:30 , Sarah Goslee wrote:
Hi,
If you're doing exactly as described below, then you need to add the
data argument to wilcox.test
is equivalent to a two-sample Kolmogorov-Smirnov test, so you
should be able to either use ks.test as is, or, with the appropriate scaling,
feed the max(abs(cusum)) to pkstwo (which can be lifted from the sources of
ks.test).
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business
.-)
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org mailing list
https
.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org mailing list
https://stat.ethz.ch
might be looking for one or more of
data.table$observed
data.table$expected
data.table$residuals
data.table$stdres
Pick your poison. ;-)
MW
Replace with chisq.test(data.table)$observed, etc.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads
://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r
, at 18:51 , Richard Beckett wrote:
From: peter dalgaard pda...@gmail.com
To: Richard Beckett rbecket...@yahoo.com
Cc: r-help@r-project.org r-help@r-project.org
Sent: Friday, June 7, 2013 11:12 AM
Subject: Re: [R] Clogit R and Stata
Here is the R output:
Call:
coxph(formula = Surv
as
long as the sample is 1 and glb_ind=Y What should I be doing instead?
An rather than | in the R version might help. Other than that, we're a
bit short on clues unless you provide some output.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3
commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r
://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
summary(subset_1) to check.)
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org mailing list
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, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads
*X.
Correct?
Probably not. (What is mu? If it is E(log(Y)), then it should just be just
mu=beta0+beta1*X)
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda
(real and emulated).
Can it be that the paste mechanism i'm using (from GEdit to GNOME terminal
on Ubuntu Linux) is adding control characters between pasting multiple
blocks of code and these (invisible) characters are causing the problem?
--
Peter Dalgaard, Professor,
Center for Statistics
machine brings up a couple of hundred messages from the last three
years...
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
lognormal in one case, normal in the other.
Is there an equivalent glm to lm(log(Y) ~ X)?
Yes, glm(log(Y) ~ X, family=gaussian(link=identity))
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
(ItemColumn,PriceColumn)])])
(both untested)
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r
- order(as.numeric(sub(preV([0-9]*)A1b, \\1, names(dat
(dat1 - dat[o])
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
here or some such ...
Shouldn't you be warming up to the fussball game anyway? ;-)
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
. The within()
function allows full assignment syntax.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
; e.g., x[[2]] is the 3rd element in the above example.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R
will be really appreciated. Thanks in advance.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org
]
[1,] 172 223
[2,] 173 356
also
matrix(unlist(jam),2)
[,1] [,2]
[1,] 172 223
[2,] 173 356
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda
On May 17, 2013, at 12:02 , peter dalgaard wrote:
On May 17, 2013, at 08:51 , Sparks, John James wrote:
Dear R Helpers,
I need help with a slightly unusual situation in which I am trying to
select some columns from a data frame. I know how to use the subset
statement with column
.
__
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, self-contained, reproducible code.
--
Peter Dalgaard, Professor
Center
for various platforms will appear in due course.
For the R Core Team
Peter Dalgaard
These are the md5sums for the freshly created files, in case you wish
to check that they are uncorrupted:
MD5 (AUTHORS) = cbf6da8f886ccd8d0dda0cc7ffd1b8ec
MD5 (COPYING) = eb723b61539feef013de476e68b5c50a
MD5
/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45
likely also need %dopar%
(case and spaces do matter). And remove a space and add a comma within the
first parenthesis.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda
, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org mailing list
https
a purely formal bug in devtools's
version comparison logic, and you need to pester its maintainer. Unless it has
been fixed already, in which case you need to update devtools.
-pd
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000
]]
__
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, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen
?
You need to pay more attention to the degrees of freedom for error.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda...@gmail.com
On May 8, 2013, at 20:38 , Robert Baer wrote:
On 5/6/2013 7:02 AM, arun wrote:
stErr- sd(vec1)/sqrt(length(vec1))
Or possibly,
stErr- sd(vec1)/sqrt(!is.na(vec1))
You probably intended sqrt(sum(!is.na(...))).
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business
[4,] 283 16 17 32
Ix - sample(1:4,5,replace=TRUE)
Ix
[1] 3 2 2 4 3
M[cbind(Ix,1:5)]
[1] 20 24 11 17 24
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk Priv: pda
We intend to have a patch release version on May 16. The nickname will be Good
Sport.
Apologies for the somewhat belated announcement.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd
On May 3, 2013, at 21:36 , David Winsemius wrote:
On May 3, 2013, at 10:46 AM, peter dalgaard wrote:
Because comparison with an unknown value yields an unknown result.
Anything else would violate the Second Law of Thermodynamics. We cannot have
comparisons reducing entropy, now can
0 0
__
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, self-contained, reproducible code.
--
Peter
901 - 1000 of 2797 matches
Mail list logo