similar to: multi read.table function and read.table function not accepting col.names

Displaying 20 results from an estimated 500 matches similar to: "multi read.table function and read.table function not accepting col.names"

2004 Apr 18
2
lm with data=(means,sds,ns)
Hi Folks, I am dealing with data which have been presented as at each x_i, mean m_i of the y-values at x_i, sd s_i of the y-values at x_i number n_i of the y-values at x_i and I want to linearly regress y on x. There does not seem to be an option to 'lm' which can deal with such data directly, though the regression problem could be algebraically
2010 Jul 02
2
unable to get bigglm working, ATTN: Thomas Lumley
I am using an example posted in this help forum to work with a file. the head of the file looks like: 988887 2007-03-05 2007-06-01 90 3 5.450 205500.00 999.00 999.000 0.000 0 0 988887 2007-03-06 2007-06-01 90 3 5.450 205500.00 999.00 999.000 0.000 1 0 988887 2007-03-07 2007-06-01 90 3 5.450 205500.00 999.00 999.000 -0.100 2 0 988887 2007-03-08 2007-06-01 90 3 5.450 205500.00 999.00 999.000 -0.100
2003 Oct 07
4
Beginner's query - segmentation fault
I am dealing with a huge matrix in R (20 columns, 54000 rows) and have lots of missing values within the dataset which are currently displayed as the value "-999.00" I am trying to create a new matrix (or change the existing one) to display these values as "NA" so that I can then perform the necessary analysis on the columns within the matrix. The matrix name is temp and the
2011 Aug 18
10
Circular RPM dependencies...
Hi. I encountered a following problem, if I state for example: package{"aspell-en": ensure => absent, } package{"aspell": ensure => absent, } I get error in logs because of dependencies. It seems that puppet uses ''yum'' for installation on CentOS and ''rpm -e'' for removal of packages, so it cannot handle this kind of dependencies:
2012 Feb 21
4
removing particular row from matrix
I have some data set which has some values -999.000 & I would like to remove whole row of this kind of values. e.g a<-matrix(c(1,2,3,4,4,5,6,6,-999.99,5,9,-999.00),nrow=4) a<- [,1] [,2] [,3] [1,] 1 4 -999.99 [2,] 2 5 5.00 [3,] 3 6 9.00 [4,] 4 6 -999.00 expected answer [,1] [,2] [,3] [1,] 2 5 5.00 [2,] 3 6 9.00 I
1997 Jul 14
1
R-beta: Plotting: numeric 'col' colors; col=0, col=1, .. | Nice "funclet"
``We all know'' that R has more flexible and nicer color specifications than S-plus. There are situations however, where I'd like to specify colors numerically, e.g. 1) convenience of using different colors in a for(.) loop or 2) backward compatibility with S. In S, there's the quite known ``standard'' col = 0 :<==> current background color [ = white by
2003 Apr 01
2
Radio france in ogg
Hi there. http://www.radiofrance.fr/services/aide/difflive.php#ogg Looks like radio france has started its ogg stream ! Thanks to them. France Inter : http://ogg.tv-radio.fr:1441/encoderfinter.ogg France Info : http://ogg.tv-radio.fr:1441/encoderfinfo.ogg France Culture : http://ogg.tv-radio.fr:1441/encoderfculture.ogg France Musiques : http://ogg.tv-radio.fr:1441/encoderfmusiques.ogg
1998 Nov 12
0
[COL/ROW]NAMES -> [col/row]names with new arg..
R-devel subscribers: this came from R-core, but may interest you.... >>>>> "MM" == Martin Maechler <maechler@stat.math.ethz.ch> writes: >>>>> "Ross" == Ross Ihaka <ihaka@stat.auckland.ac.nz> writes: Ross> Martin Maechler writes: >>> Actually, I've been thinking (and asking Kurt) if we shouldn't use
2009 May 08
1
if ((x >.2 || x<(-.2)) && (col(x)!=row(x))) {x=x[,-col(x)]}
Hi. I have a correlation matrix 'x' which is of size 923x923 I need to remove variables that are highly correlated. I don't have a sophisticated way of selecting which of the two in a highly correlated pair to remove. I thought I would just go through each entry of the correlation matrix and if it is greater than 0.6 (or less than -0.6) I will remove that column and then redo the
2011 Apr 11
1
Override col.lines and col.symbol in panel.xyplot with type='b'
Dear useRs, I have a longitudinal experiment with several treatment groups, ~20 subjects per group, ~6 timepoints and a continuous dependent variable. I have been successfully been using lattice::xyplot with this data. However, I have been stumped with a particular application of it. I would like to use xyplot on my data, broken into treatment groups with the groups argument, using
2012 May 24
3
transform 1 col to 2 col
Dear All How can I transform 1 column to 2 columns in R? 211217_s_at GO:0005249 211217_s_at GO:0005251 211217_s_at GO:0005515 211217_s_at GO:0015271 211217_s_at GO:0030955 211217_s_at GO:0005249 211217_s_at GO:0005251 211217_s_at GO:0005515 211217_s_at GO:0015271 211217_s_at GO:0030955 Best Wishes, Soheila [[alternative HTML version deleted]]
2017 Aug 10
3
Creating New Variable Using Ifelse
Hello R Help List, I am an R novice and trying to use the ifelse function to create a new binary variable based off of the responses of two other binary variables; NAs are involved. I pulled it off almost successfully, but when I checked the counts of my new variable for accuracy, I found that a small portion of the NA cases were not being passed through as NAs, but as "0" counts in my
2010 Mar 16
2
Help running a Fortran subroutine from R
useR's, I need help getting a Fortran DLL successfully returning the correct output. The attached fortran source code (filter2d.f) and DLL (filter2d.dll) are attached. Also, I attached a text file for which I want to apply the filter to (time702.txt). Here is what I am doing... > dyn.load("C:/f/NEW/filter2d.dll") > is.loaded("filter2d") [1] TRUE Then I pass the
2010 Apr 05
1
Adding a prefix to all values in a col in a data.frame
Hi All I am looking for a way to prefix a constant value to all the rows in column in a data frame. Eg. V1 2 3 4 5 I want to make it like this V1 number2 number3 number4 number5 Thanks! -Abhi [[alternative HTML version deleted]]
2011 Oct 29
1
Add col in data.frame
Hello Gurus, I am still new to R. Here is my issue. I was trying to add column to data frame that was populated by read.spss(). When I used cbind to add a new variable(column). library(foreign) mydf<-read.spss(file="C:/myspss.sav",use.value.labels=FALSE, to.data.frame=TRUE,use.missings=FALSE) attr(mydf,"variable.labels") ## it gives you all the labels
2008 May 18
1
How to change col and pch between panels in xyplot
Dear R-helpers, x <- rep(1:2, 4) y <- c(2, 4, 3, 5, 1, 3, 2, 4) w <- factor(rep(1:2, each = 4)) v <- rep(1:2, each = 2, 2) xyplot(y ~ x | w, groups = v, type = 'b') How do I tell xyplot to use four colors and four plot characters and four line types? And how do I set up an appropriate key in each? _____________________________ Professor Michael Kubovy University of Virginia
2006 May 06
0
'col'-parameter in 'hist.POSIXt'
Hi guys. The 'col'-parameter in the 'hist'-method for the classes 'POSIXt' and 'date' does not perform as it does in the default 'hist'-method. Unfortunately, it does not only change the filling color of the boxes, but also the color of the axislines. [Using 'graphics'-package version 2.2.0] Examples: # with POSIXct-object hist(.leap.seconds,
2010 Mar 22
0
Parameter col.axis
I have a very short question. Is there any possibility to give to the parameter "col.axis" of graphics function "axis" a vector value of many colors instead of just one color, otherwise is there any way around it? Thank you very much Enio Jelihovschi UESC - Brazil [[alternative HTML version deleted]]
2012 Oct 03
1
can't see colors with "col" in boxplot()
Hi, I am trying to color the data points on my boxplot but I only get the default black. Not sure why. Any ideas? Thank you, Mark Here is my code. > dat.g100 <- dat.sg[100,] # selected gene (row) from a dataframe of 37 columns > d1 <- as.matrix(dat.g100[,1:18]) # subset 1 > d2 <- as.matrix(dat.g100[,19:37]) # subset 2 # boxplots > par(mfrow=c(2,1)) > boxplot(d1,
2007 Nov 30
1
about col in heatmap.2
Hi list, My data set is comprised of 47 columns and about 700 rows. Most of the values would be around 2, while some will go beyond in either direction, higher or lower. Is there a way to specify the parameter of col or others if necessary to have the range of representing colors be 0----8, and make dark for 2, red for higher than 2 and green for lower than 2. Is there a way to do this? Thanks a