Displaying 2 results from an estimated 2 matches for "curcol".
Did you mean:
cur_eol
2011 Dec 07
1
Help! I couldn't put multiple qplot on the same page...
...grid.newpage()
pushViewport(viewport(layout = grid.layout(plotRows, plotCols)))
vplayout <- function(x, y)
viewport(layout.pos.row = x, layout.pos.col = y)
# Make each plot, in the correct location
for (i in 1:numPlots) {
curRow = ceiling(i/plotCols)
curCol = (i-1) %% plotCols + 1
print(plots[[i]], vp = vplayout(curRow, curCol ))
}
}
My code is as below:
----------------------------
myplotlist=vector('list', 6)
nCount=0;
for (j in myyears)
{
print(j)
nCount=nCount+1
#...
# prepare...
2011 May 02
2
Lasso with Categorical Variables
Hi! This is my first time posting. I've read the general rules and
guidelines, but please bear with me if I make some fatal error in
posting. Anyway, I have a continuous response and 29 predictors made
up of continuous variables and nominal and ordinal categorical
variables. I'd like to do lasso on these, but I get an error. The way
I am using "lars" doesn't allow for the