search for: gabbriellini

Displaying 20 results from an estimated 26 matches for "gabbriellini".

2013 Feb 01
2
how to setdiff on lists of lists
...st of lists like: > res [[1]] [1] 1 2 [[2]] [1] 4 6 I am trying: lapply(aa, setdiff, bb) but I simply get "aa" back as result. Could you please point me in the right direction about the combination of functions that I need to accomplish this task? Best regards, Simone -- Simone Gabbriellini, PhD PostDoc at DISI, University of Bologna mobile: +39 340 39 75 626 email: simone.gabbriellini at unibo.it home: www.digitaldust.it DigitalBrains srl Amministratore mobile: +39 340 39 75 626 email: simone.gabbriellini at digitalbrains.it home: www.digitalbrains.it
2011 Jan 03
4
how to invert the axes in the wireframe() plot
Dear List, I am using the wireframe function in the lattice package, and I am wondering if it is possible to invert the default axes orientation for x and y axes... what parameter should I look for? Best regards, Simone Gabbriellini
2006 Sep 12
2
coerce matrix to number
...result of replacing some character ("v", "d") with 0 and 1, using the code I found with RSiteSearch() z[] <- lapply(z, factor, levels = c("d", "v"), labels = c(0, 1)); thank you, Simone |-------------------------------------------------| dott. Simone Gabbriellini PhD Student Dipartimento di Scienze Sociali Università di Pisa via Colombo 35 - 56100 Pisa mail: simone.gabbriellini@sp.unipi.it mobile: +39 3475710037 |-------------------------------------------------| Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-...
2012 May 07
1
wireframe and par(mfrow)
...5,0.50,0.75,1.00) wireframe(rank, scales=list(arrows=FALSE), drape=TRUE, colorkey=TRUE, xlab="?", ylab="?",zlab="corr", screen = list(z = 45, x = -70), zlim=c(0,1), main="Rank") } dev.off() any help more than welcome... best regards, Simone -- Dr. Simone Gabbriellini DigitalBrains srl Amministratore mobile: +39 3403975626 mail: simone.gabbriellini at gmail.com
2008 Nov 30
4
simple question with table()
Dear List, my problem should be easy to fix, but I couldn't find a solution by myself... In my survey, there is a question with 14 possible answers. None of the respondents choose the 13th answer, so when I table() the results, R says: 1 2 3 4 5 6 7 8 9 10 11 12 14 31 52 7 21 40 7 8 2 28 2 2 1 17 13 is missing... anyone knows how to tell table() that there are 14 modalities in the
2005 Aug 11
1
tcltk programming guide
Dear List, I'm looking for some documentation about the R tcltk package The one I found in the help doesn't look exaustive, I need information on the use of the single tk widget, maybe with some examples thank you, simone gabbriellini
2008 Nov 30
0
Fwd: simple question with table()
...30/nov/08, alle ore 11:22, Jorge Ivan Velez ha scritto: > > Dear Simone, > > Try this: > > x=c(1,1,2,3,4,3,2,2,2,1,2,3,4,4,3) > table(factor(x,levels=1:5)) > 1 2 3 4 5 > 3 5 4 3 0 > > HTH, > > Jorge > > > > On Sun, Nov 30, 2008 at 5:05 AM, Simone Gabbriellini <simone.gabbriellini@gmail.com > > wrote: > Dear List, > > my problem should be easy to fix, but I couldn't find a solution by > myself... > > In my survey, there is a question with 14 possible answers. None of > the respondents choose the 13th answer, so when...
2005 May 19
2
laten class analysis
Dear List, just a little question, I am interested in Latent Class Analysis and I guess if there is a package for this pourpose thank for you help, Simone
2005 Aug 03
3
problem with for()
Dear list, can someone tell me why this two pieces of code give me the same results? > for(i in 0:5){ sum[i] = i } > sum [1] 1 2 3 4 5 > for(i in 1:5){ sum[i] = i } > sum [1] 1 2 3 4 5 shouldn't the first one be 0 1 2 3 4 5 thank you, simone
2005 Aug 29
1
Rcmdr extensions
...I have placed a file .R in the /etc folder... I am able to call functions on that file, but I cannot see the results: how can I tell Rcmdr to write the output in the output box? Second question: how can I refer to the actually selected Dataset in my .R functions' file? Thank you, Simone Gabbriellini
2013 Apr 19
0
how to measure similarity between vectors of different length
...t every empirical point has been captured by each random vectors. I am not a statistician, and I think that this solution may already have been implemented in R, but I do not know where to search for this, so I do welcome every suggestion/advice you might give me. Best regards, Simone -- Simone Gabbriellini, PhD PostDoc@DISI, University of Bologna mobile: +39 340 39 75 626 email: simone.gabbriellini@unibo.it academia.edu: http://goo.gl/7pq62 DigitalBrains srl Amministratore mobile: +39 340 39 75 626 email: simone.gabbriellini@digitalbrains.it home: www.digitalbrains.it [[alternative HTML version d...
2010 Oct 20
1
how to connect to a remote PostgreSQL database from R on mac osx
...handiest to me is RPostgreSQL but I don't see how to connect to a remote server with it. For sure I can connect to remote server with RODBC, but since I am on a Mac OSX 10.6, I have quite difficulties to find ODBC drivers and compile them. Any advice is more than welcome. best regards, Simone Gabbriellini
2011 Apr 19
3
zero fill empty cell in data.frame
Hello List, I have a data frame like: V130 V131 V132 V133 V134 V135 V136 1 0 0 0.9 0 0.9 0 0 2 0 0 0 0 0 0.8 3 0 0 0 0 0.9 0 0 4 0.9 0 0 0 0 0 0.9 5 0 0 0 6 0 0 0 0.9 0 0 0.9 7 0 0 0.8 0 0 0 0 8 0.9 0 0 0.9 0.8 0 9 0 0 0 0.9 0.9 0 0 10 0 0 0 0 0 0 0.9
2008 Nov 07
5
Agent-based social simulation and R
Do anyone know anything about the use of R for agent-based social simulation? It should be possible, and would be convenient for the simple reason that there are several nice packages containing useful stuff for SNA (Social Network Analysis). Information about packages, web sites, experienced persons in the field, etc. would be very welcome. Tom
2009 Sep 04
3
eps file with embedded font
Dear list, I am trying to make eps file with embedded font. I use: postscript("ranking-exp-all.eps", horizontal=TRUE, onefile=FALSE, paper="special", height=8, width=12, family="Helvetica") # plot stuff dev.off() since R does not embed font, I then use: embedFonts(file="indegdistr.eps", outfile="indegdistrEMB.eps",
2010 Nov 02
1
subset a data.frame
...1-05 07:18:36', but I have no idea about the sintax to do that. is something like this close to the correct way: active<-data4['time'<= as.POSIXct("2010-01-05 07:18:36", origin="1970-01-01 00:00:00-00")] thanks in advance for any help. best regards, Simone Gabbriellini
2011 Mar 02
2
how to simplify a data.frame and add the counts of duplicate rows as a new column
Hello List, I would like to simplify a data.frame like this columnA columnB user10 proj12 user10 proj19 user10 proj12 into something like: columnA columnB columnC user10 proj12 2 user10 proj19 1 I know unique() can simplify the data.frame, but how to count and store the duplicates? thanks in advance for any help. best regards, Simone
2008 Nov 30
1
barplot labels
Dear List, is it possible to plot vertical labels under vertical bars? for vertical labels I mean to rotate 90 degrees horizontal labels I suppose yes, because if excel can do this, R should do it twice better... thank you, Simone
2008 Nov 30
2
how to select cases based on value of one or more variables
dear list, I have read a spss file with read.spss() now I have a list with all my variable stored as vectors. is it possible to selec cases based on the value of one or more variables? thank you, Simone
2005 Apr 02
2
RMySQL question
Dear List, I have this little problem: I work with adiacency matrix like: data me you me 0 1 you 1 0 I store those matrix in a mysql database actually I use RMySQL with: res<-dbSendQuery(connection, "SELECT * FROM table") myDataFrame<-fetch(res) to retrive the table, and I have data me you 1 io 0 1 2 tu 1 0 I would like the first column to be seen