similar to: Sorting a data frame with values of different lengths

Displaying 20 results from an estimated 700 matches similar to: "Sorting a data frame with values of different lengths"

2011 Apr 22
1
Paste problem when looping variable assignments
Hi all, I am attempting to run through a large set of data and sort events by the water year (1 Oct - 30 Sep) in which they occurred. I have no problem doing this for each individual site I am looking at (so my problem is not with most of the code, just one minor thing), but when I try to loop it to do the same things for each site, I run into problems. I think the root of my problem is that
2011 May 27
1
Put names in the elements of lapply result
Dear list, I am running some linear regressions through lapply, >lapply(c('EMAX','EC50','KOUT','GAMMA'),function(x)confint(lm(get(x)~RR0,dataset2))) I got results like [[1]] 2.5 % 97.5 % (Intercept) 0.6595789212 0.8821691261 RR0 -0.0001801771 0.0001489083 [[2]] 2.5 % 97.5 % (Intercept) -63.83694930
2008 Dec 09
1
creating standard curves for ELISA analysis
Hello R guru's I am a newbie to R, In my research work I usually generate a lot of ELISA data in form of absorbance values. I ususally use Excel to calculate the concentrations of unknown, but it is too tedious and manual especially when I have 100's of files to process. I would appreciate some help in creating a R script to do this with minimal manual input. s A1-G1 and A2-G2 are
2010 Feb 18
1
survey package question
Should the svyby function be able to work with svyquantile? I get the error below ... data(api) dclus1<-svydesign(id=~dnum, weights=~pw, data=apiclus1, fpc=~fpc) svyby(~api00, design=dclus1, by = ~stype, quantiles=c(.25,.5,.75), FUN=svyquantile, na.rm=T ) > Error in object$coefficients : $ operator is invalid for atomic vectors A
2011 Nov 11
2
Estimating IRT models by using nlme() function
Hi, I have a question about estimating IRT models by using nlme, not just rasch model, but also other models. Behavior Research Methods <http://www.springerlink.com/content/1554-351x/> Volume 37, Number 2 <http://www.springerlink.com/content/1554-351x/37/2/>, 202-218, DOI: 10.3758/BF03192688 Using SAS PROC NLMIXED to fit item response theory models (2005). Ching-Fan
2005 Oct 03
1
Error in xy.coords(x, y, xlabel, ylabel, log) : x and y lengths differ
I am currently trying to use R to construct a regression model to explain output based on temperature. I have combined my output and temp data into a notepad file. there is no problem with loading the data into R. > data.df output temp 1 850 17 2 849 17 3 905 17 4 925 17 5 1043 19 6 1104 20 7 1097 18 8 979 19 9 926 18 10 1133 18 ~~ ~~ 240 1124
2013 Jan 18
1
Hclust tree to Figtree w/ branch lengths
Hi, I'm doing hierarchical clustering, and want to export my dendrogram to a tree-viewing/editing software. I can do this by converting the data to Newick format (hc2Newick in ctc package), but I can't get branch lengths to show in the resulting phylogram. I figured it might help to convert my hclust object into a phylo object (as.phylo in ape package), but the following lines give me
2001 Sep 17
2
samba share name lengths
I seem to recall that Windows NT/95/98 allow long (>32) names to be visible as share names. However, samba seems to limit my share names to 13 characters in version 2.2.1a. If I create a share with a name longer than that, it cannot be accessed. Am I missing something? Thanks for your help. Linus
2017 Jul 03
0
Calculating cumulative lengths of hierarchical topology
Hello All, I need to calculate cumulative lengths along a hierarchical network topology (it's a representation of a tree). I can roll my own, but thought that there might be a package out there that would handle hierarchical network topology functions such as this nicely (and that might bring along other useful functions as well). However, I haven't found one after searching. I
2010 Jun 01
1
[PATCH] daemon: Limit label lengths (RHBZ#597118).
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top -------------- next part -------------- >From f5f43227870f4a2bedbd92361acdc3ca371a8418 Mon Sep 17 00:00:00 2001 From: Richard Jones
2007 Jul 20
2
[Bug 1341] New: Support multiple blowfish key lengths
http://bugzilla.mindrot.org/show_bug.cgi?id=1341 Summary: Support multiple blowfish key lengths Product: Portable OpenSSH Version: 4.6p1 Platform: Other OS/Version: Other Status: NEW Severity: enhancement Priority: P2 Component: Miscellaneous AssignedTo: bitbucket at mindrot.org ReportedBy:
2005 Jun 05
1
DTMF Tone Lengths
Good day, I am hoping that someone can assist me with a work around. I have an IVR system that I am attempting to connect asterisk to, however the IVR was written Some time ago, and requires tones to be approximately 2 seconds in length. I am using SIP Phones, Is there any way to adjust the Length of the Tones that asterisk sends out the audio path? Are there any phones that would allow
2004 Sep 10
0
Differing RIFF Lengths
Hi All, Why is it that sometimes when I encode a .wav file then decode it again the length of the generated file is 2 bytes shorter than the length of the source file? The discrepancy in length occurs in the header and the remainder of the data from there on is identical. It seems to me that what appear to be length fields in the header is adjusted appropriately. I suspect that this is not a
2004 Sep 10
0
Differing RIFF Lengths
> Why is it that sometimes when I encode a .wav file then decode it again > the length of the generated file is 2 bytes shorter than the length of > the source file? > > The discrepancy in length occurs in the header and the remainder of the > data from there on is identical. It seems to me that what appear to be > length fields in the header is adjusted appropriately.
2003 Oct 08
1
Detecting packet lengths in Vorbis-streams
How would one implement the following scheme with minimal use of resources: Every Vorbis packet should be preprocessed to a certain extent, that is, the beginning of every audio packet should be parsed and some decoding steps executed. The result of this predecode as well as the rest of the packet should then be sent as output for final processing. I have skimmed through the standard, and as far
2005 May 02
1
Reading in a dataset with uneven variable lengths
Suppose I have a text file that I want to read into R like the following: X Y 649 699 657 891 714 632 849 727 721 597 791 868 874 652 405 978 733 549 790 This is a simple example -- I could have a huge file with many columns of unequal lengths. What is the best way to do it? I can't see how a data frame can be used. I checked the FAQ and did a web search on the topic but I came up
2005 Nov 16
1
RODBC and Very long field lengths
I'm having a small problem using RODBC. I'm trying to retrieve a string from a very long memo field (512*20*9=9360 characters = 74880 bytes) in an MSAccess database. It appears that RODBC set a maximum buffer size for a single column of 65535 bytes. ########## cut from RODBC.c ########## } else { /* transfer as character */ int datalen = thisHandle->ColData[i].ColSize; if
2007 Mar 16
1
cumsum over varying column lengths
Folks, I have a matrix of historicalReturns, where entry (i, j) is the daily return corresponding to date i and equity j. I also have a matrix startOffset, where entry (1, k) is the row offset in historicalReturns where I entered into equity k. So we have that NCOL(startOffset) = NCOL(historicalReturns). Now I would like compute for each column in historicalReturns, the cumulative return
2008 Mar 13
2
How to cbind or rbind different lengths vectors/arrays without repeating the elements of the shorter vectors/arrays ?
Hi, How to cbind or rbind different lengths vectors/arrays without repeating the elements of the shorter vectors/arrays ? > cbind(1:2, 1:10) [,1] [,2] [1,] 1 1 [2,] 2 2 [3,] 1 3 [4,] 2 4 [5,] 1 5 [6,] 2 6 [7,] 1 7 [8,] 2 8 [9,] 1 9 [10,] 2 10 [[alternative HTML version deleted]]
2008 Apr 27
1
Adding rownames with different lengths to a table
Hello! I would like to add names to a table. The table presents median values, numbers of values (n) and percentage(%) for a given agegroup. Thus I would like to add a label above these three variables for each category. But if I try to use colnames I get a message telling me that the number of labels must be equal to the number of columns in the table. I hope someone could understand what I mean!