[R] Plotting a 3D surface from three variables

2014-04-10 Thread Kumsa
I'm trying to produce a 3d plot with wireframe function or any other package in R . I want to show how z changes in response to x and y. But I fail to produce a 3d surfaceplot with a wireframe command which gives me different error messages. ## Generate data x <- seq(from=0, to=100,by=1) y <-

[R] Remove part of a summary of a model in a regression output

2014-04-01 Thread Kumsa
I would like to drop the out put part of the output that begins with "as.factor(stratadow) in the summary of a model shown below.How can I accomplish this task? Thanks summary(mod1) Family: poisson Link function: log Formula: death ~ hw + temp + as.factor(stratadow) Parametric coefficients: