-conformable arrays
c+M
# Error in c + M : non-conformable arrays
So what would you want to use the [1,1]-matrix scalars for, that
cannot be done just using them as numbers?
Ted.
E-Mail: (Ted Harding) ted.hard
...
(This is prompted by the recent OT discussion on HT vs. HH,
to which I want to respond later).
With thanks,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 01-Sep-09
...
(This is prompted by the recent OT discussion on HT vs. HH,
to which I want to respond later).
With thanks,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 01-Sep-09
9 10 111213
#HHcounts12358 13 21 34 5589 144
Lo and Behold, we have a Fibonnaci sequence! Another exercise for
the reader ...
Ted.
E-Mail: (Ted Harding) ted.hard
are not dead yet).
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 01-Sep-09 Time: 11:37:52
-- XFMail
]) to the other [(3,10)]! Or you could choose
one of them at random ...
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 31-Aug-09 Time: 12:05:40
: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 31-Aug-09 Time: 14:42:51
-- XFMail --
__
R-help@r-project.org mailing list
it depends on what it is, and on
how readily I find I can read it.
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 29-Aug-09 Time: 19:26:51
You may want to look at
http://finzi.psych.upenn.edu/R/library/mclust/html/00Index.html
(Model-Based Clustering / Normal Mixture Modeling).
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 28-Aug-09 Time: 14:21:58
-- XFMail --
__
R-help@r-project.org
this helps,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 26-Aug-09 Time: 16:03:49
-- XFMail
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 24-Aug-09 Time: 16:26:53
-- XFMail --
__
R-help
This was an improvement on a previous solution of my own, which
is also quoted in the above URL.
Hoping this helps,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 24-Aug-09
do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date
, reproducible code.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 22-Aug-09 Time: 22:24:49
-- XFMail
or longitudinal model, with 4 observations per subject, and
correlated error within-subject.
But you really need to spell out more detail of the kind of
model you are seeking to fit. What you described is not enough!
Ted.
E-Mail: (Ted
-subject.
But you really need to spell out more detail of the kind of
model you are seeking to fit. What you described is not enough!
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094
, reproducible code.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 20-Aug-09 Time: 00:21:42
-- XFMail
result.
(I hope I've got this right)!
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 13-Aug-09 Time: 20:50:51
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 13-Aug-09 Time: 22:53:22
-- XFMail
- (0:(N-L))
Y - 1 + (V-A) + sample(M,1)
I think this does it!
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 12-Aug-09 Time: 23:49:22
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 10-Aug-09 Time: 22:53:25
-- XFMail
linearly
independent set (or possibly find the principal components with
nozero weights).
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 10-Aug-09
So, unless there is something I don't know about, there is hardly
anything to discuss about the detailed usage of '.' in R!
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 09-Aug
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 09-Aug-09 Time: 19:58:32
-- XFMail
On 09-Aug-09 19:31:47, Duncan Murdoch wrote:
(Ted Harding) wrote:
[...]
Next -- and this is the real question -- how does R parse the name
summary.glm? In my naivety, I simply suppose that it looks for
an available function whose name is summary.glm in just the
same way as it looks
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 07-Aug-09 Time: 22:59:42
-- XFMail
# 2.1,2.2,2.3
# 3.1,3.2,3.3
Hoping this helps,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 02-Aug-09 Time: 22:35:04
-squared test with simulated p-value
# (based on 1e+05 replicates)
# data: M
# X-squared = 11.7862, df = NA, p-value = 0.01501
So the P-values are similar in both tests.
(Another) Ted.
E-Mail: (Ted Harding) ted.hard
: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 31-Jul-09 Time: 23:31:17
-- XFMail --
__
R-help@r-project.org mailing list
https
out in a few cases ([12], [13], [17]).
The puzzle clearly qrose in the first place becaue the authors
reported their Expected Numbers as integers, not fractions!
Well, well, well!
Ted.
E-Mail: (Ted Harding) ted.hard
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 29-Jul-09 Time: 12:43:26
-- XFMail
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 28-Jul-09 Time: 11:42:08
-- XFMail --
__
R-help@r-project.org
-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 28-Jul-09 Time: 12:24:42
-- XFMail --
__
R-help@r-project.org mailing list
only if 'recursive = FALSE'.
Surely the latter is the wrong way round, and should be
Directories are included only if 'recursive = TRUE'.
(that's how it worked when I just tried it).
Ted.
E-Mail: (Ted Harding) ted.hard
in Linux), find
out what the files in it are called.
But once you have got that far, you may prefer to handle the .zip
file outside of R ...
Hoping this helps,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax
!
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 28-Jul-09 Time: 15:24:09
-- XFMail
,par3,par4,par5))
# SD
# [1,] 1.0 5.200
# [2,] 1.5 9.425
# [3,] 2.0 15.100
# [4,] 2.5 22.225
# [5,] 3.0 30.800
Hoping this helps!
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0
...
And, while I'm at it, your x=as.vector(c(1:12)) is overkill!
Simply
x - (1:12) ; sample(x,3)
should be enough, or even
sample((1:12),3)
since (1:12) is a vector (of integers).
Hoping this helps,
Ted.
E-Mail: (Ted Harding
.Random.seed was lost, so you have to create it again.
If, after the above, you still get the problem, then something is
very seriously wrong.
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date
in the sample is
3 - 1.046218 = 1.953782
and their ratio 1.953782/1.046218 = 1.867471
Compare this with the value 1.867351 (above) obtained by simulation!
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870
.
Sorry.
Ted.
On 23-Jul-09 20:05:09, Ted Harding wrote:
On 23-Jul-09 17:59:56, Jim Bouldin wrote:
Dan Nordlund wrote:
It would be necessary to see the code for your 'brief test'
before anyone could meaningfully comment on your results.
But your results for a single test could have been a valid
the expected number of weight=2 in the sample is
3 - 1.046218 = 1.953782
and their ratio 1.953782/1.046218 = 1.867471
Compare this with the value 1.867351 (above) obtained by simulation!
Ted.
E-Mail: (Ted Harding
a nice selection of ways to draw
PPS samples without replacement.
-thomas
Thanks, Thomas. There is of course also the package 'pps'.
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 21-Jul-09 Time: 10:41:38
-- XFMail --
__
R-help@r-project.org mailing list
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 19-Jul-09 Time: 12:25:39
-- XFMail --
__
R-help@r
number)^(1/(odd integer))
then you are better off modifying the logic of your program so as
to ensure the result you want.
Hoping this helps,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 17-Jul-09 Time: 13:38:23
-- XFMail
Follow-up:
On 17-Jul-09 12:38:27, Ted Harding wrote:
On a point of information: The licence in question:
License: The software may be distributed free of charge and used
by anyone if credit is given. It has been tested fairly
well, but it comes with no guarantees
On 17-Jul-09 13:01:46, Gabor Grothendieck wrote:
On Fri, Jul 17, 2009 at 8:54 AM, Ted
Hardingted.hard...@manchester.ac.uk wrote:
Follow-up:
On 17-Jul-09 12:38:27, Ted Harding wrote:
On a point of information: The licence in question:
License: The software may be distributed free of charge
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 16-Jul-09 Time: 20:54:18
-- XFMail --
__
R-help@r
we know ... :(
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 15-Jul-09 Time: 16:21:53
-- XFMail
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 11-Jul-09 Time: 20:04:40
-- XFMail --
__
R-help@r
is not proof that the
null hypothesis is true.
There is a good basic outline of the t-test in the Wikipedia article
Student's t-test:
http://en.wikipedia.org/wiki/Student%27s_t-test
Hoping this helps,
Ted.
E-Mail: (Ted Harding
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 07-Jul-09 Time: 16:48:06
-- XFMail --
__
R-help@r
and provide commented, minimal, self-contained, reproducible code.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 07-Jul-09 Time: 20:28:44
and, last but not least:
http://www.ft.com/cms/s/7880e774-99f1-11dc-ad70-779fd2ac.html
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 08-Jul-09
://finzi.psych.upenn.edu/R/library/diptest/html/qDiptab.html
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 06-Jul-09 Time: 13:50:25
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 02-Jul-09 Time: 11:59:29
-- XFMail --
__
R-help@r-project.org
(Ret.csv)
you will have a dataframe with 1 column, namely a list with one
element.
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 02-Jul-09 Time
of
DataFrs - c(My1stDF, My2ndDFD, My3rdDF, My4thDF)
for( datafr in DataFrs ) {
{stuff like the above}
}
Several variants of this kind of approach are possible!
Hoping this helps,
Ted.
E-Mail: (Ted Harding) ted.hard
and Fit0.
max(abs(Fit1 - exp(S0)/(1+exp(S0
# [1] 1.110223e-16
the same again!!
Hence, if I have understood him aright, Fabrizio's question.
Hoping this helps,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
didn't *I* think of that? category).
Cheers,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 30-Jun-09 Time: 18:33:40
On 30-Jun-09 17:41:20, Marc Schwartz wrote:
On Jun 30, 2009, at 10:44 AM, Ted Harding wrote:
On 30-Jun-09 14:52:20, Marc Schwartz wrote:
On Jun 30, 2009, at 4:54 AM, Renzi Fabrizio wrote:
I would like to know how R computes the probability of an event
in a logistic model (P(y=1)) from
the lines in the file.
Hoping this helps!
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 28-Jun-09 Time: 22:37:46
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 25-Jun-09 Time: 11:51:38
-- XFMail
with any additional paramaters to lines() for line-type,
colour, etc. -- I do this all the time ...
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 25-Jun-09
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 19-Jun-09 Time: 00:46:40
-- XFMail --
__
R-help@r-project.org
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 14-Jun-09
on what sort of structure z is, for instance.
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 11-Jun-09 Time: 10:43:51
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 11-Jun-09 Time: 23:47:59
-- XFMail
was GNU groff (with the
'pic' preprocessor to create the figures). But that's just me.
Dinosaurs do not easily digest organisms more recently evolved ...
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44
).
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 08-Jun-09 Time: 15:50:48
-- XFMail
and provide commented, minimal, self-contained, reproducible code.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 07-Jun-09 Time: 12:37:34
://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.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
On 07-Jun-09 14:01:14, Ted Harding wrote:
I think the reason Google will not find it is that, in the Journal
website, the R files (and the names of the article directories that
might contain them, such as journal.sjdm.org/8210/ -- see below)
are not directly pointed to by any index.html or any
+Computing
(158,000 hits of which, on briefly scanning through the first 40,
about half seem to be hournal articles; draw you own conclusions).
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094
derive the variance-covariance
matrix (and hence the SEs) of your derived contrasts.
Hoping this helps,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 03-Jun-09
commented, minimal, self-contained, reproducible code.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 31-May-09 Time: 16:24:27
, minimal, self-contained, reproducible code.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 30-May-09 Time: 21:15:13
-- XFMail
this should work (not tested in detail)!
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 29-May-09 Time: 13:14:27
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 28-May-09 Time: 07:33:09
-- XFMail
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 27-May-09 Time: 20:35:02
-- XFMail
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 24-May-09 Time: 20:07:43
-- XFMail --
__
R-help@r-project.org
[Apologies -- I made an error (see at [***] near the end)]
On 24-May-09 19:07:46, Ted Harding wrote:
[Your data and output listings removed. For comments, see at end]
On 24-May-09 13:01:26, cdm wrote:
Fellow R Users:
I'm not extremely familiar with lda or R programming, but a recent
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 24-May-09 Time: 20:07:43
-- XFMail
to operate beyond the limits of precision
of R, and so will need to re-cast your question in alternative terms
which will yield an adequately precise result.
Hoping this helps,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 21-May-09 Time: 16:39:16
-- XFMail
() it to the elements
(which are the separate character strings) of data$sequences
(which is presumably a vector of character strings).
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 21-May-09
) from the PostScript file.
The only reason for going through postscript is if you want
to use psfrag -- or psnup and/or psbook or ...
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
=4)
# [1] 2345.167
round(h,digits=3)
# [1] 2345.167
round(h,digits=2)
# [1] 2345.17
Hoping this helps,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 20-May-09
are 1 short of what is required
to complete the expression in the line beginning -(n/theta).
In that case, R will continue on to the next line seeking the completion,
and will encounter d2logl non-syntactically.
Ted.
E-Mail: (Ted
' will attempt to perform a numerical multiplication.
This cannot work for character vectors.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 18-May-09
suggestions,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 17-May-09 Time: 18:23:49
-- XFMail
,
+ C= 1100, D= 1101, E= 1110, F= )
gsubfn([0-9A-F], binary.digits, 0X1.921FB54442D18P+1)
[1]
X0001.1001001110110101010001000110110100011000P+0001
On Sun, May 17, 2009 at 1:23 PM, Ted Harding
ted.hard...@manchester.ac.uk wrote:
I am interested in studying
(pi,raw(),endian='big')
Ted.
On 17-May-09 20:04:58, jim holtman wrote:
Are you looking for how the floating point is represented in the
IEEE-754
format? If so, you can use writeBin:
writeBin(pi,raw(),endian='big')
[1] 40 09 21 fb 54 44 2d 18
On Sun, May 17, 2009 at 1:23 PM, Ted Harding
.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 17-May-09 Time: 23:32:19
-- XFMail --
__
R-help@r
\%
4,25\%
5,50\%
6,75\%
7,100\%
which, again, is what you wanted.
Hoping this helops,
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 15-May-09
(or?), but that's below the abstraction
useful for the recipe purpose.
But it does influence how you organise the subsequent garbage collection.
:)
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0
] 003.14159265358979312
So you can do pretty much what you want, in terms of output format.
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 14-May-09
601 - 700 of 975 matches
Mail list logo