search for: colunm

Displaying 17 results from an estimated 17 matches for "colunm".

Did you mean: column
2008 Aug 11
3
Peoblem with nls and try
Hello, I can`t figure out how can increase the velocity of the fitting data by nls. I have a long data .csv I want to read evry time the first colunm to the other colunm and analisy with thata tools setwd("C:/dati") a<-read.table("Normalizzazione.csv", sep=",", dec=".", header=F) for (i in 1:dim(a[[2]]]) { #preparazione dati da analizzare singolarmente P1<-data.frame(Time=a[,2],RFU=a[,i+2]) P1&lt...
2003 Jul 03
2
unlist
Hi I have a list with several data.frames, all with the same number of colunms but different number of rows, and I'd like to transform this list into a single dataframe. I need to mimic an rbind of all dataframes ... Transform doesn't seem to work :-( Thanks EJ -- Ernesto Jardim <ernesto at ipimar.pt> Bi?logo Marinho/Marine Biologist IPIMAR - Instituto Nac...
2007 May 25
2
xyplot: different scales accross rows, same scales within rows
Dear list members, I would like to set up a multiple panel in xyplots, with the same scale for all colunms in each row, but different accross rows. relation="free" would set up all x or y scales free... which is not what I want :-( Is this possible? Thank you in advance, Best wishes, Marta
2018 Jan 15
0
sum multiple csv files
...you also really need to figure out how to make sure your email program sends plain text, because HTML formatting WILL be stripped by the mailing list (read the Posting Guide) and that process often garbles it. My own possibly-confused reading of your question ("each cvs file has 47 rows and colunms, so the final data frame should have the same") is that you do not yet understand the difference between matrices and data frames ([4]), and you want to perform matrix (element-wise) addition. This would require that you convert the data frames read in by read.csv into matrices before adding...
2018 Jan 15
4
sum multiple csv files
...ames,function(i){ ###read cvs files and add the row and column names to each data frame### read.csv(i, header=FALSE, sep = "", col.names = col_names, row.names = row_names) }) However I would like to sum the rows of cvs files to get a single data frame (each cvs file has 47 rows and colunms, so the final data frame should have the same). I could only do it one by one data data frame, but I was wondering if anyone could give an idea of how to write a function for this. Thanks, Alejandra [[alternative HTML version deleted]]
2012 Aug 03
2
how to identify values from a column of a dataframe, and insert them in other data.frame with the corresponding id?
Hello, I’d like to do next, see if you could help me please: I have a csv called “datuak” with a id called “calee_id” and a colunm called “poids”. I have another csv called “datuak2” with the same id called “calee_id”, (although there are “calee_id” that are in “datuak” but not in “datuak2” and inverse), and a column called “kg_totales” in which the values are repeteated for each calee_id because are the sum of the colum “kg”...
2004 Dec 21
1
about colnames
...at.math.ethz.ch] On Behalf Of xmeng at capitalbio.com Sent: 21 December 2004 09:45 To: r-help at stat.math.ethz.ch Subject: [R] about colnames Hello sir: If there's a data frame(with name "df"): a b c d e f 1 10 12 20 30 100 2 3 15 16 40 200 .. If I wanna change the last 3 colunm names"d" "e" "f" respectively into "x" "y" "z"respectively,the following is what I do: colnames(df[4:6])<-c("x","y","z") But no change to the colnames of df. And if I wanna change all the colnames: colna...
2005 Mar 02
1
data.frame, data types, and apply
Dear all, Here is an issue I often stumble on. 1- colunm types in data.frames. ------------------------------- > d <- data.frame(x=as.character(c("a", "b", "c")), y=as.numeric(c(1, 2, 3))) > d x y 1 a 1 2 b 2 3 c 3 > is.numeric(d[1,2]) [1] TRUE > is.numeric(d[1,1]) [1] FALSE > apply(d, c(1,2), is.numeric...
2005 May 26
1
aggregate and stack
...9,43,47,52,56,60,64,68,72,76,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137, 141,145,149,153,157,161,165,169,173,177,181,185,189,194,197,201,205,209,213,217,221,225,229,233,237,241)], by=(growth[,c(3,8)]),MEAN,na.rm=TRUE) #after growth is calculated, I want to stack the results in just one colunm. >growthvertical <- c(growthresumo[,3],...,growthresumo[,50]) # this is very time consuming though >Parcel <- c("C9","S8"..."C9","S8") # 50 items >date < c("DATE1"...."DATE50") >growthpermonth <- data.frame(Pa...
2009 Apr 07
1
use the value of variable to quote certain elements in matrix
...riable, say x,  that could be either  y1 or y2  and  y that could be either m1 or m2.  So can I  do like   Matrix[y,x] to quote elements?  I've tried this way but it simply use "x" and "y" itself  rather its value as column or row names. I want to use the value of x and y as colunm or row names.  So when x="y1" and y="m1" in cases,  I want to matrix[x,y]=1.  please help. [[alternative HTML version deleted]]
2005 Jun 20
1
RES: another aov results interpretation question
...02/30/2004 53.00000 52.33333 03/15/2004 54.00000 67.66667 04/16/2004 54.66667 30.00000 06/14/2004 27.66667 20.00000 07/08/2004 59.00000 38.00000 > colnames(Res) [1] "CONTROL" "DRY" > matplot(Res[,1], Res[,-1], type = "l") ### It does not recognize the colunm "Date". Why? Thanks in advance! Paulo ________________________________________ Paulo M. Brando Instituto de Pesquisa Ambiental da Amazonia (IPAM) Santarem, PA, Brasil. Av. Rui Barbosa, 136. Fone: + 55 93 522 55 38 www.ipam.org.br E-mail: pmbrando at ipam.org.br
2013 Feb 28
11
new question
Hi, directory<- "/home/arunksa111/data.new" #first function filelist<-function(directory,number,list1){ setwd(directory) filelist1<-dir(directory) direct<-dir(directory,pattern = paste("MSMS_",number,"PepInfo.txt",sep=""), full.names = FALSE, recursive = TRUE) list1<-lapply(direct, function(x) read.table(x,header=TRUE, sep =
2013 Jan 14
1
tabstop in graphics
Hi, I'm curious about Tab stops in graphics: plot(1) text(1.2, 1.2, "Char\nMoreChar") works fine, but text(1.2, 0.8, "Char\tMoreChar") doesn't. Exporting with pdf tells me that the sign width is unknown. I'm not into informatics, so I don't know how a tabstop actually works. Is this at all possible in graphical commands as it is in write.table and the like?
2006 Jun 29
1
write.table does not quote col.names properly (PR#9044)
Full_Name: Michael Toews Version: 2.3.1 OS: Mac OS 10.4.6 and WinXP/SP2 Submission from: (NULL) (24.80.163.133) This bug also affects related functions (write.csv, etc.), and can be demonstrated using either a matrix or data frame: m <- matrix(1:9,nrow=3, dimnames=list(c("A","B","C"), c("I","II","III")))
2011 Jul 05
3
problem in reading a sequence file
Dear all, I have a file with some sequence (seq.txt). I am writting following code and getting error! Can please help me? seqfile<-read.table(file="seq.txt") Warning message: In read.table(file = "seq.txt") : incomplete final line found by readTableHeader on 'seq.txt' Thanks in advance Albert -------------- next part -------------- NNNNNNNNNNATTAAAGGGC
2009 Nov 07
1
after PCA, the pc values are so large, wrong?
...rownum<-nrow(mat) #remove the constant parameters mat1<-mat[,apply(mat,2,function(.col)!(all(.col[1]==.col[2:rownum])))] dim(yx.df) dim(mat1) #remove columns with numbers of zero >0.95 mat2<-mat1[,apply(mat1,2,function(.col)!(sum(.col==0)/rownum>0.95))] dim(yx.df) dim(mat2) #remove colunms that sd<0.5 mat3<-mat2[,apply(mat2,2,function(.col)!all(sd(.col)<0.5))] dim(yx.df) dim(mat3) #PCA analysis mat3.pr<-prcomp(mat3,cor=T) summary(mat3.pr,loading=T) pre.cmp<-predict(mat3.pr) cmp<-pre.cmp[,1:3] cmp DF<-cbind(Y,cmp) DF<-as.data.frame(DF) names(DF)<-c('y&...
2002 May 17
19
Shorewall 1.3 Beta 1
The 3.1 Beta is now available -- check the Shorewall home page. -- Tom Eastep \ Shorewall - iptables made easy AIM: tmeastep \ http://www.shorewall.net ICQ: #60745924 \ teastep@shorewall.net