I believe that you need to learn to use a code editor/IDE. R is a
programming language.
See here:
http://www.rstudio.com/
or here:
http://www.sciviews.org/_rgui/
Otherwise, I also don't understand.
Bert Gunter
"Data is not information. Information is not knowledge. And kn
erstand the structure of her data. And only on r-sig-mixed-models --
crossposting is frowned upon here and the mixed models list is the best bet
for this sort of question anyway.
As always, corrections and criticism welcome.
Cheers,
Bert
Bert Gunter
"Data is not information. Informat
Start by going through an R tutorial or two? You need to do some minimal
homework BEFORE posting here.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainly not wisdom."
-- Clifford Stoll
On Thu, Jun 11, 2015 at 8:05 AM, Pie
Oh, Swami, gazing into the crystal ball one can see ...
;-}
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainly not wisdom."
-- Clifford Stoll
On Thu, Jun 11, 2015 at 4:48 PM, David Winsemius
wrote:
>
> On Jun 11, 2
If this matters -- i.e it is not merely a matter of homework or thesis work
-- I suggest you speak with a local statistical expert, as your statistical
understanding appears to be too confused to get much help from online
forums.
Cheers,
Bert
Bert Gunter
"Data is not information. Informati
google is your friend ...
?R nonparametric statistics (and the like)
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainly not wisdom."
-- Clifford Stoll
On Fri, Jun 12, 2015 at 2:34 AM, Ana Rodrigues
wrote:
> I'
Is this homework? Homework is deprecated here.
?lapply
is one of many possible approaches. If this is not homework, showing your
unsuccessful code would likely lead to a better learning experience for you.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge
Wrong list! This is about R. Post on a statistics list like
stats.stackexchange.com for statistics questions.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainly not wisdom."
-- Clifford Stoll
On Mon, Jun 15, 2015 at 3:55 PM,
things like
myfun <- function( FUN = log,...)
{ ...
something <- FUN(X)
...
}
Just in case this might be useful to you.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainly not wisdom."
-- Clifford Stoll
On Mon, Jun 15,
1L)
a b g
5 4 0
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainly not wisdom."
-- Clifford Stoll
On Tue, Jun 16, 2015 at 10:24 AM, Dimitri Liakhovitski <
dimitri.liakhovit...@gmail.com> wrote:
> Hello
for others.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainly not wisdom."
-- Clifford Stoll
On Tue, Jun 16, 2015 at 12:47 PM, Hadley Wickham
wrote:
> On Tue, Jun 16, 2015 at 12:24 PM, Dimitri Liakhovitski
> wro
t the underlying engines,
thereby gaining efficiencies that some folks may want as well as new syntax.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainly not wisdom."
-- Clifford Stoll
On Tue, Jun 16, 2015 at 1:22 PM, David L
be a list of
names, not character strings. This can be obtained using as.name().
This can all be effected by:
a<-as.list(ls(pattern= "^Z."))
do.call(rbind,lapply(a,as.name))
-- and please post in plain text, not HTML, as HTML often gets mangled when
reproduced on this plain text li
5 Hazen5.0
1:5<5 Hazen2.5
1:6 5 Hazen5.0
Incidentally, if this is how you are attempting to deal with censored data,
it may be a very bad idea. For why, consult a local statistician or post on
a statistics list like stats.stackexchange.com
Cheers,
Bert
Bert Gunter
"
merely be a matter of reading in text files via R's native
facilities (e.g. read.csv ) . A local resource can best help you sort out
what would work best in your situation imho.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainly
Your **is** the "coolest" and most efficient way to do this. It's
vectorized -- apply() stuff is not.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainly not wisdom."
-- Clifford Stoll
On Thu, Jun 18, 2015 at
t <- dat[order(numbs),]
> newdat
A B
1 A1 1
4 A2 4
2 A10 2
3 A11 3
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Sat, Jun 20, 2015 at 6:29 PM, Diego Miro wrote:
> Bogdan,
&g
d and fury, signifying nothing."
(or, at least, what's being signaled depends exactly on what question
is being asked, which is why this is a mess).
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Cli
open,
new plots on it will reuse the same par() settings. See,e.g.
?plot.new.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Tue, Jun 23, 2015 at 8:54 AM, Martin Batholdy via R-help
w
?with
e.g. with(mydata,aaa(v1))
-- Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Tue, Jun 23, 2015 at 2:39 PM, Steven Yen wrote:
> Dear Members
> I have a data frame as generated bel
list like
stats.stackexchange.com for statistics questions, which are off topic
here.
Further, when you post here, please read and follow the posting guide
(below) and post in plain text, not HTML.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certa
I would **strongly** recommend that you speak with a local statistical
expert before proceeding further. Your obsession with statistical
significance is very dangerous. (see the current issue of SIGNIFICANCE
for some explanation).
Cheers,
Bert
Bert Gunter
"Data is not information. Informati
respond privately. I will not comment further
on list.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Wed, Jun 24, 2015 at 2:37 PM, Jeff Newmiller
wrote:
> Bert, can you be more speci
tor of quantiles . I
leave that to others both cleverer and more motivated than I.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Thu, Jun 25, 2015 at 8:59 AM, L... L... wrote:
> I
asked.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Thu, Jun 25, 2015 at 11:09 PM, adeela uaf wrote:
> Hi,
> My experiment consist of factorial structure with 25 genotypes and 3
&
??
Are you expecting us to guess what your code was from
"reading in a tab delimited file using args" ?
You've posted here before and should know by now that explicit code
should be provided whenever possible.
Cheers,
Bert
Bert Gunter
"Data is not information. Informat
... and you should also know by now to cc the list and not respond just to me!
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Fri, Jun 26, 2015 at 10:58 AM, Kate Ignatius wrote:
> "reading
?cor.test
Please read Help files (for cor, which linked cor.test) before
posting. And, as David says, post in plain text.
-- Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Sat, Jun 27, 2015
follow the list protocols and post in
plain text, not HTML, please.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Sun, Jun 28, 2015 at 9:40 AM, Shaunna Morrison
wrote:
> Hello!
>
&
Ye gods!
R has a search function. Please learn to use it before posting here.
??multinomial
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Mon, Jun 29, 2015 at 8:23 AM, Christop
... and presumably the probabilities for class memberships are given
by your function of the explanatory variable. So you just plug in your
(30?) values of x, no?
-- Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-
of
proceeding on your own. This is **NOT** about R and is off topic here.
Also, if you do wish to post here on R questions in future, please
follow the posting guide and post in plain text, not HTML.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And know
You do not set constraints in R you set contrasts. See the relevant
sections of e.g. Venables and Ripley's MASS book.
?contrasts ## what else!
?C
for details.
Beyond this, I cannot help.
-- Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is
1. box.rectangle, etc. are not functions; they are (lists of)
parameters that are sublists of the par.settings list.
2. Read the Help for simpleTheme() -- it has a specific list of
parameters which is nothing like what you show.
Cheers,
Bert
Bert Gunter
"Data is not information. Informati
Let me rephrase my 2nd point:
simpleTheme() has a specific list of **arguments** which is nothing
like you show. As the Help says, its value is a list of parameter
settings that can be used by par.settings.
-- Bert
Bert Gunter
"Data is not information. Information is not knowledge
?precedence
-5:10 is (-5):10
-- Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Thu, Jul 2, 2015 at 10:23 PM, Charles Thuo wrote:
> I have a data frame whose rows are 678013 . I would li
my.df,
strip = strip.custom(factor.levels=as.character(dist.names)))
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Sat, Jul 4, 2015 at 6:53 PM, Naresh Gurbuxani
wrote:
> I would like to
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Sun, Jul 5, 2015 at 1:37 PM, Ista Zahn wrote:
> x = data.frame( β =1)
>
> seems to work fine for me. Perhaps you need to give some more details a
This is a **highly technical** statistical issue, not an R-Help topic.
I strongly suggest that you post to the R-sig-mixed-models list
instead.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stol
Try reading the Help files before posting here. That's what they're for.
?get
provides the answer in a note in the Help page.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On
http://cran.r-project.org/
and do not post further to this list, please.
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Wed, Jul 8, 2015 at 2:43 AM, Gilfred Tan
wrote:
>
> Hi
>
>
FALSE TRUE TRUE
The idea is to paste the strings in each row (do.call allows an
arbitrary number of columns) into a single string and then use
strsplit to break the string into individual "words" on whitespace.
Then the matching is vectorized with the any( %in% ... ) call.
Cheers,
Be
ers to figure it out.
Of course, if my diagnosis is wrong or silly, please point this out.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Thu, Jul 9, 2015 at 9:34 AM, Jeff Newmiller wr
"contrasts in R" for background and details. Also
?contrasts and the linked man pages in R.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Thu, Jul 9, 2015 at 6:51 AM, mrrox wrot
Yup, that does it. Let grep figure out what's a word rather than doing
it manually. Forgot about "\b"
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Thu, Jul 9, 2015 at
Sorry Lia. We don't do homework on this list. You can imagine how
clogged it would be if we did.
Maybe you'll get lucky and someone will answer you privately.
Otherwise, seek help from your teachers, fellow students, and/or
course homework forums.
Cheers,
Bert
Bert Gunter
&q
ie reviews). So what one might want to do is add
semantic analysis to searches, à la google, a topic way beyond the
simple capabilities discussed, or likely needed, here.
Incidentally, Jeff Newmiller's (final) regular expression solution is
preferable to mine in all respects, I think.
-- Ber
sult web tutorials, John Chambers's books,
and other books on R programming.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Fri, Jul 10, 2015 at 9:44 AM, Bastien Tran wrote:
> Dea
eff's. Note, however, that you have missed
capital letters: "Red" would not match "This is red".
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Fri, Jul 10, 2015 at
uot; "green"
I would have thought that "\\b" should give what "\\W" did. Note that:
> grep("\\bred\\b","red green")
[1] 1
## as expected
Does strsplit use a different regex engine than grep()? Or more
likely, what am I misunderstanding?
Tha
Thanks Jeff. That doesn't explain it for me. Could you go through the
algorithm a step at a time to show why it splits at the individual
characters rather than the words, perhaps privately. Feel free to
refuse, as I'm sure you have better things to do.
-- Bert
Bert Gunter
&q
not
really bugs -- and I would be frankly surprised if they were -- I
would suggest that perhaps they deserve mention in the strsplit() man
page. Something to the effect that "\b and \< should not be used as
split characters..." .
Bert Gunter
"Data is not information. Informat
omigosh -- you're right.
-- Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Sat, Jul 11, 2015 at 3:31 PM, David Winsemius wrote:
>
> On Jul 11, 2015, at 3:07 PM, Bert Gunter w
es to all for wasted bandwidth...
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Sat, Jul 11, 2015 at 4:26 PM, Charles C. Berry wrote:
> On Sat, 11 Jul 2015, Bert Gunter wrote:
>
>>
No, Sarah.
na.action must be a function, not a character string. But you're
close: there is no na.include function, as the message says. It
should be na.exclude .
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly
e serious
about this.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Sun, Jun 28, 2015 at 9:56 PM, DzR wrote:
> I wish to fit spline curves to longitudinal data
>
> Which packag
It seems that Dawn could really benefit from spending some time with
an online R tutorial or two, as she appears not to have much of a clue
about R's basic data structures.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly
ly useless, but
that's another, off topic, issue.
Cheers,
Bert
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Thu, Jul 16, 2015 at 8:37 AM, Dimitri Liakhovitski
wrote:
> U
er to what he sought, however.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Thu, Jul 16, 2015 at 9:47 AM, David Winsemius wrote:
>
> On Jul 16, 2015, at 8:37 AM, Dimitri Liakho
change the
parameterization of and/or simplify your model before proceeding if
that is the case. Although I would have thought you would have run up
against some sort of maximum iterations limit...
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certa
I suggest you consult a local statistician. You are (way) over your
head statistically here, and statistical matters are off topic on
this list. The brief answer to your question is: you are almost
certainly producing nonsense.
Cheers,
Bert
Bert Gunter
"Data is not information. Informati
models, and
the limitations of the data available.
Note that these comments are of necessity largely speculative and
would benefit greatly by amplification and criticism by real experts,
of which I ain't one. So caveat emptor! (as usual on the internet).
Best,
Bert
Bert Gunter
"D
"truth." Ergo quite different looking models might fit essentially
equally well, the differences in fits and therefore rankings being
nothing more than noise.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Off topic . This list is about R programming. Post on a statistics
list like stats.stackexchange.com instead.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Mon, Jul 20, 2015
I believe Michael's point is that you need to STOP asking such
questions and START either learning some statistics or work with
someone who already knows some. You should not be doing such analyses
on your own given your present state of statistical ignorance.
Cheers,
Bert
Bert Gunter
&qu
Yes you are missing something -- the underlying ideas of post hoc
tests. This is a statistics issue, not an R issue, and so off topic
here. Try posting on a statistics forum like stats.stackexchange.com
instead.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not know
Ah, so apparently you require some sort of psychic abilities...
For how else would one choose which three values to keep in a row that was:
a 2 b 5
based on your specification that "xxx could be anything."
Cheers,
Bert
Bert Gunter
"Data is not information. Information i
Oops, Bill's reply and mine crossed in the email. His is essentially
the same as mine except probably more efficient.
-- Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Thu, Jul 23,
1.620244 1.625133 1.628406 1.630750
1.632512 1.633884
[10] 1.634984
But beware FAQ 7.31 for long series.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Fri, Jul 24, 2015 at 4:37 PM, Janh A
## I leave it to you to add the NA edges
> rk <- c(2,4,3,1)
> outer(rk,rk,"<")+0
[,1] [,2] [,3] [,4]
[1,]0110
[2,]0000
[3,]0100
[4,]111 0
Cheers,
Bert
Bert Gunter
"Data is not information. Inform
No it wouldn't.
Presumably you have a typo and meant
rk <- c(2,4,3,1,NA)
## and set the (5,5) entry to 0 after
-- Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Mon, Jul 27, 2015 a
... Presumably the length of the segment ??
I leave it to the OP or others to look up the answer in their high
school math texts.
-- Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Mon, Jul 27,
stats.stackexchange.com or consult a local statistical resource.
These are not R issues and so are offtopic here.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Mon, Jul 27, 2015 at 10:49 PM, e
sting erroneous comments.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Tue, Jul 28, 2015 at 3:00 PM, John Thaden wrote:
> Adam,The method you propose gives a different result t
ro to R" tutorial
that ships with R). Then see the "row.names" argument of
?print.data.frame .
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Wed, Jul 29, 2015 at 8:11 A
Is this what you mean?
z <- data.frame(a=1:3,b=letters[1:3],row.names=letters[1:3])
zlist <- list(one=z,too =z)
for(i in 1:2){print(zlist[[i]],row.names=FALSE); cat("\n")}
a b
1 a
2 b
3 c
a b
1 a
2 b
3 c
... which could obviously be within a function.
Cheers,
Bert
Be
Below.
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Wed, Jul 29, 2015 at 3:43 PM, Hidden Markov Model
wrote:
> Alright thanks for clarifying. That's all a bit esoteric. Quite different
Shiny is not R. It is an RStudio product, which is separate from R. So
I think you need to post on RStudio's support forum, not here.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
plain text, not HTML, as
requested by the posting guide below.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Fri, Jul 31, 2015 at 11:49 AM, Adam Jauregui wrote:
> Hello R-help,
>
695.n4.nabble.com/nested-model-and-post-hoc-tp4710784.html
> Sent from the R help mailing list archive at Nabble.com.
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and
> more, see
> https://stat.ethz.ch/mailman/listinfo/r-hel
Hint: See below.
On Wednesday, August 5, 2015, John Sorkin
wrote:
> Colleagues,
> I need to simulate skewed data so I can run a sample size calculation.
>
> I know the 2.5th, 25th, 50th, and 75th centiles of the data (32, 43, 48,
> 250).
>
> data <- matrix(c(75,250,50,48,25,43,2.5,32),nrow=4,nco
SE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainly not wisdom."
-- Clifford Stoll
>
> __
> 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 commente
gt;
> Cheers,
> Boris
>
>
>
>
>
> On Aug 6, 2015, at 9:51 AM, Federico Calboli > wrote:
>
> >>
> >> On 6 Aug 2015, at 15:40, Bert Gunter > wrote:
> >>
> >> Define "goodness of match" . For exact matches, see ?"==
d
> 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-contained, reproducible code.
--
Bert Gunter
"Data is not information. Info
even bother to read such posts for that reason.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Mon, Aug 10, 2015 at 3:26 AM, Bazman76 wrote:
> Hi there,
>
> I'd like to be
don't know for sure.
There is also an arrows() function in the basic (non-grid) graphics
engine, but this is probably irrelevant for your needs.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Cliffor
You need to:
1) Re-read ?seq. Your syntax is wrong. ("," not ":" )
2) Note that (n-1) x m != n x m
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Tue, Aug 11,
Well, just using base R, ...
> with(mydata,tapply(freq,list(var1,var2),I))
0 1
0 11 12
1 13 14
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Thu, Aug 13, 2015 at 6:39 AM,
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Thu, Aug 13, 2015 at 8:18 AM, peter dalgaard wrote:
>
>> On 13 Aug 2015, at 16:24 , Bert Gunter wrote:
>>
>> Well, just using base R
What do you think "data" is in:
rbind(data, read.csv(filename[id]))
str(data) ## before running your function
will show you that it is probably the built in function data() which
is probably the source of your error.
Cheers,
Bert
Bert Gunter
"Data is not information. Inf
Wrong list. This list is about R, not about statistics/statistical
learning. Post to a stats list like stats.stackexchange.com for
methods issues. Once you figure out what you want to do, R almost
certainly can do it -- search to find out what fuctions/packages to
use.
Cheers,
Bert
Bert Gunter
t all
this. And apologies if I have misunderstood.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Mon, Aug 17, 2015 at 1:51 PM, David Winsemius wrote:
>
> On Aug 17, 2015, at 12
?try
Or
?tryCatch
Bert
Sent from my iPhone -- please excuse typos.
> On Dec 2, 2014, at 12:57 PM, Ramiro Barrantes
> wrote:
>
> Hello,
>
> I am trying to fit many hundreds of simulated datasets using NLME (it's all
> in a big loop in R). Some don't seem to converge. I am working on
> ad
Yes, Bill almost always has helpful ideas.
Just a comment: If indeed the process is gobbling up too much memory,
that might indicate a problem with your function or implementation. I
defer to real experts on this, however.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467
hy people don't make even a minimal search
effort on their own and feel it necessary to ask for help here. It
ain't rocket science!
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certain
While you may get a helpful reply, I think this is really not the
forum for such relatively basic math/stat questions. As you seem to be
more or less at sea here, I really really suggest that you seek help
from a local statistical resource.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical
Your query is incoherent, at least to me. If others are similarly
flummoxed and you receive no useful reply, read and follow the posting
guide (link below) to provide code, data, etc. for a minimal example
to explain what you wish to do. In PLAIN TEXT -- no HTML.
Cheers,
Bert
Bert Gunter
aps
reading an R tutorial (maybe "An Intro to R", which ships with R --
have you read it? If not, why not??) might also do.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not
some help here (there are some pretty smart
optimizers who monitor the list), I suggest you try a statistical site
like stats.stackexchange.com for help, as this appears to be primarily
a statistics issue, not an R programming one.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650
701 - 800 of 5186 matches
Mail list logo