Displaying 20 results from an estimated 6000 matches similar to: "(no subject)"
2004 Oct 25
2
Reading sections of data files based on pattern matching
I am about to write general functions to read the output of simulations
models.
These model generate output files with different sections which I want
to analyze plot etc.
Since this will be used many people at the department I wanted to make
sure that will do this in the best way.
For instance I want to read a snippets of data from a text that look
like this.
2005 Dec 02
2
Seven month time-series sampled at hourly intervals
I have data from several sensors that recorded data at hourly intervals
during seven months. I want to separate daily variation from the trend,
and also be able to zoom in on only one month of data.
I have not been able what functions to use, I can not figure out from
the help for 'ts' how to use hourly data.
I guess this is routine-work for a lot of people so I hope someone can
2004 May 18
7
Isotopic notation in plots
I really like to use R for all my graphs, and as I work with stable
isotopes I want to have a proper chemical notation in my plots
I have looked at ?plotmath, but didn't find the answer and also searched
the R website.
------------------------------------------------------------------------
--
plot(1:10,xlab=expression(^{14}*C)) # I want to have a superscript with
nothing in front, but it
2005 Jul 26
5
Plot zooming i.e. changing ylim according to xlim
Dear R-gurus,
I would like to zoom in a plot, e.g. I select a region on the x-axis and
then I would like the ranges on the y-axis to change accordingly.
Is it possible to do this with existing functions, or do I have to
invent some data selection before plotting?
See below a short example, where I select ylim with trial and error,
which I want to avoid.
Cheers, Henrik Andersson
2004 Nov 23
2
Create a vector of combinations based on a table column names
I want to create a character vector based on the table (shortened for
display) below:
Where there are ones in the matrix I want the column name to appear and
where there are zeros nothing, which would make the vector in this
shortened case:
combinations <- ("A B","A C","A E H","A F G","B C D","E G H",A C D E
H","A C D F
2009 Mar 26
2
Tables
Hi,
I am just starting using R. Hence, sorry for asking probably rather easy
questions.
I used "read.table" to bring an .txt Table to R. Unfortunately the
columns do not have the same length. I tried "fill=TRUE", to fill the
blank space with "na". In a certain kind of way it worked, but befor
filling the spaces it moved data from later columns to the first:
1
2004 Mar 02
1
R programming
I have been using R for a few months to plot my data, and fit
statistical models and so on.
It is stated that R is not only a package for statistcs and graphics but
also a programming language.
Currently I am working with Fortran 90 to do numerical simulations (1D
reactive -transport), and subsequently visualize it in some external
software (spreadsheet). As I now started using R I will plot my
2004 Feb 23
1
Reference to use of MLR in industry and biology
I apologize in advance for posting a question not related to R.
I need references to papers that use multiple linear regression in an industrial application and also in a biological experiment.
This is aimed to biologists/chemists (non-statisticans) so if anyone has written a brilliant paper where the use of multiple regression is important and also understandable to people with little
2011 Feb 10
2
Calculating rowMeans from different columns in each row?
Hello!
I have a dataset like this:
X1 X2 X3 X4 X5 X6 X7 X8
1 2 2 1 2 3 2 6
2 3 2 5 7 9 1 3
1 9 12 6 1 1 3 6
The columns X1-X6 contains ordinary numeric values.
X7 contains the number of the first column that the rowMeans should be calculated from and
X8 contains the last column
2004 Dec 06
4
Modyfing PATH in Windows Installer for R
Just a small suggestion since Windows have a file system not designed
for command line use...
Would it be possible to add the possibility of automatically
adding/modifying the path to the R executables in the windows installer
program?
---------------------------------------------
Henrik Andersson
Netherlands Institute of Ecology -
Centre for Estuarine and Marine Ecology
P.O. Box 140
4400 AC
2012 Jul 05
1
Invalid input in 'utf8towcs' when saving script file
Hello,
When I try to save my script file before closing the R console session I get this error.
Error: invalid input 'C:\Documents and Settings\xxxx\xxxx\datafile' in 'utf8towcs'
Does anyone know what can cause this error?
I use the RGui (R verison 2.14.0) in Windows and the problem appears when I try to re-save the script file. Using Save as and rename it works.
Kind
2005 Dec 22
1
strsplit with dataframes
Hello fellow R people,
I can not figure out a pretty way to use strplit with vectors
Imagine that I got the following data from someone with ID's
representing several factors
ID data
A1-B1-t1 0
A1-B1-t2 1
A1-B2-t1 5
A1-B2-t2 10
A1-B10-t1 0
A1-B10-t2 1
A1-B20-t1 5
A1-B20-t2 10
...
I would like to turn this dataframe to
station substation time data
A1 B1 t1 0
A1 B1 t2 1
A1 B2 t1 5
2005 Jul 11
6
R on kubuntu
Hello all,
I am planning to redeploy my workstation under KUBUNTU.
Does any body has any r experience installing/using r on this platform?
Best regards.
--
Constant Depi??reux
Managing Director
Applied QUality Technologies Europe sprl
Rue des D??port??s 123, B-4800 Verviers
(Tel) +32 87 292175 - (Fax) +32 87 292171 - (Mobile) +32 475 555 818
(Web) http://www.aqte.be - (Courriel)
2005 Jul 11
6
R on kubuntu
Hello all,
I am planning to redeploy my workstation under KUBUNTU.
Does any body has any r experience installing/using r on this platform?
Best regards.
--
Constant Depi??reux
Managing Director
Applied QUality Technologies Europe sprl
Rue des D??port??s 123, B-4800 Verviers
(Tel) +32 87 292175 - (Fax) +32 87 292171 - (Mobile) +32 475 555 818
(Web) http://www.aqte.be - (Courriel)
2006 Jun 07
4
Question: coding protected methods
Apologies first, because I need to ramp up on Ruby and coding Ruby in Rails,
however it''s my 3rd day with this beast :) so I''m asking :
When I added protected methods to the model before it was like:
protected
method....................
end
Would this be a valid way to write a protected method as well ?:
attr_protected :column1, :column2
Perhaps this particular call
2003 Jun 25
1
delete exclusion
Is it possible to use rsync to mirror a group of files, deleteing
most files from the mirror when they disappear from the source,
but not deleting a certain set of files that match a pattern if
they disappear from the source?
Thanks.
Greg Brauer
greg@wildbrain.com
2006 May 23
2
transpose dataset to PC-ORD?
Hello:
I need to take a species-sample matrix and transpose it to the format
used by PC-ORD for analysis. Unfortunately, the number of species is
very large (>5000), and so this operation cannot be performed simply
in an application like Excel, which has a 255 column limit. So, I
wrote relatively simple code in R that I hoped would do this
(appended below). But there are glitches.
The
2005 Jan 26
3
plot function
Hello,
how can use change the plot function to change the range of axises. I want my graph from a certain range [a, b], instead of from the min to max of of datas?
if i want draw a line instead of dots, should i use both plot and lines function.
for example:
plot(x, y);
lines(x, y);
things seem not working if i only use lines(x, y).
Thank you so much.
Cuichang Zhao
Jan 25, 2005
2004 Dec 08
3
How to change x axes' range
Hi, there:
When plot ann predicted results I need to indicate numbers of inputs for
each column.
V1 V2 V3 V4
1 86.2700 49.9380 30.7630 0.1327
2 89.5127 55.9707 33.7683 0.1186
3 91.1833 58.4670 34.5610 0.1134
matplot(t, pch = 1:4, type = "o", col = rainbow(ncol(t)),xlab = "No. of
inputs ", ylab = "Mean of 6 Datasets",
2010 May 31
2
accessing a data frame with row names
Readers,
I have entered a file into r:
,column1,column2
row1,0.1,0.2
row2,0.3,0.4
using the command:
dataframe<-read.table("/path/to/file.csv",header=T,row.names=1)
When I try the command:
dataframe[,2]
I receive the response:
NULL
I was expecting:
row1 0.2
row2 0.4
What is my error with the syntax please?
Yours,
r251
mandriva2009