Re: [R] how to generate a random correlation matrix with restrictions

2009-08-31 Thread Kornelius Rohmeyer
Hi, i want to pick up your last method and add that "about 10% of r_ij are greater than 0.9" could mean for example that there is a cluster of about sqrt(1000) variables that are highly correlated. But first let us note, that there is no canonical meaning for the randomness of a random correlatio

Re: [R] regexp help needed

2008-11-28 Thread Kornelius Rohmeyer
Lauri Nikkinen: > Hello, > > I have a vector of dates and I would like to grep the year component > from this vector (= all digits > after the last punctuation character) > > dates <- c("28.7.08","28.7.2008","28/7/08", "28/7/2008", "28/07/2008", > "28-07-2008", "28-07-08") > > the resulting vect

Re: [R] wireframe

2008-11-06 Thread Kornelius Rohmeyer
Am Donnerstag, den 06.11.2008, 10:38 -0500 schrieb Bill Szkotnicki: > I've been using lattice/wireframe succesfully to visualize some data. > I have one question. > I want to be able to change the viewpoint ( i.e. rotate the plotted > figure a bit left or right or up and down ) > Is there a way to