Displaying 2 results from an estimated 2 matches for "teff".
Did you mean:
jeff
2005 Sep 29
1
Error using a data frame as the "start" parameter in mle()
...formod=formod, Nbands=Nbands), method="BFGS")
where negll is a function I have written which uses the function
predict.loess(). negll works fine when called directly. The parameter I am
trying to optimize, "aps", is a data frame containing two parameters, e.g.
> init
teff logg
1 8000 4.5
When I run mle I get the following error message
Error in predict.loess(formod[[band]], aps) :
Argument "aps" is missing, with no default
As negll does work fine, I presume I am incorrectly passing "aps" into
mle(). Note that mle() works fine if I rew...
2008 Jul 07
3
How to get a users screen name into a hidden field in a PostsController action?
Instead of the user entering a name, I want to pass their screen name
along with supplied :title and :content fields. here is what I''ve
got..
f.hidden_field :author, user.screen_name
here is the create method from Posts controller:
def create
@title = "Gravity"
@user = User.find(params[:id]) # this does not work, and I don''t
know why
if request.post?