similar to: data.frame size limit

Displaying 20 results from an estimated 700 matches similar to: "data.frame size limit"

2008 May 09
1
Data frame row manipulation
Greetings, Q #1 ------ How does one combine data frames by row ... no cleverness a la merge(), just add rows. For example, given A with 20 rows and B with 30 rows, I want C = combine( A, B) having 50 rows. Columns having matching names should be filled from both (all) sources with suitable coercion, unmatched would get NA in rows whose source does not have that column. Q #2 ------ Given
2008 May 12
2
Collection of lm()s
Hello, I would like to create a subscriptable collection (presumably a list) of lm() models. I have a data frame DX containing 6 groups of data. The general idea is (NOT RUN) ... for (i in 1:6) { DXS = subset( DX, <whatever>); LMX[ i] = lm( <formula>, data = DXS); } Now access model results by subscript ... e.g. coefficients( LMX[ 2]). Or would it be [[ 2]]? I
2008 Apr 30
1
Aggregate() questions
Dear all -- I have a data frame containing data related to heat gain through windows. The general form is ... Key ProfA IAC <many other numeric columns> AAA 0 .7 AAA 10 .6 AAA 0 .66 AAA 20 .45 (more AAA rows) (then AAB rows) 'Key' identifies the physical configuration ... rows with a given Key contain data for same window under various
2008 May 05
4
Column renaming
Dear all, Is there a less cumbersome way to rename a column by name (as opposed to index) than -- names( X)[ names[ X] == "bob"]<-"sue" ? A semi-related question: how does one get the index of a column by name, something along the lines of col.index( X, "sue") ? Chip Barnaby --------------------------------------------------------- Chip Barnaby
2008 May 28
1
Grouped weighted.mean
Dear all -- I want to compute weighted.mean() for grouped rows. Data frame extract is just below. For each Key, I want the mean of IAC weighted by Wt. DP0[1:20,] Key IAC Wt 2 C3-PD030020050.PD030020050.3.12.3.0 0.765 0.8590000 3 C3-PD030020050.PD030020050.3.12.3.0 0.764 0.8449651 4 C3-PD030020050.PD030020050.3.12.3.0
2008 May 30
1
Aggregation and the meaning of class
Dear R-ers, My aggregation saga continues. Using the following sequence, I can calculate any statistic for row groups and merge the result back to all associated rows ... > WM = by( D60, D60[ "KeyProfA"], FUN=function(x) weighted.mean( x$IAC, x$Wt)) > D60$IAC.WM = as.numeric( WM[ D60$KeyProfA]) > class( WM) [1] "by" Questions ... 1) Is this a reasonable way
2008 Apr 07
2
predict.lm() question
Dear R-people ... I'm a new user. I can't get predict.lm() to produce predictions for new independent data. There are some messages in archived help about this problem, but I still don't see my error after reviewing those. I understand that the new independent data must have the same name(s) as used when the model was made. In the example below, predict.lm produces the
2011 Jan 27
1
Issue with installing BRugs
Hello, all. When I try to install the most recent BRugs package (the one that uses version 3.1.2), found here: http://www.openbugs.info/w/UserContributedCode I get the following error: > utils:::menuInstallLocal() Error in gzfile(file, "r") : cannot open the connection In addition: Warning message: In gzfile(file, "r") : cannot open compressed file
2006 Feb 21
6
How to Import Data
Hello, I am a very new user of R. I've spent several hours trying to import data, so I feel okay asking the list for help. I had an Excel file, then I turned it into a "csv" file, as instructed by directions. My filename is "x111.csv." I then used the following commands to read this (fairly small) dataset in. x111 <-read.table(file='x111.csv',
2012 Aug 07
0
predicting test dataset response from training dataset with randomForest
Hi I am new to R so I apologize if this is trivial. I am trying to predict the resistance or susceptibility of my sequences to a certain drug with a randomForest function from a file with amino acids on each of the positions in the protein. I ran the following: > library(randomForest) > > path <- "C:\\..." > path2 <- "..." > name <-
2005 Sep 08
5
data manipulation
Dear All, I would be grateful if you can help me. My problem is the following: I have a data set like: ID time X1 X2 1 1 x111 x211 1 2 x112 x212 2 1 x121 x221 2 2 x122 x222 2 3 x123 x223 where X1 and X2 are 2 covariates and "time" is the time of observation and ID indicates the
2020 Sep 10
2
aplicar codigo
Yo copio y pego este código y me sale correctamente. Se me ocurre que pueda deberse a la versión de R ¿cuál usas? El 10/09/2020 a las 17:51, Samura . escribió: > Gracias por las respuestas. > > Probé lo de hacer la función y no me salía. Pensaba que hacía algo mal. > Ahora con el código de Marcelino tampoco me sale. > > col1 <- c('x1', 'x2', 'x11',
1999 Dec 30
4
ANNOUNCE: openssh-1.2.1pre23
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 openssh-1.2.1pre23 is available on: http://violet.ibs.com.au/openssh/files/ Highlights of this release: - - A cleanup of the PAM code (it now lives in auth-pam.[ch]). This also fixes a bug where sshd was ignoring a "PermitRootLogin without-password" directive. - - David Randkin's SOCKS support using the Dante libraries. I have not
1999 Dec 30
4
ANNOUNCE: openssh-1.2.1pre23
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 openssh-1.2.1pre23 is available on: http://violet.ibs.com.au/openssh/files/ Highlights of this release: - - A cleanup of the PAM code (it now lives in auth-pam.[ch]). This also fixes a bug where sshd was ignoring a "PermitRootLogin without-password" directive. - - David Randkin's SOCKS support using the Dante libraries. I have not
2003 Oct 15
0
Samba 2.2.7a and Word 2000 = Corrupted (?) files
I have a Samba 2.2.7a PDC (with an OpenLDAP backend) that seems to be giving me trouble. Here's the scoop: I have Windows 2000 Pro clients running Word 2000. Over the past several days, a lot of them have had trouble with their documents - most of the time during a save. The most critical of these failures presents the following error message when saving: "Word has lost data due to a
2010 Feb 10
2
Server not found in kerberos database (with net ads join)
Hi All, After running into a few issues in trying to join my debian (squeeze) box to a windows 2008 server, I am running into this (hopefully last) problem... When I try to do te net join command, I get the following > nanoelecfs:/home/joel# net join ads -S XX.XX.XX.XX dn > 'DC=FS,DC=UML,DC=EDU' -U USERNAME > Enter EEng_LDAP's password: > [2010/02/10 15:20:10, 0]
2009 Feb 26
0
kmeans: invalid length argument
Dear R Experts, I am running a cluter analysis using kmeans and have come across an error to which I am unable to find a solution. First, let me describe the problem: THE R CODE IS: -------------------------------------- # NRM is a 100 x 100 numerical matrix infile = 't:\\NRM\\NRM' groups = 7 outfile = 't:\\NRM\\cluster.groups' print( paste(infile, groups, outfile, sep='
2020 Sep 10
3
aplicar codigo
Hola, me gustar?a hacer algo como en el siguiente ejemplo A un df a?adirle una columna que es la transformaci?n de otra, en plan a todo lo que sea x1, x2, x3 lo llamo prueba 1 todo lo que sea x4,x5,x6 lo llamo prueba 2 el resto de x las dejo como est?n. Ser?a algo as? col1 <- c('x1', 'x2', 'x11', 'x1','x33', 'x1','x4', 'x5',
2023 Jul 05
1
Getvar of CHANNEL not working for a couple of items
On Tue, Jul 4, 2023 at 7:52 PM TTT <lists at telium.io> wrote: > Building on my last message, I am trying to get CHANNEL data using getvar > (through the AMI). And although I'm getting responses, some values > returned seem illogical. For example, phone 111 calls phone 222 via the > PBX. Here's the data I get back > > > > > > Channel A:
2023 Jul 05
1
Getvar of CHANNEL not working for a couple of items
Channel A: "1688509741.112" , name: "PJSIP/111-00000064" , is originator: Y , call-Id: "u.l6kcou25cax60 at mydomain.com <mailto:u.l6kcou25cax60 at mydomain.com> " , local_uri: "<sip:222 at mydomain.com <mailto:sip%3A222 at mydomain.com> ;user=phone>" , local_tag: "1734d973-c4da-4ae8-a37d-5f7065f1fe54" , local_addr: