search for: colunms

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

Did you mean: columns
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
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 Naci...
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 t...
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
2004 Dec 21
1
about colnames
Try colnames(df)[4:6] <- c("x","y","z") -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.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
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) x y 1 FALSE FALSE 2 FALSE
2005 May 26
1
aggregate and stack
Dear All, I have tried to calculate tree mean growth but I think the structure I used below (growthresumo) is not the most elegant, even though it worked. The only problem I had in this first part was that I cannot use 'summary', just 'mean' (sorry but 'R' is pretty new for me). >growthresumo <-
2009 Apr 07
1
use the value of variable to quote certain elements in matrix
Hi, I want to use the value of variable to quote elements in matrix. For example, I have a matrix like:               y1   y2m1         1      2m2         3      4 where y1,y2,m1,m2 are column and row names.  I have two random character variable, 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
2005 Jun 20
1
RES: another aov results interpretation question
Dear All, I created a script to calculate averages - two groups: "parcel" and "date" - and, based on these averages, make a graph. The problem is that 'R' does not recognize the first column even if I try to insert one. A brief example Raw data: Data <- sample(1:100, 30, replace = FALSE, prob = NULL) Date <-
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