similar to: Fwd: simple question with table()

Displaying 20 results from an estimated 3000 matches similar to: "Fwd: simple question with table()"

2006 Sep 12
2
coerce matrix to number
Dear List, how can I coerce a matrix like this [,1] [,2] [,3] [,4] [,5] [,6] [1,] "0" "1" "1" "0" "0" "0" [2,] "1" "0" "1" "0" "0" "0" [3,] "1" "1" "0" "0" "0" "0" [4,] "0" "0"
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
2009 Nov 10
1
phase determination
Hi, I'm trying to determine the phase of irregularly sampled data. Is there any particular reason why both spec.pgram and spec.ls return phase<-NULL for vectors? Thank you. Lisandro xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxx Lisandro Benedetti-Cecchi Associate Professor in Ecology Department of Biology - University of Pisa Via
2005 Jul 05
0
Code of Hansen's (2000) Econometrica paper on threshold estimation
I am searching for an R version of the code written in GAUSS by Bruce Hansen for his paper on Econometrica, 2000, "Sample Splitting and Threshold Estimation". Someone can help me? Davide -- Davide Fiaschi Dipartimento di Scienze Economiche University of Pisa Via Ridolfi 10 56100 Pisa (PI) Italy Phone/Fax: ++39.050.2216208/++39.050.598040 E-mail: dfiaschi at ec.unipi.it Homepage:
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
2013 Feb 01
2
how to setdiff on lists of lists
Dear List, I have a data structure like: > aa [[1]] [1] 1 2 3 [[2]] [1] 4 5 6 > bb [[1]] [1] 3 [[2]] [1] 5 I would like to set differences between "aa" and "bb" and get as result another list 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
2011 Oct 11
0
suggestions for ANOVA which includes the "year" as a factor
Dear R Fundation, I am a post-doc researcher at the University of Pisa, Italy. I apologize for my english and I have to tell you in advance that I am a very beginner with R. I used R for fitting dose-response curves (drc package) and for an ordinary ANOVA (one, two or three factors), including the post-hoc mean comparison (I used the LSD test...). Now I have to process some simple data on
2012 Jul 10
2
different mail_max_userip settings
Is it possible to have mail_max_userip set to a value for localhost (webmail) and to another value for everything else? Best regards Federico Bianchi Dipartimento di Storia delle Arti Universita` di Pisa via Trieste, 38 - I-56126 Pisa (Italy) tel.(+39) 050 221 6 024; fax (+39) 050 221 6 001 e-mail: <f.bianchi at arte.unipi.it>
2009 Jul 07
3
troubles with broken clients (iPhone) - again
The PC (Outlook) is accessing the mailbox via POP3, the iPhone is using IMAP; please consider we are talking about a user's home setup, so it's pretty difficult to have a more detailed report on his part (Outlook version, iPhone OS version, xDSL router type and configuration, etc.). The mail server 'dovecot -n' output is attached. The symptoms: when the Mail application is
2013 Apr 19
0
how to measure similarity between vectors of different length
Dear R-People, I am trying to measure distances between an empiric vector and two random vectors. Since one of the synthetic vectors has different length from the empirical one, I tried to introduce 0s to make all vectors have the same length, but this introduces a bias in the measurement. Since I have a lot of simulations of the two random vectors and I can boxplot them, I am thinking about
2012 May 07
1
wireframe and par(mfrow)
Hello List, I have some plots with the wireframe() function, and I'd like to display them in a single jpeg file. I know that par(mfrow=c(x,y)) will divide my display window in x rows and y columns, and although this works with plot(), it looks like it's not working with wireframe. here's my code: library(lattice) library(Cairo) CairoJPEG("wiley-rank.jpeg", width=960,
2003 Sep 11
0
[LLVMdev] event: maybe it is for LLVMers as well?
Hello LLVMers, as I have found in OCaML world, there comes the following event: Sixth International Conference on Coordination Models and Languages 24-27 February 2004, Pisa, Italy details: http://www.di.unipi.it/Coordination2004 P.S. I hope it is shouldn't be considered as off-topic here :-/ -- Best regards, Valery mailto: khamenya AT mail D0T ru
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
2005 Aug 29
1
Rcmdr extensions
Dear List, I am trying to extend Rcmdr with some functions usefult to my study... I have addedd succesfully a menu and some submenu to the GUI, and 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
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
2010 Oct 20
1
how to connect to a remote PostgreSQL database from R on mac osx
Hello List, I would like to connect to a postgreSQL database on a remote server and I am wondering what is the best package to do that. I have just installed RpgSQL, RPostgreSQL, Rdbi and RODBC. The 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
2010 Nov 02
1
subset a data.frame
Hello List, this should be simple, but cannot figure it out. I am trying to subset a data.frame like this: > data4 users time 1 user5 2009-12-01 14:09:58 2 user1 2009-12-01 14:40:16 3 user8 2009-12-04 08:18:37 4 user6 2009-12-04 08:18:37 5 user83 2009-12-04 08:18:37 6 user82 2009-12-04 08:18:37 7 user31 2009-12-04 08:18:37 8
2005 Aug 13
0
tkinsert matrix - how to display a matrix with tcltk
dear list, I have problems with tkinsert I need to display a matrix as a result of my function, but when I use tkinsert(txt, "end", myMatrix, sep="\n") I simply obtain a string. I do: n<-tclVar() tclObj(n)<-matrix(data, ncol=lenght) tkinsert(txt, "end", tclvalue(n), sep="\n") any hints? thank you in advance, simone gabbriellini
2019 Mar 14
0
as.data.frame.table() does not recognize default.stringsAsFactors()
I have no recollection of the original rationale for as.data.frame.table, but I actually think it is fine as it is: The classifying _factors_ of a crosstable should be factors unless very specifically directed otherwise and that should not depend on the setting of an option that controls the conversion of character data. For as.data.frame.matrix, in contrast, it is the _content_ of the matrix
2023 Dec 14
0
R-help Digest, Vol 250, Issue 13
Kevin, Maybe also look at what air quality monitoring is being done in area. https://cran.r-project.org/web/packages/RAQSAPI/vignettes/RAQSAPIvignette.html Depends what and how near, but might be something relevant there? Karl Dr Karl Ropkins Transport Studies | Environment | University of Leeds ------------------------------ Message: 2 Date: Tue, 12 Dec 2023 07:52:59 -0800 From: Bert Gunter