Displaying 6 results from an estimated 6 matches for "ycols".
Did you mean:
cols
2009 Jul 31
2
another automation question
This code works:
x<-letters[1:6]
ycols<-23:28
xcols<-rep(c(3,4,5,8),each=length(ycols))
somertime<-function(i,j)somers2(Pred_pres_a_indpdt[,i,,], population[,j])
results<-mapply(somertime,xcols,ycols)
How can I make variable "h" work?
x<-letters[1:6]
ycols<-23:28
xcols<-rep(c(3,4,5,8),each=length(ycol...
2004 Feb 08
2
substitute, eval, quote and functions
Hi,
i am working with large data frames with many dependend variables. I
want to write some functions that will allow me to quickly select
variables from the frame and plot them in various colors depending on
factor columns, possibly selecting rows according to factor conditions.
In order to do this in a nice function, i need to understand how to work
with a column name in the body of a
2015 Jul 10
0
colour palettes in biplot
biplot could benefit from allowing colour palettes,
eg. allowing col=list(xcol= xxpal, ycol= yypal) where xxpal and yypal
are palettes.
For an example, see the robust pricipal components in the principal
componetent section of
<http://www.statlab.uni-heidelberg.de/data/olive/olive10.pdf>
The required change is to replace
col[1L] resp. col[2L] by col[1L]] reep. col[[2L]] for example in
2006 Oct 24
0
incorrect number of subscriptions error in user-written function
I have written a function which returns an "incorrect number of
subscriptions error" and am unable to identify why this should happen.
Any help would be gratefully received.
The problem:
I would like to generate combinations/permutations across different
selections - for example all the combinations of "3 chosen from 6"
combined with "5 chosen from 8" combined with
2012 Sep 13
6
[newbie] aggregating table() results and simplifying code with loop
Dear all,
I'm looking for primary help at aggregating table() results and at
writing a loop (if useful)
My dataset ( http://goo.gl/gEPKW ) is composed of 23k rows, each one
representing a point in the space of which we know the land cover over
10 years (column y01 to y10).
I need to analyse it with a temporal sliding window of 5 years (y01 to
y05, y02 to y06 and so forth)
For each period
2004 Sep 21
1
bubble plots
Dear all,
I'm used to draw bubble plots (gstat) to get a first view of my spatial
marked data, but I can't find a way to label legend with marks after having
replaced them by a numeric scale.
I have a data frame with numeric coords and factors:
> names(data)
[1] "x" "y" "bloc" "sub" "inoc"