Displaying 5 results from an estimated 5 matches for "ftemp".
Did you mean:
temp
2012 Dec 12
2
help with predict.glm, and charting with factors
...put the text argument the output in the graph gives salinity
values that are superimposed on one another. And, the values don’t seem to
make sense – they are returned as probabilities of either 1.0 or 0.
2. When I input the lines argument I get the following error messages:
Error: variable 'fTemp' was fitted with type "factor" but type "numeric"
was supplied
In addition: Warning message:
In model.frame.default(Terms, newdata, na.action = na.action, xlev =
object$xlevels) : variable 'fTemp' is not a factor
grrrrrrrrrr
Pleasehelp<-read.table("Rhelp...
2011 Feb 14
1
Optimization Question
Hi all,
This is my first optimization code and am receiving the following error for the following function:
fn <- function(p) {
+263*log(sqrt(2*pi)*sd(test$A))+ sum(log(abs(c(test$A[-1], 1))^p[3])) + (sum(((test$A-p[1]+(p[2]+1)*c(test$A[-1], 1)))^2)/sum(sd(test$A)*(abs(c(test$A[-1], 1))^p[3])^2))/2
}
out <- optim(fn, p = c(0.1, 0.1, 2.5), method="BFGS", hessian=TRUE)
Error
2012 May 07
1
How can I brake a label in two lines when using expression()?
...2624, 1.185304427, 2.56408099,
2.02644683, 1.606374443, 2.253928482, 2.759177284, 2.49014747,
2.168437604, 3.075977559, 2.438453415), upper = c(2.405177369,
2.371013766, 1.650070777, 3.656798978, 2.59443295, 2.092090543,
2.839565714, 3.821292844, 3.511287728, 3.221365214, 4.629203535,
3.489715083), fTemp = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 2L,
2L, 2L, 2L, 2L, 2L), .Label = c("8", "12"), class = "factor"),
fCO2 = structure(c(1L, 1L, 1L, 2L, 2L, 2L, 1L, 1L, 1L, 2L,
2L, 2L), .Label = c("380", "750"), class = "factor"), fTreat = stru...
2012 May 03
1
braking a label in two lines when using expression()
...2624, 1.185304427, 2.56408099,
2.02644683, 1.606374443, 2.253928482, 2.759177284, 2.49014747,
2.168437604, 3.075977559, 2.438453415), upper = c(2.405177369,
2.371013766, 1.650070777, 3.656798978, 2.59443295, 2.092090543,
2.839565714, 3.821292844, 3.511287728, 3.221365214, 4.629203535,
3.489715083), fTemp = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 2L,
2L, 2L, 2L, 2L, 2L), .Label = c("8", "12"), class = "factor"),
fCO2 = structure(c(1L, 1L, 1L, 2L, 2L, 2L, 1L, 1L, 1L, 2L,
2L, 2L), .Label = c("380", "750"), class = "factor"), fTreat = stru...
2011 Jul 27
3
Is R the right choice for simulating first passage times of random walks?
Dear R folks,
I need to simulate first passage times for iterated partial sums. The
related papers are for example [1][2].
As a start I want to simulate how long a simple random walk stays
negative, which should result that it behaves like n^(-?). My code looks
like this.
-------- 8< -------- code -------- >8 --------
n = 100000 # number of simulations
length = 100000 # length of