Sorry, messed up the second ddply example:
dta3 - ddply( dta2, c(slot,classf), function(DF){data.frame(
Total=nrow(DF),
MeanVelocity= mean( DF$TimeMeanVelocity ) ) } )
---
Jeff Newmiller
But still wrong... needs to be calculated in two steps because the cars are
seen in multiple frames.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
This sounds like a classic you need to write a custom CSS file problem...
Which is off-topic here, so is homework for you.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead
don't have this problem with ddply.
BTW: Gmail is capable of sending plain text... but you might have to read some
documentation to find out how.
---
Jeff NewmillerThe . . Go Live
provide your code with functions that
access data on their own. You don't need to assume so much responsibility as
your question assumes you have to.
Doctor, my head hurts!
Then stop banging it against the wall.
---
Jeff Newmiller
They appear to be technical terms relevant to fertility. You should probably
ask someone with a background in medicine... or Google for these terms in
conjunction with the word fertility.
---
Jeff Newmiller
-and-ggplot/
[2]
http://learnr.wordpress.com/2009/05/18/ggplot2-three-variable-time-series-panel-chart/
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
You really need to read the Writing R Extensions document. It warns you
against performing I/O from C code linked to R.
You probably ought to read the Posting Guide, also, since this question is off
topic here
---
Jeff
, and this is the R-help
mailing list. Therefore it seems appropriate for you to ask your question on
the RStudio support forum at least until you can reproduce the problem without
using RStudio.
---
Jeff Newmiller
You seem to be treating zeroes as unknown values. Perhaps you should consider
setting them to NA and using the na.approx function from the zoo package.
---
Jeff NewmillerThe . . Go
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
More importantly, it is identified as inappropriate in the posting guide, so
such message threads are off topic.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
should (re)read the Posting Guide mentioned in the
footer of this email.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff Newmiller
for that.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
Have you investigated the suggestion in the error message yet? Architecture
means 32bit vs 64bit...
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
to identify the
largest you can successfully analyze. You may be able to use a more efficient
algorithm or you may have to run your analysis using a machine with more memory
or reconfigured process usage limits.
---
Jeff Newmiller
http://cran.r-project.org/web/packages/MASS/citation.html
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
).
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer
Sorry, psychic powers too weak.
Suggest you read the Posting Guide for this mailing list. You may also benefit
from reading
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example.
---
Jeff
con is probably not a valid ODBC DSN. You need to study how ODBC works
independently of R... we cannot tell you what you should be putting there
instead.
---
Jeff Newmiller
on the right.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
You seem to be using different versions of R for these two trials.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
-see format).
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
You have not said what your problem is, and you have not shown us the code you
have tried. How are we supposed to know what you want?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
on and why.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
at this point is that you should avoid
using - at all. Instead, return results or lists of results from the
functions and assign them to global variables where you call the functions.
---
Jeff Newmiller
to collect all the related to single student .
if there is any other way to do this or you have a document or link to parse
a log file.
and then i want to perform some statistic
i am new to R may be there is some mistake in my explanation.
On Fri, Jun 20, 2014 at 7:23 PM, Jeff Newmiller jdnew
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
]]
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar
-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries
timestamp
values in R. You also need to be clear about time zones, but that is true
regardless of the software you use.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
, lst )
}
On Wed, 25 Jun 2014, Jeff Newmiller wrote:
The brokenness of your perm.broken function arises from the attempted use of
sapply to bind matrices together, which is not something sapply does.
perm.fixed - function( x ) {
if ( length( x ) == 1 ) return( matrix( x, nrow=1 ) )
lst
be doing quite what you want yet) then we might be in
a position discuss how to get from there to where you want to be.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries
Wrong forum. RStudio has its own community support forum at their website.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
on that server using the dot notation mentioned by Peter,
and pass all those queries through the same DSN.
Something like
library(RODBC)
con - odbcConnect(SQLServer2012)
orders1 - sqlFetch(con,sportsDB.dbo.sports)
odbcClose(con)
---
Jeff
.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
Code is corrupted. Please post in plain text as the Posting Guide indicates is
expected of you.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
Have you tried
RSiteSearch(zeta squared)
?
Someone may recognize this, but it never hurts to communicate where you have
already looked.
---
Jeff NewmillerThe . . Go Live
]}) ]
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
Have seen it. Had to override Norton and tell it to ignore the threat. Been
awhile, don't off the top of my head remember how I did that.
---
Jeff NewmillerThe . . Go Live
-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
/architectures of R that point to the correct one for that
project. Then you just start R using that shortcut or script.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries
columns but it would
have to be a lot to change the story).
I would go for all five weeks at once, and only break it up if I had problems.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar
Possible, but almost certainly not worth it. R is an interpreted language, and
the dll would have to encapsulate the whole shebang.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
and provide commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO
/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
FAQ 7.16. ... yes, it applies.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries
Please read the Posting Guide. There is a no HTML policy and a no homework
policy.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
You need to rebuild it with an appropriate Depends entry (version of R greater
than 3) in the DESCRIPTION file.
Further discussion about how to fix packages belongs on the R-devel mailing
list.
---
Jeff Newmiller
how it is
currently formatted.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries
section.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
, and
normal control flow leads to the end of the function.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
. The replace method seems much
more suitable if you want to supply an external key in the course of the
assignment.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
]]
Please send your emails in plain text, as the Posting Guide requests. HTML
often corrupts what you send to the list.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
On Mon, 28 Jul 2014, Jeff Newmiller wrote:
On Mon, 28 Jul 2014, Pavneet Arora wrote:
Hello All,
I need to calculate a column (Vupper) using a formula, but I am not sure
how to. It will be easier to explain with an example.
Again this is my dataset:
dput(nd)
structure(list(week = c(1, 2, 3, 4
say how you installed the jdk so that
could also be messed up.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
In general, I don't thiink so. But are you aware that knitr has its own help
forum [1]?
[1] https://groups.google.com/forum/m/#!forum/knitr
---
Jeff NewmillerThe . . Go Live
Isn't that a timestamp that doesn't exist in standard US timezones? Maybe use a
timezone that doesn't consider daylight savings (like Etc/GMT+5)?
---
Jeff NewmillerThe . . Go Live
I don't. Please post code to demonstrate your result when asking a question
like this.
test - list()
mode(test)
[1] list
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
You are repeating yourself. At least post as a reply to your earlier post.
Does
RSiteSearch(technological logistic)
help?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
The range vector is evaluated at the start of the loop, so it is only evaluated
once. ind.length would be an unnecessary extra variable.
---
Jeff NewmillerThe . . Go Live
Read
?maintainer
and
the Posting Guide mentioned below.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
text next time.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
Use one of the various functions out there that generate markdown or html
tables, and set the chunk option results='asis'.
Google for kable, xtable, pander, or ascii... there are probably others
as well.
---
Jeff Newmiller
the Posting Guide,
which points out that this is a plain text mailing list (HTML is not a
what-you-see-is-what-we-see format).
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
sending patches to all those maintainers?)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
).
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
/Software
software.
I use
write.table(foo,data.csv,sep=,,row.names=FALSE)
to export csv data.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
using Reduce.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research
, specifically regarding posting in plain text. Your code was
partially damaged by the HTML email format.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff Newmiller
, but then you are
stuck with that API.
It might be appropriate to discuss this on R-sig-db if you have better
information than I do.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
RSiteSearch(tobit)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO
://sites.google.com/site/batsoundservices/
[1] http://www.r-project.org/doc/Rnews/Rnews_2004-1.pdf starting on page 29
[2]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff Newmiller
1201 - 1300 of 3908 matches
Mail list logo