Displaying 2 results from an estimated 2 matches for "pamat".
Did you mean:
pamas
2010 Jul 22
1
function return
...reciated.
Thanks,
Dan
`panel3pt1.fn` <-
function(){
source("utilfns.Rd")
data<- read.table("wtmatrix.txt",header=T,na.strings=T)
elev<-data[,"elev"]
forest<-data[,"forest"]
elev<-scale(elev,center=TRUE)
forest<-scale(forest,center=TRUE)
pamat<-data[,c("y.1","y.2","y.3")]
z<-pamat[,1]
M<-length(z)
lik<-function(parms){
b0<-parms[1]
b1<-parms[2]
b2<-parms[3]
b3<-parms[4]
ones<-rep(1,M)
### Compute binomial success probabilities
probs<-expit(b0...
2009 Jul 10
3
strange strsplit gsub problem 0 is this a bug or a string length limitation?
I was working with the rmetrics portfolioBacktesting function and dug into
the code to try to find why my formula with 113 items, i.e. A1 thru A113,
was being truncated and I only get 85 items, not 113.
Is it due to a string length limitation in R or is it a bug in the strsplit
or gsub functions, or in my string?
I'd very much appreciate any suggestions
============Input script: