Displaying 17 results from an estimated 17 matches for "lexgen".
Did you mean:
legen
2004 Sep 27
1
Enright/Chi-square periodogram / periodicity
I am trying to compute the periodicity of a time series.
I would like to know which function in R does it.
Also, how do I plot a Enright / Chi-square periodogram using R ?
( Enright, J.T., 1965, Journal of Theoret. Biol. 8,426-468)
Greatly appreciate your help.
Thanks in advance,
Sukhaswami Malladi
***************************************************************************
The contents
2005 Apr 22
2
help with POSIX
For the r script below
>datestr <- "01/01/2004"
>as.POSIXct(as.Date(datestr, "%d/%m/%Y"))
I get the following output
"2003-12-31 18:00:00 Central Standard Time"
Why is the date a day before. I guess its something to do with the time, but is there a way to get it to return 2004-01-01 instead?
Thanks in advance...
-Sandeep
[[alternative HTML version
2004 Mar 10
2
Inserting Date Field into Oracle table using ROracle
...c("date") does not work
sapply(d, class)
d$CDATE <- as.character(d$CDATE)
sapply(d, class)
dbExecStatement(ps,d)
Error in oraExecStatement(ps, data, ...) :
RS-DBI driver: (ORA-01861: literal does not match format string )
Thanks for your help in advance,
Swami
(smalladi at lexgen.com)
----------------------------- Correspondence with David James
-----------------------
Dear David,
Thanks for your kind reply. I did what you suggested, coerced
d into a character vector. Now I get an Oracle error -
d <- data.frame(CDATE = "TO_DATE('2004-03-10 10:12:00','...
2005 Jul 05
0
plot legend outside the grid
...39;red',
'green'), pch=c(1,4,2))
If you change the 72 to 75 the legend is plotted outside the plot frame.
Please read the help files carefully and also "An Introduction to R" to
learn R's syntax.
-- Bert
-----Original Message-----
From: Ghosh, Sandeep [mailto:sghosh at lexgen.com]
Sent: Thursday, June 30, 2005 3:43 PM
To: Berton Gunter
Subject: plot legend outside the grid
Thanks for the pointers... I managed to get everything to look and feel the
way I want except for the legend to plot outside the grid... Thanks for the
note on the par, but I'm not able to it t...
2002 Nov 01
3
Line plot with date-time on X-axis
Dear List,
What is the way in R to plot a graph having date time (e.g. format
12/31/2002 13:12) in the
x axis and numerical value (e.g. temperature) on the Y-axis ?
I could not get 'plot()' to do this as X axis values are non-numeric.
'bwplot()' sorts the date
values and thereby changes the order of the dates and of Y. The date/time
values have to be
shown on the X-axis as tick
2002 Aug 06
1
Repeated Measures ANOVA
R-help,
Could someone in the list write as to what is the R function to
perform repeated measures ANOVA and post-hoc tests ?
Thanks in advance,
swami
***************************************************************************
The contents of this communication are intended only for the addressee and
may contain confidential and/or privileged material. If you are not the
intended recipient,
2005 Mar 23
1
R on red hat 2.1 problem while trying to generate image
Running R 1.9.1 under red hat 2.1 version
When I try to generate an image, we get an error as in the following
plot(rnorm(100))
Error in PS(file, old$paper, old$family, old$encoding, old$bg, old$fg, :
unable to start device PostScript
In addition: Warning message:
cannot open `postscript' file argument `Rplots.ps'
If anyone can throw some light or any pointers into why we are
2005 Apr 22
1
Need help arranging the plot in different fashion than the default format
I want to change the way the plot is appearing in the barchart ..
testdata <-
2005 Mar 22
1
Question with lattice xyplot
Hi All,
I have a quick question and any help is greatly appreciated. For the following data when I try to produce the image using xyplot function in lattice package, the key has 4 rows instead of 2. Can anyone tell me what I'm doing wrong and what is the way to fix the problem. Here the code that I'm running
studyData <- as.data.frame(t(structure(c(
"A",0,4.477,
2003 Jan 24
1
RMySQL performance over RODBC
R-help list,
I ported some R code from MS Windows PC to sun-solaris. Both do queries on
the same
MySQL database.
PC version of R is 1.6.1 and solaris version is 1.6.0. I use RMySQL_0.5-0
(on solaris)
and RODBC 1.0-1 on PC to connect to MySQL. The PC version took about 65
mins. to run
wheras the Solaris (SunOS 5.7) version took 375 mins. (> 6 hrs). R and
RMySQL are
resident on the same host
2002 Jan 02
1
RODBC - dsn specification
Happy New Year to all in the list!
I am trying to issue an SQL query to a database from R using
RODBC (on Windows). The data source file is on my PC hard
disk : C:\Program Files\ODBC\sql.dsn
The "\" character does not get interpreted properly in R - it
is removed from the file-spec string or if I specify "\\" it
appears as such with a syntax error in
odbcConnect(dsn,
2002 Jun 04
1
data format of x in x <- sqlQuery()
All
When I read data into an R variable x using RODBC command:
x <- sqlQuery(channel,"select a, b from tabl",as="data frame")
and view x, I get 3 columns the first one being the index of
the rows in x.
What options do I use in sqlQuery so as not have the index in x ?
How do I get rid of the index otherwise.
For some functions like princomp (and boxplot) for
2005 Jun 28
3
Help with stripplot
For the following code is there a way to make the jitter all line up horizontally, instead of them being just randomly spread around a value. So for ex if there are multiple values at 63 for genotype wt then all the values should be plotted on the same y value of 63 but spaced apart by a certain factor or noise..
library(lattice);
dataFrame <- as.data.frame(t(structure(c(
64,'wt',
2005 Apr 25
1
Need help with panel.segment..
Hi All,
For the following code, I'm not sure why the error bars are appearing horizontal. Can someone please tell me how to fix the problem.
testdata <-
2005 Jun 30
1
FW: plot legend outside the grid
-----Original Message-----
From: Ghosh, Sandeep
Sent: Thursday, June 30, 2005 5:43 PM
To: 'Berton Gunter'
Subject: plot legend outside the grid
Thanks for the pointers... I managed to get everything to look and feel the way I want except for the legend to plot outside the grid... Thanks for the note on the par, but I'm not able to it to plot outside the plot grid..
dataFrame <-
2005 Apr 21
3
Need help with R date handling and barchart with errorbars
Hi All..
Have a question.. For the following r code
testdata <- as.data.frame(t(structure(c(
"1/1/04","LV1",3.8,2,87,
"2/1/04","LV1",3.2,3,28,
"3/1/04","LV1",3.4,3,88,
"4/1/04","LV1",3,2,26,
"5/1/04","LV1",3.8,2,87,
"6/1/04","LV1",3.2,3,28,
2005 May 05
6
Need some quick help with lattice - barchart
For the following code below, the x-axis ticks are 1,2,3,4,5,6,7 when I was expection them to be 1,2,8,9,10,11,12. Please help me figure out where is the mistake.
library(lattice)
testdata <- as.data.frame(t(structure(c(
1,2005,9.24,6.18,634,
2,2005,8.65,6.05,96,
8,2004,6.81,6.51,16,
9,2004,9.0,7.29,8,
10,2004,8.84,6.18,524,
11,2004,8.54,6.35,579,
12,2004,9.97,6.3,614,
12,2005,8.75,5.84,32,