similar to: Oddity: I seem to have a variable in a dataframe that doesn't show in colnames() - can anyone advise?

Displaying 20 results from an estimated 1100 matches similar to: "Oddity: I seem to have a variable in a dataframe that doesn't show in colnames() - can anyone advise?"

2010 Apr 23
1
Oddity with internet access and R 11.0 with Sophos firewall and Windoze XP - solved
Just in case anyone else hits this. I just installed R 11.0 alongside R 10.1.0 (off my D: drive in D:\R\... but I think that's irrelevent) and all went well, I selected my nearest CRAN mirror (Bristol is the one I like) and getting the selection list seemed to take ages though it did come eventually. However, I then got an error message saying that R couldn't make contact on port 80. I
2012 Apr 12
0
Multivariate multilevel mixed effects model: interaction
Hello. I am running a multivariate multilevel mixed effects model, and am trying to understand what the interaction term tells me. A very simplified version of the model looks like this: model <- lmer (phq ~ -1 + as.factor(index_phq) * Neuro + ( -1 + as.factor(index_phq)|UserID), data=data) The phq variable is a categorical depression score on 9 depression items (classified by the variable
2011 Sep 13
1
Deleting Rows based on Factor and Time Period
Hi All! I have been messing around with this problem for about a week but to no avail! The following data has been cut down in order to make my question reproducible. The alldat data frame includes 2 columns: 1 date column and 1 factor column (equity names)).
2011 Dec 22
1
ff object in lapply function
Hello. I'm using as.ffdf(mydataframe) to create ffdf objects inside an lapply loop and returning that. I then use crbind to combine the lapply results into allData. So...simplified flow looks like this. res <- lapply(1:nchunks, function(n) { blah blah with nth chunk mydataframe <- data.frame(blah blah) dat <-
2011 Sep 20
2
update.packages() as ordinary user, /usr/lib/R/site-library is not writable
I am moving from windoze on a Dell laptop to Debian but I seem to have hit a snag for R. I managed to find the information to point an /etc/apt/sources.list entry at my local CRAN repository and have installed R 2.13.1 for squeeze from the Bristol UK repository. I installed a number of the additional R packages using synaptic which reported no errors but when I run my first
2004 Jun 29
2
Several PCA questions...
Hi, I am doing PCA on several columns of data in a data.frame. I am interested in particular rows of data which may have a particular combination of 'types' of column values (without any pre-conception of what they may be). I do the following... # My data table. allDat <- read.table("big_select_thresh_5", header=1) # Where some rows look like this... # PDB SUNID1
2012 Aug 01
2
Problem updating packages in 2.15.1 on Ubuntu 12.04
The specific message is: "Warning: package 'spatial' in library '/usr/lib/R/library' will not be updated" and the number of libraries about which that's the complaint is now increasingly almost daily so clearly something is wrong. I'm working on a laptop on which I do the recommended Ubuntu updates daily. I done a standard installation of R 2.15.1 using
2012 May 31
1
anova of lme objects (model1, model2) gives different results depending on order of models
Hello- I understand that it's convention, when comparing two models using the anova function anova(model1, model2), to put the more "complicated" (for want of a better word) model as the second model. However, I'm using lme in the nlme package and I've found that the order of the models actually gives opposite results. I'm not sure if this is supposed to be the case
2007 May 13
2
Oddities upgrading from 2.4.1 to 2.5.0
I'm working on Windoze XP and have for some time installed R in D:\R and upgraded my packages after installing the new version of R with a bit of code I think I got from the list: ip <- installed.packages(lib.loc = "d:\\R\\R-2.4.1\\library") ip <- ip[ip[,1]!="base" ,1] install.packages(ip) This time around that's produced some warning grumbles: Warning messages:
2005 Apr 28
0
(Fwd) Re: your membership of the AFT Email list
Totally understood. If you remain "on vacation" (we wish eh?!) and get further messages like that from the list s'ware, just accept my standing apologies and delete them. Very welcome re letter! Very best, Chris ------- Forwarded message follows ------- Send reply to: "Alana O'C" <alanaoc at internode.on.net> From: "Alana O'C"
2011 Jul 15
1
combining elements in a data frame
Hi all, I have 2 data frames the first contains a list with repeats of words and an associated response time (RT) measure for each word. The second is a tabulation of each unique word and other information such as the amount and of responses for each word. I need to determine the mean RT for each word and add that as a column in the second data frame. Any help would be appreciated Cheers
2008 May 28
4
OT: batch processing XLS files to CSV
Dear R gurus, particularly those of generous M$ tolerance and diverse gifts and knowledge! I have an interesting challenge that I will end up crunching in R involving service usage by patients. Maybe I can do all of it in R but I can't see how yet. My situation is that our IT Department can give me loads of XLS files about patients one of our services have seen. The are one per patient
2007 Oct 12
0
Utility data uploading functions prior to analysing data using CGIwithR
Dear all, I am developing a small suite of cgi-bin programs on my server that help provide some things that statistical/psychometric beginners may find helpful and which are aren't widely available. Some early e.g.s are: http://www.psyctc.org/stats/R/multirater.html http://www.psyctc.org/stats/R/CSC1.html and I'll be adding more to http://www.psyctc.org/stats/ and some that will be
2001 Dec 17
1
vorbis physical bitstream structure
Hello, could somenone please describe me the vorbis specific physical bitstream structure, as I haven't found any documentation about it. Thank you ******************* Pierre-Henri Quelen phq@laposte.net "Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)" --- >8 ---- List archives:
2012 Oct 17
1
Comparing dcast and reshape
I'm in the middle of my own little intellectual exercise comparing dcast() and reshape() and have successfully stumped myself. I want to melt() a data frame, then dcast() it into a new form. After doing so, I want to duplicate the process using reshape(). So far, I can do the melt and cast require(reshape2) Raw <- data.frame(site = c(1, 1, 1, 1, 2, 2, 2, 2), id =
2006 Jul 09
3
vignette("introduction") causes "Error in sprintf(" (PR#9069)
Full_Name: Chris Evans Version: 2.3.1 OS: Windoze XP Submission from: (NULL) (217.34.100.197) If I give "vignette("introduction")" I get: Error in sprintf(gettext(fmt, domain = domain), ...) : use format %s for character objects vignette() works for some other vignettes and "vignette()" gets me a list of vignettes and shows three with the name
2012 Sep 08
0
reshape and geeglm problem
Dear R users, could you please help me figure out why I am getting an error? Initially my data looks like this: > attributes(compl)$names [1] "UserID" "compl_bin" "Sex.x" "PHQ_base" "PHQ_Surv1" "PHQ_Surv2" "PHQ_Surv3" [8] "PHQ_Surv4" "EFE"
2006 Jul 30
1
Power of a single sample binomial test
The only references to this I can find searching the archives are to a student who asked in relation to his course work on a stats course. Promise I'm not doing that! I have a situation in which we want to test proportions against an expected proportion, binom.test() is great. I'd like to do some post hoc power tests (the x and n were beyond our control in the survey as all we could set
2007 Jul 26
2
Ubuntu 64
Dear sig-R-Debian I'd like to second Christophe Bonenfan's plea for an up-to-date Ubuntu 64 (and maybe an up-to-date Debian 64) repository(ies). There seems to be no "easy" way, at least for Debian 64, to stay up-to-date on a 64 bits Debian-derived system, "easy" meaning being able to keep a consistent system up-to-date with no local package creation and no
2006 Feb 06
5
lme4: Error in getResponseFormula(form) : "Form" must be a two sided formula
I'm sure I'm being stupid so flame away... R2.2.1 on Windoze (boohoo) latest updates of packages. I'm exploring a dataset (land) with three variables looking at an narrowly unbalanced two group (GROUP) ANCOVA of a randomised controlled trial analysing endpoint score (SFQ.LOCF.ENDPOINT) entering the baseline score (SFQ.BASELINE) as covariate and the following work fine: > res.same