search for: ysapir

Displaying 3 results from an estimated 3 matches for "ysapir".

Did you mean: sapir
2007 Dec 15
1
modify a data.frame within a function
Hello all, I'm trying to modify a single column of a data frame to remove randomly half of the values. I want to do it within a function, but can not assign the modified column back into the data frame. It was easy and successful without a function, so I suspect the problem is the call of the single column within the function. removedata<-function(datafull,var.removed) { attach(datafull)
2006 Oct 12
1
R not responding for nested glm model
Hi, I'm trying to perform a glm model on count data (poisson distribution of the errors) where data are nested. glmmodel<-glm(y~x/z,poisson) x and z are factors, z nested within x, y is count data. In that point the R just "stuck" and not respond anymore. I tried glmmodel<-glm(y~x,poisson) and there were no problems. Trying glmmodel<-glm(y~x/z) gave the same no response.
2006 Oct 14
1
commands overwritten
Hi, I am often re-use commands in R by using the arrows to retype them and modify for the new needs. This way, I don't need to write commands again, and I can modify the command by inserting/deleting/re-writing the command. Today, suddenly, re-writing change the commands as the "insert" function does in Word. for example - if I am standing in the middle of