Displaying 11 results from an estimated 11 matches for "frml".
Did you mean:
frm
2009 Sep 28
1
model.matrix troubles with AlgDesign
...the formula,
but not calculation results from the intermediate calling environment.
Results from traceback():
9: nrow(aus)
8: eval(expr, envir, enclos)
7: eval(predvars, data, env)
6: model.frame.default(object, data, xlev = xlev)
5: model.frame(object, data, xlev = xlev)
4: model.matrix.default(frml, data, ...)
3: model.matrix.formula(1:nrow(aus) ~ ., data = aus)
2: model.matrix(1:nrow(aus) ~ ., data = aus)
1: fac.design(nlevels = c(2, 6, 2))
If I reset model.matrix.formula to model.matrix.default, the problem
disappears (but AlgDesign's comfort functions for squares etc. do not work
any...
2007 Nov 12
2
strange `nls' behaviour
...t;))
#"standard" call of nls:
res1 <- nls(y ~ fitfunc(a, b, c, x), start = c(a=1, b=1, c=1))
call.fitfunc <-
c(list(fitfunc), as.name("a"), as.name("b"), as.name("c"), as.name("x"))
call.fitfunc <- as.call(call.fitfunc)
frml <- as.formula("y ~ eval(call.fitfunc)")
#"computed" call of nls:
res2 <- nls(frml, start = c(a=1, b=1, c=1))
list(res1 = res1, res2 = res2)
}
#-----------------------------------------
the argument `n' defines the number of (simulated) data
points x/y...
2007 Nov 06
0
strange `nls' behaviour
...uot;b", "c", "x"))
res1 <- nls(y ~ fitfunc(a, b, c, x), start = c(a=1, b=1, c=1))
call.fitfunc <-
c(list(fitfunc), as.name("a"), as.name("b"), as.name("c"), as.name("x"))
call.fitfunc <- as.call(call.fitfunc)
frml <- as.formula("y ~ eval(call.fitfunc)")
res2 <- nls(frml, start = c(a=1, b=1, c=1))
list(res1 = res1, res2 = res2)
}
#-----------------------------------------
the first call to `nls' is the standard way of calling `nls'
when knowing all the names. the second call (y...
2011 Dec 11
1
nls start values
I'm using nls to fit periodic gene-expression data to sine waves. I need
to set the upper and lower boundaries, because I do not want any
negative phase and amplitude solutions. This means that I have to use
the "port" algorithm. The problem is, that depending on what start value
I choose for phase, the fit works for some cases, but not for others.
In the example below, the fit works
2004 Jun 03
5
Confidence intervals for predicted values in nls
Dear all
I have tried to estimate the confidence intervals for predicted values of a
nonlinear model fitted with nls. The function predict gives the predicted
values and the lower and upper limits of the prediction, when the class of
the object is lm or glm. When the object is derived from nls, the function
predict (or predict.nls) gives only the predicted values. The se.fit and
interval aguments
2020 Jun 06
0
R 4.0.1 is released
...ot; if collapse is a string and to the zero-length value
character(0) when collapse = NULL.
A package whose code uses this should depend on R (>= 4.0.1).
* The summary(<warnings>) method now maps the counts correctly to
the warning messages.
BUG FIXES:
* aov(frml, ...) now also works where the formula deparses to more
than 500 characters, thanks to a report and patch proposal by Jan
Hauffa.
* Fix a dozen places (code, examples) as Sys.setlocale() returns
the new rather than the previous setting.
* Fix for adding two complex grid...
2020 Jun 06
0
R 4.0.1 is released
...ot; if collapse is a string and to the zero-length value
character(0) when collapse = NULL.
A package whose code uses this should depend on R (>= 4.0.1).
* The summary(<warnings>) method now maps the counts correctly to
the warning messages.
BUG FIXES:
* aov(frml, ...) now also works where the formula deparses to more
than 500 characters, thanks to a report and patch proposal by Jan
Hauffa.
* Fix a dozen places (code, examples) as Sys.setlocale() returns
the new rather than the previous setting.
* Fix for adding two complex grid...
2020 Jun 06
0
R 4.0.1 is released
...ot; if collapse is a string and to the zero-length value
character(0) when collapse = NULL.
A package whose code uses this should depend on R (>= 4.0.1).
* The summary(<warnings>) method now maps the counts correctly to
the warning messages.
BUG FIXES:
* aov(frml, ...) now also works where the formula deparses to more
than 500 characters, thanks to a report and patch proposal by Jan
Hauffa.
* Fix a dozen places (code, examples) as Sys.setlocale() returns
the new rather than the previous setting.
* Fix for adding two complex grid...
2019 Apr 26
0
R 3.6.0 is released
...to the report and "cumsum" patch of Suharto Anggono's PR#17497.
* sub() no longer loses encodings for non-ASCII replacements
(PR#17509).
* Fix for rotated raster image on X11 device. (Partial fix for
PR#17148; thanks to Mikko Korpela).
* formula(model.frame(frml, ..)) now returns frml in all cases,
thanks to Bill Dunlap. The previous behavior is available as
DF2formula(<model.frame>).
* ar.ols() also returns scalar var.pred in univariate case
(PR#17517).
* normalizePath() now treats NA path as non-existent and normalizes...
2019 Apr 26
0
R 3.6.0 is released
...to the report and "cumsum" patch of Suharto Anggono's PR#17497.
* sub() no longer loses encodings for non-ASCII replacements
(PR#17509).
* Fix for rotated raster image on X11 device. (Partial fix for
PR#17148; thanks to Mikko Korpela).
* formula(model.frame(frml, ..)) now returns frml in all cases,
thanks to Bill Dunlap. The previous behavior is available as
DF2formula(<model.frame>).
* ar.ols() also returns scalar var.pred in univariate case
(PR#17517).
* normalizePath() now treats NA path as non-existent and normalizes...
2019 Apr 26
0
R 3.6.0 is released
...to the report and "cumsum" patch of Suharto Anggono's PR#17497.
* sub() no longer loses encodings for non-ASCII replacements
(PR#17509).
* Fix for rotated raster image on X11 device. (Partial fix for
PR#17148; thanks to Mikko Korpela).
* formula(model.frame(frml, ..)) now returns frml in all cases,
thanks to Bill Dunlap. The previous behavior is available as
DF2formula(<model.frame>).
* ar.ols() also returns scalar var.pred in univariate case
(PR#17517).
* normalizePath() now treats NA path as non-existent and normalizes...