y be more inclined than I am to help, you would
certainly increase the likelihood by first doing some homework and
showing us code that you tried. Although, by that time, you probably
will have figured it out for yourself.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
I suggest that you have a look at "An Introduction to R" for a better
description of how things work than your current tutorial apparently
gives.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledg
?"["
Read the docs! Go thru an R tutorial.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Wed, Dec 17, 2014 at 7:24 PM, ce wrote:
h the length of object [1]
## outer gets completely flummoxed, as it should!
> expand.grid(z,z)
Var1 Var2
1 NULL NULL
2 NULL NULL
3 NA NULL
4 NULL NULL
5 NULL NULL
6 NA NULL
7 NULL NA
8 NULL NA
9 NA NA
## and expand.grid gets confused, as it probably should.
:-)
Cheers,
Bert
Be
lse will groc what you mean -- or
you could define yourself more clearly.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Mon, Dec 22, 2014 a
.. that should have been either
myProc <- function(FUN, ...) do.call(FUN,list(...))
or
myProc <- function(FUN, ...) FUN(...)
My other comments still apply.
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. An
with statistics than R coding.
Cheers,
Bert
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Mon, Dec 22, 2014 at 12:14 PM, Ciaran Roberts
w
actly what you claim is wanted without
trying to invent square wheels.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Wed, Dec 24, 2014 at
y due to historical quirks -- evolution
is not necessarily orderly. But that's the way it is; that's the way
it's documented; and tutorials will tell you about this (that's how I
learned). So please stop guessing and intuiting and read the docs to
understand how things w
On Thu, Dec 25, 2014 at 12:41 PM, Duncan Murdoch
wrote:
> Would you say a cube contains a polygon, or a cube is a polygon?
Neither, actually. I'd say a cube is a polyhedron or a square is a polygon.
:-)
But point taken, of course.
Cheers,
Bert
Bert Gunter
Genentech Non
[1] "a" "b" "c"
$class
[1] "factor"
> is.vector(f)
[1] FALSE
> attributes(f) <- NULL
> f
[1] 1 2 3
> is.vector(f)
[1] TRUE
Don't you think it's time to call a halt to this?
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostat
This is a statistical question primarily and, as such, is off topic
here. Either consult a local statistical expert or post to a
statistical site like stats.stackexchange.com .
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Informati
ternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and
> more, see
> 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-contai
LEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowle
SE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
software.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Mon, Jan 12, 2015 at 3:17 AM, Madhavan BL wrote:
> Hello,
>
> While I
?intersect
or, more generally,
?match
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Mon, Jan 12, 2015 at 5:09 AM, Meli Massimili
...
but do realize that after you have looked at the data to determine the
appropriate modeling approach, no statistical inference (significance
tests, confidence intervals, etc.) should be done on the model used.
Or more precisely, any that is done is wrong.
Cheers,
Bert
Bert Gunter
Genentech
ing a search
engine) to see whether/how such methodology is implemented in R.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Tue, Jan 13,
This clearly should go to the r-sig-mac list, not r-help.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Tue, Jan 13, 2015 at 10:44 A
erving the class attribute of tl. Ergo you are getting the basic
plot method and not the plot.tile.list method.
HTH.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom.&
) to remove them
> unlist(extr(x,"A"))
f1.x1.A f1.x2.A f2.x3.A f2.x4.A
11 12 13 14
I would welcome any possibly "slicker" versions of the above.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. In
large"
matrices.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Tue, Jan 20, 2015 at 10:10 AM, Adams, Jean wrote:
> Jorge,
>
> I
ep(c("pre", "day2","day10")))
> xyplot(y~x,data=z) ## x axis order is day 10, day2, pre
> levels(z$x)
[1] "day10" "day2" "pre"
> z$x <- factor(as.character(z$x),levels=c(levels(z$x)[3:1])) ## explicitly
> defines lev
nt, so you might
start there. Hadley Wickham's widely used plyr package provides what
many consider to be much more usable interfaces and flexibility for
this sort of thing, so you may wish to learn and use this instead.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-737
Check:
http://www.rstudio.com/
(where Hadley works)
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Thu, Jan 22, 2015 at 10:14 AM, Erin Hodg
.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Fri, Jan 23, 2015 at 12:45 AM, Kathryn Lord
wrote:
> Dear R users,
>
> I have a quick q
.
... oh, and while you're at it, please read the posting guide for this
list (see link below) and, in particular, DO NOT POST IN HTML, which,
as you can see here, often becomes a mess on this **plain text**
mailing list.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467
wrong list.
Post on stats.stackexchange.com
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Sat, Jan 24, 2015 at 1:53 AM, Mauricio Go
ers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Sun, Jan 25, 2015 at 7:06 AM, Jun Shen wrote:
> Dear list,
>
> The bwplot generates box plo
Huh??
> ifelse(TRUE, a <- 2L, a <- 3L)
[1] 2
> a
[1] 2
Please clarify.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Mon, J
you might want to add checks in the panel.groups function
for this.
HTH.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Tue, Jan 27, 2015 at
ra package, as it provides a ggplot-like
syntax ("+") and facilities to handle duplicated parameters in
situations like this.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly no
hey should be model based, obtained,e.g. by the relevant
predict() method.
But this is OT for here, so I won't rant further.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisd
ith a " " (space):
paste0(ID1[i],ID1[i+1],collapse= " ")
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Wed, Jan 28, 201
Mixed effects models. Packages nlme and lme4 among others.
Ask further on r-sig-mixed-models list.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford St
But in addition to what Jeff noted, see ?save and ?save.image
(noting that that the resulting .Rdata file can only be read by R).
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainl
This is not an r-help issue. Post on a statistics list like
stats.stackexchange.com instead for a variety of opinions.*
Cheers,
Bert
*Which will probably be useless given your paucity of data. But that's
just *my* useless opinion.
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467
tapply() (of which by() is essentially a wrapper) **is** a (disguised)
loop (at the R level, of course).
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clif
Ask on the BioConductor list, not here.
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Fri, Feb 6, 2015 at 9:27 PM, Beverly Nguyen wrote:
> I am
;re
looking for (and it's not already available).
Further questions should go to a statistics site like
stats.stackexchange.com, as statistical questions are off topic here.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Informat
approaches.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Fri, Feb 13, 2015 at 11:46 AM, ARNAB KR MAITY wrote:
> Hello Michael,
>
> I h
I wonder if this might be better asked on a statistical list -- e.g.
stats.stackexchange.com
-- as this seems to involve complex statistical model comparison
issues, which are normally OT here.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not inform
Inline.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Tue, Feb 17, 2015 at 1:33 AM, Chris Campbell
wrote:
> # Assuming you want to cre
Statistical methodology questions are generally off topic here. This
list is about R programming. I suggest you post to a statistics site
like stats.stackexchange.com instead.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Informati
I think you might do well to consult a local statistical expert, as
you appear to be out of your statistical depth here.
Also, is this homework? If so, this is not a homework site (although
posters sometimes get help anyway).
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650
This is not the proper venue for a discussion of the mathematics of
optimization, no matter that it is interesting. Please take it off
list.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowled
How can you expect a solution if you cannot specify the problem?
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Fri, Feb 20, 2015 at 6:1
I think
?tapply
and friends: ?by ?aggregate ?ave
is what you want.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Fri, Feb 20, 2015 at 9:
...
But
glm(1~1, family = gaussian) ## works. As does family = "gaussian"
(R 3.1.2 )
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stol
Exactly. Just a matter of fixing the glm.fit Help page.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Sun, Feb 22, 2015 at 3:11 PM, David
much much faster.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Mon, Feb 23, 2015 at 3:18 PM, Angela Smith
wrote:
> Hi R user,
> Would
What does this have to do with R?
Does the answer not depend on what you intend to do with your laptop,
e.g the sorts of data you deal with, of which we have no idea?
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information i
Inline.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Thu, Feb 26, 2015 at 8:02 AM, Mikael Olai Milhøj
wrote:
> Hi all
>
> I
Dig deeper.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Thu, Feb 26, 2015 at 8:29 AM, Mikael Olai Milhøj
wrote:
> Hi.
>
> First of
1. Do not multiple post -- it's rude.
2. Use plain text emails, not HTML
(although it makes no difference here).
3. Homework? -- This list has a no homework policy.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Informat
stall these
core packages, as they may be necessary for key functionality that you
use, directly or indirectly.
And apologies if I have misinterpreted...
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And kn
Angela:
These are statistical, not R, issues I believe, and you appear to be
out of your depth statistically here. I suggest you talk to a local
statistical resource or, if you can't find such help, post on a
statistical site like stats.stackexchange.com.
Cheers,
Bert
Bert Gunter
Gene
What do you think dat$a is?
I recommend that you spend some time with an R tutorial if you plan to
use R. Your code is pretty bad. Examples: use of the ifelse
construction instead of if ... else; return()
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data i
Sorry, Jeff. aggregate() is generic.
>From ?aggregate:
"## S3 method for class 'data.frame'
aggregate(x, by, FUN, ..., simplify = TRUE)"
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not
components of by, and
FUN is applied to each such subset with further arguments in ...
passed to it."
As I read this, the argument of FUN is a data frame that is a subset
of the original frame, defined by the by variable values.
No?
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
Well, I obviously don't use it either, as I'm just quoting the docs.
I either use by(), or tapply().
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Cliff
Have you done any homework for yourself? CRAN task views would be an
obvious first place to look:
http://cran.r-project.org/web/views/
Both the environmental and spatio-temporal views seem like possibilities.
If that doesn't suit, try searching on suitable keywords
Cheers,
Bert
Bert G
Please read ?as.Date carefully. Your argument appears to be numeric
(??) and you do not seem to have specified an origin:
"as.Date will accept numeric data (the number of days since an epoch),
but only if origin is supplied."
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostati
Have you looked at the "Cluster" task view on CRAN?
http://cran.r-project.org/web/views/
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
... and that is the source of your difficulties, as I and others have told you.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Sun, Mar 8, 201
gt;
>> You need to explain what you want to accomplish rather than posting
>> failed code.
>>
>>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> P
1. Still not sure what you mean, but maybe look at ?ave and ?tapply,
for which ave() is a wrapper.
2. You still need to heed the rest of Jeff's advice.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not know
z <- rnorm(nrow(f1)) ## or anything you want
z1 <- f1$v4 + z - with(f1,ave(z,v1,v2,FUN=mean))
aggregate(v4~v1,f1,sum)
aggregate(z1~v1,f1,sum)
aggregate(v4~v2,f1,sum)
aggregate(z1~v2,f1,sum)
aggregate(v4~v3,f1,sum)
aggregate(z1~v3,f1,sum)
Cheers,
Bert
Bert Gunter
Genentech Noncl
... or cleaner:
z1 <- with(f1,v4 + z -ave(z,v1,v2,FUN=mean))
Just for curiosity, was this homework? (in which case I should
probably have not provided you an answer -- that is, assuming that I
HAVE provided an answer).
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650)
se that it relies on the implementation of factor() rather than its
API -- is:
y <- f1$v3 ## to simplify the notation; could be done using with()
z <- (c(29,2.567)/table(y))[c(y)]
Then proceed to z1 as I previously described
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650)
what you are trying to do.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Sun, Mar 22, 2015 at 7:55 AM, Bert Gunter wrote:
> I would have thou
ames and the links therein for
more info.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Sun, Mar 22, 2015 at 7:39 AM, Yves S. Garret
wrote:
&g
restart R.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Sun, Mar 22, 2015 at 2:11 AM, adeela uaf wrote:
> Hi,
> I was downloading som
for v1, which is
not supposed to change according to my understanding of your
specification.
So I'm done.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford
asks.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Mon, Mar 23, 2015 at 8:10 AM, Abhinaba Roy wrote:
> Hi,
>
> Can a Matlab code be co
Once you have looked at the data and chosen change points to test
based on the data, the tests for change points are invalid (unless you
make appropriate adjustments for post hoc tests).
And no, I am not making this up. Consult any competent statistician.
Cheers,
Bert
Bert Gunter
Genentech
Sarah's statement is correct.
So is yours. They are not contradictory, and I believe Sarah's point
was that the OP needed to learn the appropriate syntax.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not
Sorry, I failed to cc the list.
-- Bert
-- Forwarded message --
From: Bert Gunter
Date: Mon, Mar 30, 2015 at 8:36 AM
Subject: Re: [R] changing column labels for data frames inside a list
To: Vikram Chhatre
You really really need to spend (more?) time with a good R
This sounds like homework. Homework is discouraged on this list (but
you might get lucky).
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
O
chance of getting useful help.
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Tue, Mar 31, 2015 at 9:24 AM, Desta Yoseph wrote:
> Dear Bert
27987551&sr=1-5&keywords=linear+models+in+statistics
... but there are dozens.
Better yet, consult a local statistical expert for help. Trying to
educate yourself is laudable, but may be unrealistic.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is
-monthly, depending on your meaning of "bi") without knowing the
months. Aggregating by every n days would be easy, but that's probably
not what you want.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not know
of ==, e.g. all(diff(z) - z[2] + z[1] < tol)
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Mon, Apr 6, 2015 at 10:11 AM, Marc La
... correction: you need to use absolute value for the comparison, of course.
all(abs(diff(z) - z[2] + z[1]) < tol)
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom.&q
Not quite, David.
If I understand the OP's query, he wants the ties to be broken by the
"lexicographic" order (with apologies if I have misused this term) of
the 1's within the rows. Makes things a bit more interesting.
Have at it!
Cheers,
Bert
Bert Gunter
Genentech Noncl
Does not min(abs(diff(z))) give you the scaling you need to set a tolerance?
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Mon, Apr 6, 2015
ecessarily denies the wisdom of the approach you've
suggested, however. It may indeed be considerably faster,
but timing will have to tell. I am just trying to correct
(again)
the
widely held misperception
that yo
u
seem to
express
.
Cheers,
Bert
Bert Gunter
Genentech Nonclinica
searching.
Choose one that suits your tastes/learning style and have at it!
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Tue, Apr 14, 2015
Not quite sure what you mean here.
R is open source, so
> print.summaryDefault ## at the prompt. It's in base R, so no package::
prefix needed
will give you the code used for formatting. You can then do the same.
Cheers,
Bert
Bert Gunter
"The trouble with having an open
How can one possibly answer this without knowing the structure of your
dataset?
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Aug 1, 2018 at 8:40 AM, Edoardo Silvestri <
silvestri.cas...@gmail.com> wrote:
R is free and open source. Your queries are inappropriate for this list,
which is about help for programming in R. Please go here and follow the
relevant links to answer your questions:
https://www.r-project.org/
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that p
Logic:
!(E == "fail" & F == "fail) <==>
(E == "pass" | F == "pass")
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "
,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Aug 2, 2018 at 12:00 PM, Andras Farkas via R-help <
r-help@r-project.org> wr
(= hours)
and -24 moves it forward 24 hours. This means that the day 2 observations
are those from day 1, etc., which is usually what is wanted for lag. But
you decide.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things
This should be posted on the r-package-devel list rather than here:
https://stat.ethz.ch/mailman/listinfo/r-package-devel
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in
;
Fortune nomination!
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Aug 8, 2018 at 8:06 AM, Jeff Newmiller
wrote:
> R syn
, though
there are certainy wiser folks than I out there.
Also, this is a plain text maiing list. Please post in plain text, not HTML.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breat
" I am thinking that there should be an R command to
tell me about the structure of series"
?str
## perhaps also/instead
?summary
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka
801 - 900 of 5174 matches
Mail list logo