On 25.01.2013 12:08, Berend Hasselman wrote:
On 25-01-2013, at 10:25, marcoguerzoni
wrote:
dear all,
thank you for reading.
I have a dataset of artists and where and when they had an
exhibition.
I'd like to create an affiliation network in the form of matrix,
telling me
which aritist h
to pajek. I don't any other way to
have them like this and save them as text file.
Probably is my lack of knowledge...
software?
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
-Original Message-
From: Marco Guerzoni [mailto:marco.guerz...@unito.it]
Sent: Wednesday, Mar
, R. Michael Weylandt ha scritto:
You can't have "empty" spots like that in an array. One choice would
be to fill them with NAs:
library(plyr)
do.call(rbind.fill.matrix,lapply(split(b,a), t))
Michael
On Wed, Mar 14, 2012 at 4:01 AM, Marco Guerzoni wrote:
Thank you fro the reply.
I
I would like:
[,1] [,2] [,3]
1 11
27
34
4983
5 124
A solution could be rbind.fill , which does not seem to work with list.
thanks
Marco Guerzoni,
Department of Economics
University of Turin
Note that your df<-cbind(a,b) produces a matrix, not the data.frame
t
dear all,
apologizes for bothering with a probably stupid question but I really
don' t know how to proceed.
I have a dataset which look like df
a <- c(1,2,3,4,4,4,5,5)
b <- c(11,7,4,9,8,3,12,4)
df <-cbind(a,b)
I would like to have one which looks like this:
a
1 11
2 7
3 4
4 9 8 3
5 12 4
a a
5 matches
Mail list logo