Dear all,
I am performing a CCA using vegan package, function cca.
Data loaded are fine (presence-absence data) but when using cca function it
seems some constraining variables are not taken into account.
While asking for the summary of the CCA:
- they appear in call:cca(formula = etc.).
- but
I know using eval is not optimal and maybe bad, but how to avoid using eval
in the following example
func1 - function(dat, eval.this) {
eval(parse(text = paste0(with(dat, , eval.this,
}
dat - data.frame(x = 1:2, y = 2:3)
func1(dat, x*2+y)
func1(dat, sin(x)*cos(y))
Here eval.this is a
This has been discussed extensively, on this list as well as
elsewhere. I suggest doing a web search, read up on the issue, and
post back here only if you have specific questions that are not
answered already.
Best,
Ista
On Sat, Feb 1, 2014 at 11:40 AM, Hai Qian hq...@gopivotal.com wrote:
I
I have been searching around for some time, but with no luck for this
particular problem.
--
*Pivotal http://www.gopivotal.com/*
A new platform for a new era
On Sat, Feb 1, 2014 at 9:02 AM, Ista Zahn istaz...@gmail.com wrote:
This has been discussed extensively, on this list as well as
You have set up your criteria for success to be that your user has full freedom
to specify code in strings to evaluate. Then you ask how to achieve this goal
without evaluating that code. Are you thinking objectively at all about your
question?
The advice to not use eval has a number of
On 14-02-01 11:40 AM, Hai Qian wrote:
I know using eval is not optimal and maybe bad, but how to avoid using eval
in the following example
func1 - function(dat, eval.this) {
eval(parse(text = paste0(with(dat, , eval.this,
}
dat - data.frame(x = 1:2, y = 2:3)
func1(dat, x*2+y)
Hi Jeff,
Your answer is good. It makes me think that maybe I should revise some of
my designs.
Now I know that it is impossible to do this under my settings.
Thanks
On Sat, Feb 1, 2014 at 9:55 AM, Jeff Newmiller jdnew...@dcn.davis.ca.uswrote:
You have set up your criteria for success to be
On Sat, Feb 1, 2014 at 11:40 AM, Hai Qian hq...@gopivotal.com wrote:
I know using eval is not optimal and maybe bad, but how to avoid using eval
in the following example
func1 - function(dat, eval.this) {
eval(parse(text = paste0(with(dat, , eval.this,
}
dat - data.frame(x = 1:2,
Consider this dummy dataset.
My real dataset with over 1000 records has
scatter large and small values.
I want to predict for values with NA but I
get negative predictions. Is this a normal
behaviour or I am missing a gam argument
to force the model to predict positive values.
library(mgcv)
test -
Hi,
I wanted to know what the following columns mean in the infert dataset:
parity count
matched set number 1-83
stratum number 1-63
Thank you,
Fayez
Urbana, IL, USA
[[alternative HTML version deleted]]
__
R-help@r-project.org
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
Dear Felipe,
That is a normal behavior --- The prediction for that simple model
decreases over time, and ends up negative. If the outcome cannot take
on negative values, treating it as a continuous gaussian may not be
optimal --- perhaps some transformation, like using a log link so that
the
On Feb 1, 2014, at 6:32 PM, Jeff Newmiller wrote:
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.
Parity is the only technical term and its easy
ah, I see! Thanks you for the assistance! I can see how I went wrong.
From: arun smartpink...@yahoo.com
Sent: Friday, January 31, 2014 2:59 PM
To: r-help@r-project.org
Cc: Mathew Nagendran
Subject: Re: [R] Defining function help
Hi,
Not sure if this is
Hi
I want R code for bayesian CIF competing risks.
best regards
__
R-help@r-project.org mailing list
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,
On 02/02/14 15:37, mohammad javad Azadchehr wrote:
Hi
I want R code for bayesian CIF competing risks.
best regards
I want wealth, wisdom, good looks, and to play full forward for the
Sydney Swans.
cheers,
Rolf Turner
__
R-help@r-project.org
On 02/02/2014 01:37 PM, mohammad javad Azadchehr wrote:
Hi
I want R code for bayesian CIF competing risks.
best regards
Hi mohammad,
Have a look at the SemiCompRisks package.
Jim
PS - You deserved Rolf's reply.
__
R-help@r-project.org mailing list
I'm about halfway finished writing a book titled, Parallel Computation
for Data Science: with Examples in R and Beyond, to be published later
this year by Chapman and Hall.
I'm making a rough draft of the first half of the book available on the Web:
18 matches
Mail list logo