Displaying 20 results from an estimated 43 matches for "inpost".
2009 Oct 26
2
exclude data for boxplot stats using mathematical operator
Readers,
I have a data set as follows:
1,1
2,2
3,3
4,4
5,3
6,2
7,-10
8,-9
9,-3
10,2
11,3
12,4
13,5
14,4
15,3
16,2
17,1
I entered this data set using the command 'read.csv'. I want to
exclude values fewer than zero in column 2 so then I tried the
following command:
boxplot.stats(x[>0,2],do.conf=FALSE)
Error: syntax error, unexpected GT, expecting ',' in
2013 Feb 08
4
convert 12 time stamp to 24 hour
Readers,
For a 12 hour time stamp:
> testtime<-("2013-01-01 01:00:01 PM")
> testtime
[1] "2013-01-01 01:00:01 PM"
> testtime24hour<-strftime(testtime,'%H:%M:%S')
> testtime24hour
[1] "01:00:01"
how to convert to 24 hour format so that the object 'testtime24hour' is:
'13:00:01'
Thanks.
--
r2151
2013 Feb 15
1
file copy to password protected network drive
...nd can
run R there. The following code does not even find the destination folder.
file.copy("sourcedrive/file.tar", "
username@ranch.tacc.utexas.edu/uniqueID/destinationfolder/file.tar",
overwrite = FALSE)
Thanks in advance,
Kumar
On Thu, Feb 14, 2013 at 4:41 AM, e-letter <inpost@gmail.com> wrote:
> Readers,
>
> For this data set:
>
> testvalues<-c(10,20,30,40)
>
> How to amend the plot instruction:
>
> plot(testvalues,ann=FALSE,type='l',yaxt='n',xaxt='n')
>
> so that x axis ticks labels can be added to existin...
2009 Aug 17
6
graph label greek symbol failure
Readers,
Previous questions about this requirement have been for m$ users, my
failure occurs using linux.
I have tried to add the delta (?) symbol to the y axis label and the
result is &D, using the command:
...ylab="?t"...
Any advice please?
rhelp at conference.jabber.org
mandriva 2008
r 251 (27-06-07)
2013 Feb 14
5
plot custom x axis ticks values
Readers,
For this data set:
testvalues<-c(10,20,30,40)
How to amend the plot instruction:
plot(testvalues,ann=FALSE,type='l',yaxt='n',xaxt='n')
so that x axis ticks labels can be added to existing graph with
arbitrary value such as 0,100,200,300)?
Thanks in advance.
--
r2151
2009 Sep 25
2
synchronisation of time series data using interpolation
Readers,
I have data with different time stamps that I wish to plot (for example):
data set 1
time(hh:mm:ss),datum
01:00:00,500
01:00:15,600
01:00:30,750
01:00:45,720
01:01:00,700
01:01:15,725
01:01:30,640
01:01:45,710
data set 2
time,datum
01:00:12,20
01:01:01,55
01:01:55,22
The time interval in data set 1 does not change, but the time interval
in data set 2 does change, such that for a
2009 Aug 17
10
ssh failure due to local error
Readers,
I have tried the following command:
rsync -t *.txt ssh user at remote.machine:
and receive the following error:
rsync: link_stat "local/machinepath/ssh" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at
main.c(1031) [sender=3.0.2]
My understanding of the manual is that the text files on my local
machine should have been
2009 Aug 18
2
ENC: postscript, options
I'm not shure but I guess that you miss a " and putted it in the wrong
place!
Try this: postscript("/pathto/filename.eps",horizontal=FALSE,onefile=FALSE)
Hope It helps.
-----Mensagem original-----
De: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Em
nome de e-letter
Enviada em: segunda-feira, 17 de agosto de 2009 10:11
Para: r-help at r-project.org
2009 Nov 24
1
write to file append by column
Readers,
Scenario: data x consists of one column;
1
2
3
data y;
4
5
6
Is it possible to write to file such that the file is:
1,4
2,5
3,6
using the write.file function? I have tried the command:
write(x,file="file.csv",ncolumns=1,append=TRUE,sep=",")
write(y,file="file.csv",ncolumns=1,append=TRUE,sep=",")
but the result is:
1
2
3
4
5
6
yours,
2010 Aug 24
2
percentage sign in expression
Readers,
According to the documentation for the function 'plotmath' there is no
apparent possibility to add the percent sign (%) to a plot function,
e.g.
plot(a[,1]~b[,2],ylab=expression(x~%),xlab=expression(z))
How to achieve this please?
yours,
rhelp at conference.jabber.org
r251
mandriva2009
2011 Mar 15
3
create data set from selection of rows
Readers,
For a data set:
text1,23,text2,45
text1,23,text3,78
text1,23,text3,56
text1,23,text2,45
The following command was entered:
datasubset<-data.frame(dataset[,3]=="text3")
The result of
datasubset
is
TRUE
TRUE
The required result is
text1,23,text3,78
text1,23,text3,56
What is the correct command to use please?
Thanks in advance.
2012 Jan 10
2
bug submission justified for distribution of obsolete java software?
Readers,
Would someone advise whether the distribution of an obsolete version
of java should be reported as a bug;
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=827
2012 Jul 16
0
R-help Digest, Vol 113, Issue 19
On 16/07/2012, r-help-request at r-project.org
<r-help-request at r-project.org> wrote:
> ------------------------------
>
> Message: 77
> Date: Mon, 16 Jul 2012 10:48:39 +0100
> From: Rui Barradas <ruipbarradas at sapo.pt>
> To: e-letter <inpost at gmail.com>
> Cc: r-help at r-project.org
> Subject: Re: [R] histogram of time-stamp data
> Message-ID: <5003E377.3000604 at sapo.pt>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
> timestamps <- as.POSIXct(Sys.Date()) + sample(24*60*60, 1e3, T...
2013 Jan 29
2
remove margin between plot and axis
Readers,
Am trying to plot a graph with type 'h' and want to remove the white
space between the plot lines and the x axis. The help section 'par'
suggests that the option 'mai' controls this feature, but the syntax
plot(...mai=c(0,1,1))
is ineffective
Any advice please?
--
r2151
2010 Jan 29
1
use zoo package with multiple column data sets
Readers,
I am trying to use the zoo package with an array of data:
file1:
hh:mm:ss 1
hh:mm:ss 2
hh:mm:ss 3
hh:mm:ss 4
file2:
hh:mm:ss 11 55
hh:mm:ss 22 66
hh:mm:ss 33 77
hh:mm:ss 44 88
I wanted to merge these data set so I tried the following commands:
library(chron)
library(zoo)
z1<-read.zoo("path/to/file1.csv",header=TRUE,sep=",",FUN=times)
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
2009 Oct 02
2
plot ᵒ C in graph axis label
Readers,
I have tried to use a plotmath command to add the temperature degree
sign (i.e. ? C) to the axis label of a graph:
> x<-(1:10)
> y<-(200:191)
> plot(x~y,ylab=expression(*degree~C))
Error: syntax error, unexpected '*', expecting ',' in
"plot(x~y,ylab=expression(*"
According to plotmath manual, the syntax is '*degree' and I am able to
use
2008 Apr 29
1
how to solve a power series linear coefficient equation
Readers,
I am having difficulty understanding how to enter commands into r.
I have data arranged as:
100, 200, 300
5.6, 6.7, 7.8
8.9, 9.0, 0.1
1.2, 2.3, 3.4
The data is saved in csv format and I use the command 'read.table' to
import into r.
The values 5.6...3.4 are a function of values 100,...300, i.e.
100,...300 are independent variables (x). The function is a power
series:
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 May 15
5
Inconsistent linear model calculations
Readers,
Using version 251 I tried the following command:
lm(y~a+b,data=datafile)
Resulting in, inter alia:
...
coefficients
(intercept) a
1.2 3.4
Packages installed:
acepack ace() and avas() for selecting regression
transformations
adlift An adaptive lifting scheme algorithm
akima Interpolation of irregularly spaced