) 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
Marc,
wpw, great, what a lot of solutions!!!
thank you very much,
simone
Il giorno 12/set/06, alle ore 19:21, Marc Schwartz (via MN) ha scritto:
On Tue, 2006-09-12 at 18:42 +0200, Simone Gabbriellini wrote:
Dear List,
how can I coerce a matrix like this
[,1] [,2] [,3] [,4] [,5
I don't know exactly, but you can have a look at the sna package,
there should be a function for geodesic computation in social network
analysis...
regards,
Simone
Il giorno 03/ago/06, alle ore 11:14, stefano iacus ha scritto:
Hi,
has anyone ever seen implemented in R the following
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
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
thank you all
rbind solved my problems!!!
simone
Il giorno 18/ago/05, alle ore 00:34, Martin Lam ha scritto:
# row bind
a - matrix(1:5)
a
a - rbind(a, 6)
a
# column bind
b - matrix(1:5)
b
b - cbind(b, 6:12)
b
b - cbind(b, 13)
b
Hope this helps,
Martin
--- Simone
dear list,
if I have a matrix
s-matrix(1:5, ncol=5)
how can I add another row with other data to that matrix?
thank you,
simone
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
in advance,
simone gabbriellini
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
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
__
R-help
/~wettenhall/RTclTkExamples/. There
are good
examples.
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch
Mime-Version: 1.0 (Apple Message framework v733)
To: R-help@stat.math.ethz.ch
From: Simone Gabbriellini [EMAIL PROTECTED
On Thu, 2005-08-04 at 00:25 +0200, Simone Gabbriellini wrote:
how can I have a 0 evaluated in my loop then?
it is important for my algorithm
do you have any hints?
simone
Il giorno 03/ago/05, alle ore 23:37, Marc Schwartz ha scritto:
On Wed, 2005-08-03 at 23:24 +0200, Simone
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
__
how can I have a 0 evaluated in my loop then?
it is important for my algorithm
do you have any hints?
simone
Il giorno 03/ago/05, alle ore 23:37, Marc Schwartz ha scritto:
On Wed, 2005-08-03 at 23:24 +0200, Simone Gabbriellini wrote:
Dear list,
can someone tell me why this two pieces
my help.search didn't give me any result :(
the one you suggest should be right what I need
thank you,
simone
Il giorno 20/mag/05, alle 00:33, Chuck Cleland ha scritto:
help.search(latent class) shows lca() in the e1071 package.
simone gabbriellini wrote:
Dear List,
just a little question,
I am
thank you Andy
Simone
Il giorno 20/mag/05, alle 12:37, Liaw, Andy ha scritto:
You have to have the package installed for help.search() to find
things in
it. You could try
RSiteSearch(latent class, restrict=function)
Andy
From: Simone gabbriellini
my help.search didn't give me any result
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
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
Hello List,
I need to calculate the p-value (in a standard normal gaussian) for a Z
value I have.
I guess if I had to calculate by myself the value of the area in my
function or refer to some already made function in R.
Any hints?
Thank you very much,
Simone
hello,
is it possible to convert a 3D plot I made with rgl package to a
quicktime VR?
thanks,
simone
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
hello R-Users,
I have this simple but not for me question:
I do:
res-dbSendQuery(con, SELECT * FROM tabellaProva)
myDataFrame-fetch(res)
myDataMatrix-as.matrix(myDataFrame[,-1])
namerows(myDataMatrix)-as.character(myDataFrame[,1])
and I have:
io tu
io 0 1
tu 1 0
my problem is that the
Dear List,
I have this little problem:
I work with adiacency matrix like:
datame 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
19 matches
Mail list logo