.
---
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
Your cart is stuck in front of your horse. This will be WAY easier to
accomplish if you rename your columns in your input data frame before fitting
the model.
---
Jeff Newmiller
system so you need to learn that
with Google.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
and follow the directions there.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
It seems to me that this issue should be reproducible with a small matrix,
since the concern is the representation rather than the values.
---
Jeff NewmillerThe . . Go Live
This is off-topic here... you are looking for statistical advice, if not
problem-domain-specific help. Please read the Posting Guide.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
Only vectors recycle. If you don't want the behaviour if the matrix to reflect
that of the underlying vector then don't use recycling. Instead use indexing.
M.1 - M.2[rep(1:5,3),]
---
Jeff Newmiller
Read the Posting Guide... use plain text email.
help.search(file)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
of this type.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
there.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer
Sure. Read the Posting Guide, and provide a reproducible example with sample
data.
I suspect the basic idea will be to merge the data frames and then setup the
model to refer to the desired columns.
---
Jeff Newmiller
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
parameters. Most
likely, supplying just one of the options for each parameter will obtain best
results.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
the file you want
does exist, verify that your local network is functioning, and practice a
little patience.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
Try reading a different file. The error message says the existing code cannot
read that file.
---
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
and off topic here. Once
you do understand this difference, you might be interested in reading the R
help file on Sys.setenv().
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
exchange.com for an example of a forum where such discussions may
not be off-topic.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
In that case, you should be looking at a relational inner join, perhaps with
SQLite (see package sqldf).
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
a
code snippet when you got time. Thanks a lot!
On Tue, Jul 30, 2013 at 10:36 AM, Jeff Newmiller
jdnew...@dcn.davis.ca.uswrote:
In that case, you should be looking at a relational inner join,
perhaps
with SQLite (see package sqldf
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
to be applied to the computation phase.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
I find the hexView package quite helpful for this.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
files non-interactively
and serves them via a web page. I suggest you clarify your definition of run
to prompt a more helpful response from the list.
---
Jeff NewmillerThe . . Go Live
Or ?file.path for a more OS- independent approach.
---
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
?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
specifically so you can ask
more specific questions.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Best to ask questions about Bioconductor packages on the bioconductor mailing
list.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
(stackoverflow?). If you find a bug in
RCurl, correspond with the package maintainer (see ?maintainer).
---
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
write your own .FUN function if you are calling ddply within your own function.
See the help for ddply for examples of how to do that.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
Isn't the obvious solution to subtract the set for level n-1 from the set for
level n?
---
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
try
options (error= recover)
and examine the stack frames.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Please read the posting guide mentioned at the bottom of any message on this
list. Your posts have issues:
Reproducible example (use dput)
desired output (use dput)
Include context from previous messages
---
Jeff Newmiller
).
---
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/Batteries
Don't imagine too much, because R is pretty good about not doing deep copies
unless it is necessary to change data.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
such software up is definitely off topic here.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Did you actually read the help file for filled.contour?
The image.plot call is being affected by the documented behavior of
filled.contour.
ggplot might be worth investigating.
---
Jeff Newmiller
) )
and
print ( sprintf(a\bc\d) )
In a nutshell, print makes the string suitable for inclusion in source code,
while cat sends the string directly as-is.
---
Jeff NewmillerThe . . Go Live
are pretty good.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
to pick a different
one to get the right combination of updated software and libraries. This
changes over time, so I have never had the perfect storm of repository problems
and new installation unfamiliarity to deal with.
---
Jeff
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
frame.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
http://en.wikipedia.org/wiki/Year_2038_problem
Workaround 1: Avoid collecting data in the future and processing it in the
present.
Workaround 2: Use a 64-bit build of R, as appropriate for such future data sets.
---
Jeff
lack
of reproducible (even if inefficient) code.
---
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
This is off-topic (not about R), and a quick Web search of test within
polygon yields many results, and adding R to the search when using Google
provides hints about applying the algorithms in R.
---
Jeff Newmiller
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research
Try a different repository?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
of positive and not-positive numbers)
aggregate does the summation
ans may be empty if x started with positive numbers.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
Need sample data, and code that demos the problem.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Can you post what you want your answer to be for the a and b you have given
already?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
(LME~WD, random=~1|Species, ML)Error:
could not find function lme
[[alternative HTML version deleted]]
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
before changing it this way.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO
the string directly to the output stream
to prove this to yourself.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
converting to factors
until I need them. Other people convert from factor to character and back to
factor to get rid of unwanted factor levels on an as-needed basis.
---
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
] reshape2's dcast() Adds NAs to Data Frame
On Wed, 8 Aug 2012, Jeff Newmiller wrote:
The explanation is that this is normal and consistent with behavior of
factors in general. If you don't want that, it is common to work with
character data instead of factors, only converting to factor when needed
Maybe the cut function?
?cut
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
Perhaps ?Sys.sleep between scrapes. If this slows things down too much you may
be able to parallelize by host site with ?mclapply.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
for matrices. Tempting for naming time variables.)
df (density of the f distribution. Tempting because data frames are very often
used object classes.)
---
Jeff NewmillerThe . . Go Live
FAQ 7.31
?is.equal
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO
such a thing is
possible.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO
to use the help system, e.g.
?ecdf
---
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
delay conversion until late in the game... but usually I
do eventually convert in most cases.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
by
the uninstall/install of R.
disclaimer: It works for me. As always, YMMV so backup anything you are
concerned about losing due to Ubuntu coding errors or your own errors.
---
Jeff Newmiller
What is wrong with utilizing the vectorized nature of paste?
zz[[1]] - paste(zz[[1]],zz[[2]],sep=_)
---
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
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer
to
HTML corruption or whether you actually typed that in.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Google is your friend
http://www.ats.ucla.edu/stat/r/faq/timing_code.htm
http://r.research.att.com/benchmarks/
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
a course my work paid for,
and I have purchased CDROMs of Linux distributions before.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live
---
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 Engineer (Solar/BatteriesO.O#. #.O#. with
/Software
to pursue that
conversation here.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
Read the posting guide... you need to provide more specific information such as
sample data (?dput).
For this problem you should probably read
?merge
---
Jeff NewmillerThe . . Go
Perhaps.
What does this have to do with R?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Then why don't you follow the posting guide and provide an R sample data set
and R sample result?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
of analysis.
c) Use the format argument if you want consistent results.
---
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
, but you provide no data or
reproducible, self-contained R code, so even if it is not homework you are not
providing us with a sporting chance at understanding your questions. Read the
Posting Guide.
---
Jeff Newmiller
This is very off-topic here.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live
in the combined data
frame?
If you really want the column names to stay the same, perhaps you want to stack
the data frames vertically with rbind?
---
Jeff NewmillerThe . . Go Live
Perhaps what you want to explore is the object returned from the summary method
rather than the fit object?
coef(summary(kinfit))
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
function of your own as the help page for ddply describes. Too many
layers of syntactic sugar are involved for summarise to work within a function.
---
Jeff NewmillerThe . . Go Live
combine computations on groups of rows instead of on
columns.
---
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
benefit
from (re)reading the Introduction to R document. Without a reproducible example
or an idea of what you want to accomplish, I don't know what _is_ going to work.
---
Jeff Newmiller
You cannot have duplicate row names. You have to do something to address that,
such as remove duplicates or aggregate your data.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research
, and eventually you may want to use that function yourself. One
solution is to use DF for your variables... another is to use more descriptive
names.
---
Jeff NewmillerThe . . Go Live
-reproducible-example
In particular note the recommendation to use the dput function to send us
sample 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
It is my normal practice to install R libraries without root. Just use your own
library directory instead of the system library.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
601 - 700 of 3908 matches
Mail list logo