Displaying 20 results from an estimated 300 matches similar to: "Dataimport with readLines using skip= and nlines= ?"
2007 Apr 17
2
GREP - Choosing values between two borders
Hello,
I import datas from an file with: readLines
But I need only a part of all measurments of this file. These are between
two borders "START" and "END".
Can you tell me the syntax of grep(), to choose values between two borders?
My R Code was not succesful, and I can't finde anything in the help.
Thank's a lot.
Felix
######### R-CODE ###################
file
2007 Apr 12
2
data file import - numbers and letters in a matrix(!)
Hello,
I have a problem with the import of a date file. I seems verry tricky.
I have a text file (end of the mail). Every file has a different number of measurments
witch start with "START OF HEIGHT DATA" and ende with "END OF HEIGHT DATA".
I imported the file in a matrix but the letters before the numbers are my problem
(S= ,S=,x=,y=).
Because through the letters and the
2007 May 02
1
Get the difference of values to their own median value
Hello,
I've got a matrix (mail end) with the colnames x, y, z. In this matrix
are different measurements. x and y are risign coordinates.
With the following line I got the median value of z for all "x" AND "y" witch
are the same (not every measurment in my list hast the same number of
"x" and "y" values. Sometimes lines are missing.
>MEDIAN <-
2011 Jan 29
1
data extrapolation function
Readers,
Data was imported using the read csv command:
dataimport<-read.csv("/path/to/dataimport.csv")
10,2000
12,2001
13,2002
15,2003
17,2004
Using the help contents for 'predict.lm' (i.e. ?predict.lm) a new data
frame was created
dataimportextra<-data.frame(x=seq(1990,2010,1))
predict(lm(dataimport),dataimportextra[,2],se.fit=TRUE)
2008 Nov 18
1
"deparse" with "nlines" argument produces empty elements (PR#13299)
Full_Name: Kamil Barto?
Version: 2.8.0
OS: windows xp
Submission from: (NULL) (212.33.92.187)
According to the "deparse" function documentation "nlines" is the *maximum*
number of lines to produce. But, when "nlines" argument is supplied, it produces
exactly nlines of result, and the result contains empty elements at the end.
Example:
>
2011 Jul 29
5
coordinates from locator function in POSIXct format
Dear R-list,
I have a plot with y-axis corresponding to wind measurments
and x-axis with date-time information.
When I want to identify some extrem wind events in the
wind-curve, I use locator() to get the exact
date-information, by clicking in the points in graph I?m
interested in.
I get in the R console the x and y coordinates.
The x coordinates are not in a POSIXct format, I guess R is
2007 Apr 18
0
Get the: "standard deviation" and "mean value" of 3D-measurments
Hello,
I have got a numeric matrix with three colums of a few measurments. My x and
y coordinates are rising numbers. The z coordinate is the measurment. In
my matrix if have got ~6000 sorted values for one measurments multiplied
with the number of measurments. An example in the end.
My aim is to get the "mean values" and "standard deviation" for each value
between the
2008 Jun 07
1
strange (to me) p-value distribution
I'm working with a genomic data-set with ~31k end-points and have
performed an F-test across 5 groups for each end-point. The QA
measurments on the individual micro-arrays all look good. One of the
first things I do in my work-flow is take a look at the p-valued
distribution. it is my understanding that, if the findings are due to
chance alone, the p-value distribution should be uniform. In
2006 Jun 14
3
appending
All,
In the function below I have 24 individuals and 6 calculations per
individual.
The 6 calculations are collected each time in a 1:24 loop when
calculating "delta".
I'd like to collect all 144 = 24*6 calculations in one vector
("delta.patient.comb").
The function works as is via indexing, but is there an easier way to
collect the measurements via appendinng the 6
2005 Dec 21
2
Newbie - Summarize function
Dear R Users,
I have searched through the archives but I am still struggling to find a
way to process the below dataset. I have a dataset that has stratum and
plot identifier. Within each plot there is variable (Top) stating the
number of measurments that should be used to to calculate the mean to the
largest "top" elements within one of the vectors (X). I would like to
process
2018 Mar 02
2
Nouveau Digest, Vol 131, Issue 3
On 03/01/2018 07:21 PM, nouveau-request at lists.freedesktop.org wrote:
>
> Message: 1
> Date: Thu, 1 Mar 2018 08:15:55 -0500
> From: Ilia Mirkin <imirkin at alum.mit.edu>
> To: Mario Kleiner <mario.kleiner.de at gmail.com>
> Cc: nouveau <nouveau at lists.freedesktop.org>
> Subject: Re: [Nouveau] [PATCH] Fix colormap handling at screen depth
> 30.
>
2009 Aug 09
1
problem adding columns to matrix
Hi all, i purchased a copy of the book Morphometrics with R by Springer.
at the end of each chapter there are exercises to train what you just
read and (hope) learned...
so i have this problem:
Define a hypothetical data frame containing five measurments normally
distributed(size,head,pectoral,area,weight) for four individuals
(named ind1, ind2, etc). ADD A COLUMN corresponding to the
2010 Jun 18
2
Vector manipulation, for loop needed?
Hi,
I have a vector of time in days t<-1:48.
I have observations and the day they were recorded. I also have a vector, S
which takes different values depending on which day the observation was
recorded. For example if on day 1 all in vector S get a value of 46/48, on
day 2 get 42/48, day 3 38/48, decreasing by 4/48 each time until day 12 gets
the value 2/48. Then for any day greater than 12
2013 Jan 30
3
bug report: apcsmart (WIN) 940-0024C connect fail, problem with command 'E'
Dear Ladies and Gentlemen,
I have several old, yet functioning APC Smart-UPS (Model 600LS, Part AP600I,
Firmware 6JI, no EEPROM, from 1991). They are not supported by Powerchute
any more. I run NUT 2.6.5-4 on Windows XP SP3. I use COM1 port with cable
940-0024C. The connection fails with APC Smart protocol driver 3.0
(2.6.3-3534:3540M), APC command table version 3.0 or higher - it works with
APC
2006 Apr 19
1
prop.table on three-way table?
Dear list,
I am trying to create a three-way table with percent occurrence
instead of raw frequencies. However, I cannot get the results I
expected:
I have the following table:
> ftable(table( mannerDF$agem, mannerDF$target, mannerDF$manner ))
<snip>
50 bak 0 0 0 0 1 0
pak 0 0 0 0 3 0
sak
2012 May 15
2
Renaming names in R matrix
I have the following matrix:
> dat
[,1] [,2] [,3] [,4]
foo 0.7574657 0.2104075 0.02922241 0.002705617
foo 0.0000000 0.0000000 0.00000000 0.000000000
foo 0.0000000 0.0000000 0.00000000 0.000000000
foo 0.0000000 0.0000000 0.00000000 0.000000000
foo 0.0000000 0.0000000 0.00000000 0.000000000
foo 0.0000000 0.0000000 0.00000000 0.000000000
and given this:
2017 Mar 06
2
Missing security tab samba 4.1.13
Am 06.03.2017 um 16:06 schrieb Rowland Penny:
> On Mon, 6 Mar 2017 15:48:32 +0100
> Reindl Harald via samba <samba at lists.samba.org> wrote:
>
>> well, there is nothing different when you use rpmbuild and chose the
>> prefix you want besides that:
>>
>> * cleanup of orphan files
>> * simpe upgarde/downgrade because you have your prebuild .rpm files
2008 Mar 03
1
Tapply for Group Specific Means and Proportions
UseRs,
I am working on a dataset (see small example below) where individuals
were followed on a specific date-time combo and multiple repeated
measurements were taken (e.g., height in meters, behavior class in 2
letter code). Observation numbers varied between individual (ranging
from 1 observation for each date-time combo to >50)
I am trying to summarize the data into 1 row per
2004 Feb 26
2
Structural Equation Model
Hello all!
I want to estimate parameters in a MIMIC model. I have one latent
variable (ksi), four reflexive indicators (y1, y2, y3 and y4) and four
formative indicators (x1, x2, x3, x4). Is there a way to do it in R? I
know there is the SEM library, but it seems not to be possible to
specify formative indicators, that is, observed exogenous variables
which causes the latent variable.
Thanks,
2009 Jun 10
1
R: Best way to plot a Matrix of all possible pair combinations
Hallo R Users,
Please help
I have some distance matrix data like
> M[1:10,]
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 0.8750000 0.5000000 0.5000000 0.3750000 0.6250000 0.00000000
[2,] 0.8928571 1.0000000 0.0000000 0.8928571 0.1071429 0.00000000
[3,] 0.8928571 1.0000000 0.0000000 0.8928571 0.1071429 0.00000000
[4,] 0.8928571 1.0000000 0.0000000 0.8928571