- x[order(x)]
Row90 - as.numeric(names (xs)[0.9=seq(xs)/length(xs))])
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
with the
standard release. That said, I have had no qualms about using a patched version
when I encountered a bug that got fixed.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
Off-topic here. Try https://stat.ethz.ch/mailman/listinfo/r-sig-debian.
I also strongly recommend that you be more specific about what you have tried
and how it didn't work as you expected when you post there.
---
Jeff
Why do you think this is something R should be able to do?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
, and hiding operating system
differences can take a lot of work. Your expectation that this be simple is
what seems unwarranted to me.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
Please use a relevant subject line.
You can easily download source code for all CRAN packages and read it yourself.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
Perhaps what is wrong is that you need to learn when to use the str() function.
str(yarn)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
This does not appear to be a question about R. You should post in a list or
forum dedicated to discussing statistics theory, such as
stats.stackoverflow.com.
---
Jeff Newmiller
I don't know about the topic of your question. Have you used the RSiteSearch
function to research it yourself?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
Use factors?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead
- data.frame( m=c(1,2), b=c(-3,4) )
result - sprintf( y=(%d)*x+(%d), DF$m, DF$b)
cat(paste(result, collapse=\n))
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
might guess it is)
See
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
This is operator error. Do not attempt to optimize over an infinite range.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Its suddenness is only as sudden as your input that triggered it. Its oblique
nature is a reflection of the nature of your input.
http://lmgtfy.com/?q=R+contacting+Delphi+oracle+is+unavailable
---
Jeff Newmiller
Please don't double post.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
provide sample
input and desired output following the recommendations here:
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
Are you aware of
?cbind
?rbind
?merge
?
---
Jeff Newmiller
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
See R FAQ 7.31.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead
of the the three can be used to solve your problem.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
options(error = recover)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
/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.
---
Jeff Newmiller
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
did not search
before posting or you did not clarify what you were really looking for properly.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
?embed
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
aperm(array(dat,c(10,10,2)),c(1,3,2))
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
There are multiple ways. For lack of your example, I would suggest multiplying
by 24.
Please post the previous context of the thread if you must post from Nabble.
---
Jeff Newmiller
your sessionInfo() for each case is highly
recommended.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
, perform QC
and combining of sources using strings, and only then convert to factor.
If you HAVE defined your factors using explicit levels definitions, you should
have no trouble combining them.
---
Jeff Newmiller
?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar
That is an intrinsic part of nonlinear optimization. Choose your starting point
wisely.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
] http://en.m.wikipedia.org/wiki/Vector_autoregression
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
library(maptools)
?sunriset
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
support
list either. I suggest that you edit the csv file with a text editor (e.g.
NotePad) to make sure the correct number of commas are on each line of the data
file.
---
Jeff Newmiller
of the platform-specific email lists might be a more
appropriate forum.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
If they have the same number of rows, you can use cbind() to create one object
to write out.
---
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/Batteries
your educational institution.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
You seem to be lost. Try
http://mathstat.helsinki.fi/openbugs/community/CommBBS.html
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
desire for numeric indexes is only as far away as your help
file.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
For RExcel support, see http://rcom.univie.ac.at, where they have various
support options including a mailing list.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
Please read the posting guide... this is not a homework help line.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
data as needed. The plyr package is also useful
for such processing.
---
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
This is not a question about R, but rather about quantitative financial
analysis theory that could be applied using any of many different computational
tools. As such this question is off-topic here.
---
Jeff Newmiller
I try to use difftimes as much as possible. For example,
oneday - as.difftime( 24, units=hours )
sometime - 10 * oneday
You might also find the lubridate package useful.
---
Jeff Newmiller
I thought addition was commutative. I am puzzled by your question.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
a) not reproducible, read the posting guide
b) there is actually a forum dedicated to ggplot2 where you would get better
answers
c) I have not had luck providing an expression as the data argument to ggplot.
---
Jeff
Not without reproducible code and data.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Not reproducible, not even close. Other than saying 600 is not a magic limit in
R, not much help can be given.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
Rather than altering your data, it is better to use the same date time format
at all times, and specify it explicitly when converting to or from character.
---
Jeff Newmiller
integrated into R.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead
the amount of reshaping you do, but it would require knowledge
of your data and algorithms to say any more.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
Please keep mail threads on the mailing list. Please follow the posting
guidelines and provide a sample of data and desired outcome.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
your code the
way you want it. Don't abuse the generosity of your helpers.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
from
the reshape package, and make some columns that contain unique key values for
each time interval, and then use aggregate or ddply from the plyr package.
---
Jeff Newmiller
Stop being surprised. Loaded packages are not part of envir (whatever that
is), nor are they part of the global environment. You have to reload any
packages needed separately from the load call.
---
Jeff Newmiller
will understand
POSIXct arithmetic.
---
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
with for loops, not
vectorized computation. It may still support a simpler model of computation,
but that is an analyst comprehension benefit rather than a computational
efficiency benefit.
---
Jeff Newmiller
That is like complaining that your hammer does not fit these newfangled Philips
screws.
These are different tools. Do not expect them to interoperate.
---
Jeff NewmillerThe . . Go
the vectors you will store your results in before your loop
to regain acceptable speed. Or, perhaps the duplicated() or merge() functions
could save you from this mess of incremental data processing.
---
Jeff Newmiller
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries
dat$group - cut( dat$Var, breaks=c(-Inf,0.1, 0.6,Inf))
levels(dat$group) - LETTERS[1:3]
---
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
than the graph object is. I would index the data and
generate the graph object on the fly when I wanted to see it.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
I would suggest asking this on R-sig-geo.
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
---
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#. #.O
a computation to decide whether it can be computed with
sufficient accuracy using SP.
Most speed problems I have encountered have been related to memory (swapping,
fragmentation) and algorithm inefficiency, not CPU speed.
---
Jeff
I expect the answer to involve manipulating indices. But why do you need to do
this? This looks suspiciously like homework, and there is a no-homework policy
on this list (see the Posting Guide).
---
Jeff Newmiller
---
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
email client. Please read the Posting Guide for more etiquette tips.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Your email Is missing a reproducible example... very sub-optimal, likely to be
ignored.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
, tutors, office
hours...), and we don't know whether the help we provide would be considered
cheating.
---
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
.)
---
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
I recommend the hexView package for setting up such conversions.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
), and that is a very practical
defect in the structure of the current project. Regardless of any arguments you
can think of to the contrary, that is why single large files with otherwise
well-structured code are uncommon.
---
Jeff
] for advice on providing a
reproducible example per the Posting Guide so we can follow your argument
clearly.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff Newmiller
memory configuration.)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer
Not unless you read the Posting Guide, stop posting in HTML mail format, and
provide a reproducible example.
---
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
?sub
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
to read the Posting Guide mentioned at the end of every
R-help email.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go
RStudio questions belong on the RStudio support website. It is fine software,
but it is off-topic here.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
-on-windows-command-line.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO
either.)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
have done.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
with R that can get you started. There are also various intro books
available.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
to explore
your R in-memory environment, and use the built-in help system with the
question mark (?str) or the help.search() and RSiteSearch() functions.
---
Jeff NewmillerThe . . Go
the misclassification.bound argument.
You should read the help file and ask more specific questions and provide
reproducible examples per the Posting Guide recommendations.
---
Jeff Newmiller
/Export PDF files that
come with R if you don't know what a factor is or how to import numeric data.
---
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#. #.O
Wouldn't this be highly dependent on how the pictures and descriptions were
formatted online, as well as what you planned to do with them? I generally find
that a web browser is quite sufficient for my needs.
---
Jeff
format because
HTML mutilates R code. This is a setting in your email program.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
501 - 600 of 3902 matches
Mail list logo