Displaying 20 results from an estimated 6000 matches similar to: "Separator of data"
2006 Oct 30
4
read.fwf and header
Hi!
I have data (also in attached file) in the following form:
num1 num2 num3 int1 fac1 fac2 cha1 cha2 Date POSIXt
1 1 f q 1900-01-01 1900-01-01 01:01:01
2 1.0 1316666.5 2 a g r z 1900-01-01 01:01:01
3 1.5 1188830.5 3 b h s y 1900-01-01 1900-01-01 01:01:01
4 2.0 1271846.3 4 c i t x 1900-01-01 1900-01-01 01:01:01
5 2.5 829737.4 d j u w 1900-01-01
6 3.0
2006 Oct 30
4
read.fwf and header
Hi!
I have data (also in attached file) in the following form:
num1 num2 num3 int1 fac1 fac2 cha1 cha2 Date POSIXt
1 1 f q 1900-01-01 1900-01-01 01:01:01
2 1.0 1316666.5 2 a g r z 1900-01-01 01:01:01
3 1.5 1188830.5 3 b h s y 1900-01-01 1900-01-01 01:01:01
4 2.0 1271846.3 4 c i t x 1900-01-01 1900-01-01 01:01:01
5 2.5 829737.4 d j u w 1900-01-01
6 3.0
2011 Jul 02
5
How many times occurs
Hi all,
I have a data matrix likein "input.txt"
8 9 2 5 4 5 8 5 6 6
8 9 2 8 9 2 8 9 2 1
8 9 2 5 4 5 8 5 6 4
8 9 2 5 4 5 8 5 6 6
8 9 2 8 9 2 8 9 2 1
8 9 2 5 4 5 8 9 2 2
In this example will be an 6x10 matrix (or data frame)
I want to detect how many times in a row appears this combination 8 follewd
by 9 followed by 2, and create a new matrix with only this number of occurs
then
2004 Sep 15
3
Read.fwf
Dear List
I have a fixed width file with variables of varying width. The help is
pretty transparent for this feature, but I can't seem to figure out how
I can make effective use of the package with my data.
In my dataset, the first 80 columns are of width 1 followed by other
variables with width larger than 1.
I think the correct way to do this, by brute force, would be
>
2011 Jul 12
1
Avoiding loops to detect number of coincidences
Hi all,
I have this information on a file ht.txt, imagine it is a data frame without
labels:
1 1 1 8 1 1 6 4 1 3 1 3 3
And on other table called "pru.txt" I have sequences similar this
4 1 1 8 1 1 6 4 1 3 1 3 3
1 6 1 8 1 1 6 4 1 3 1 3 3
1 1 1 8 1 1 6 4 1 3 1 3 3
6 6 6 8 1 1 6 4 1 3 1 3 3
I want to now how many positions are identical between each row
in pru compared with ht.
n and m
2011 Oct 10
1
Importing from Fortan
Hello all,
how do I import a Fortran file (f3.1) into one column in R? I've tried this
(I'm a total beginner as you can see):
> FortranData<-read.fwf("C:\\Users\\format3_1.txt",rep(3,20))
Warning message:
In readLines(file, n = thisblock) :
incomplete final line found on 'C:\Users\format3_1.txt'
> FortranData
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12
2006 Feb 22
3
[OT] Email line separator
What line separator do you use when composing emails?
1. \n
2. \r\n
3. \r
Is there a ''official'' line separator for emails (rfc-document?)?
What separator is the most compatible between Windows, OS X and Linux?
--
Norman Timmler
http://blog.inlet-media.de
2005 Oct 20
5
search a value in variables dataset
Dear R-list,
I have a dataset, say (the real dataset is 20 columns,110200 rows).
> my.reducedID
V1 V2 V3 V4 V5 V6 V7 V8 V9
[1,] 1 0 0 1 14 3 1 0 2
[2,] 2 0 0 1 14 3 1 0 2
[3,] 0 1 0 1 14 2 1 0 2
[4,] 0 0 1 1 14 3 1 0 2
[5,] 0 1 1 0 14 2 1 0 2
[6,] 0 0 0 1 14 3 1 0 2
[7,] 0 0 0 1 0 3 1 0 2
[8,] 0
2013 Apr 27
11
Help
Hello,
I have a question and need your help urgently. I am new to R but want to learn it.
I have several files in a folder which I have imported to R using :
temp = list.files(pattern="*.txt")
>myfiles = lapply(temp, read.delim)
The resulting files are on the workspace stored as List[110]. So they are 110 files in the list. Each file has several different columns and rows.
My
2004 Oct 06
3
flac-1.1.1 completely broken on linux/ppc and on macosx if built with the standard toolchain (not xcode)
Sadly the latest optimization broke completely everything.
The asm code isn't gas compliant. the libFLAC linker script has a typo,
disabling the asm optimization and/or altivec won't let a correct build
anyway.
Instant fixes for the asm stuff:
sed -i -e"s:;:\#:" on the lpc_asm.s
to load address instead of addis+ori you could use
lis and la and PLEASE use the @l(register)
2007 Sep 28
2
simple matching with R
Hello!
I am R beginner and I have a question obout a simple matching.
I have to datasets that i read in with:
MalVar29_37<-read.table("MalVar29_37.csv", sep = ";")
FemVar29_37<-read.table("FemVar29_37.csv", sep = ";")
They look like this and show binary variables:
V1 V2 V3 V4 V5 V6 V7 V8 V9
1 0 0 0 0 0 1 0 0 0
2 0 0 0 0 0 1
2010 Oct 04
3
How To Extract Row from A Data Frame
I have a data frame that looks like this:
> print(df)
V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12
1 FN 8.637 28.890 31.430 31.052 29.878 33.215 32.728 32.187 29.305 31.462
2 FP 19.936 30.284 33.001 35.100 30.238 34.452 35.849 34.185 31.242 35.635
3 TN 0.000 17.190 16.460 21.100 17.960 15.120 17.200 17.190 15.270 15.310
4 TP 22.831 31.246 33.600 35.439 32.073
2006 Aug 30
4
Barplot
Dear all,
I have a dataset. I want to make barplot from this data.
Zero1 <- "
V1 V2 V3 V4 V5 V6 V7 V8 V9
1 1 0 0 0 1 0 0 0 Positive
2 0 0 1 0 1 0 1 1 Negative
3 0 0 1 0 0 0 1 1 Positive
4 0 1 0 1 1 1 0 1 Negative
5 0 0 1 0 1 1 0 0 Positive
6 0 1 0 0 1 1 1 1 Negative
7 1 0 1 1 1 1 1 1 Negative
8 0 0 0 0 1 0 0 1
2013 Feb 15
3
datos climáticos cambio de formato
Hola!!
tengo un data.frame donde cada fila corresponde a un año y cada columna a
un mes (De enero a diciembre)
> head(valT)
V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13
1941 18.0 16.3 15.2 10.1 8.1 8.3 8.8 9.2 7.9 12.2 11.9 14.6
1942 17.2 15.9 13.6 11.6 8.7 6.2 6.4 7.2 9.7 12.0 14.1 16.7
1943 17.6 17.3 13.5 12.5 10.5 7.0 8.2 7.9 -999.9 -999.9
2012 Jan 08
1
creating vectors from data-frames
I am having a problem with creating a vector from a rows or columns, I
searched around and found as.vector(x), but it does not seem to do what it
says it does
I have included an example below, of doing what would seem to be the method
required to create a vector, but instead it creates a one row data frame.
What is required to actually create a vector.
Many thanks
Philip
> data
2012 Aug 15
2
to remove columns and rows
Dear,
I am using R I'm trying to identify and remove columns and rows in a data
frame that are has elements equals. For example in dataframe below. The
columns 1, 2,3,4,5 ,6 and 10 (file1) has elements equal then should be
removed. How can I ask R to remove those columns with same elements in new
dataframe (file2) to result a matrix as follows:
file1
1 0 2 2 1 1 5 1 1 1
1 0
2006 Feb 20
1
var-covar matrices comparison:
Hi,
Using package gclus in R, I have created some graphs that show the
trends within subgroups of data and correlations among 9 variables (v1-v9).
Being interested for more details on these data I have produced also the
var-covar matrices.
Question: From a pair of two subsets of data (with 9 variables each, I
have two var-covar matrices for each subgroup, that differ for a
treatment on one
2011 May 25
2
Fwd: transpose ?
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20110525/4926c5ee/attachment.pl>
2013 Apr 10
3
how to calculate average of each column
Hey All,
I have a large dataset and I want to calculate the average of each column
then return a new dataset.
Here is my question: I dont know if there is a function that can allow me
to calculate the average every 60 records of data in the whole dataset, and
return a new data frame. Not sure if I have to divide the dataset first for
every 60, then do the mean or can i directly do that.
thanks
2010 Apr 19
2
Select single column, preserve name?
Hi, list-
?? I've got a large list of multi-column data and I'd like to filter
it according to a threshold, such as, "show me the values that are
above 0.4 for each line."
For instance, if the line of data were:
> line
v1 v2 v3 v4 v5 v6 v7 v8 v9
1 -0.32 0.66 -0.35 -0.82 0.38 0.66 -0.02 -0.11 -0.64
I can do this
> line[,line >= 0.4]