Displaying 20 results from an estimated 500 matches similar to: "Problems plotting and regression w.r.t. date data type on x axis"
2013 Feb 05
2
duplicate data
Hello,
I have a long list of x-, y- and z-data and try to generate a heatmap.
Obviously there are several data with identical x- and y-values. I get
the following error message:
Error in interp.old(x, y, z, xo = xo, yo = yo, ncp = 0, extrap = extrap, :
duplicate data points: need to set 'duplicate = ..'
Unfortunately there seems no help screen on "duplicate". I'd prefer
2004 Jun 11
3
Einlesen von Daten unter R
Sehr geehrte Damen und Herren,
An der Fachhochschule Winterthur wurde f??r mich im Rahmen einer
Diplomarbeit (Prof. Ruckstuhl) ein R-Programm zur Auswertung von
IR-Spektren (line-shape-Analyse zur quantitativen Analyse von
Gasmischungen) entwickelt. Die Daten werden einer Excel-Tabelle
entnommen. Bisher werden die spektroskopischen Daten ??ber den Inhalt von
64 Kan??len ??ber die
2012 Jul 02
2
degree of freedom GLM
Hi,
I have a problem with the df.
I read in a big csv file.
Tabelle <- read.csv("C:\\Users\\Public\\Documents\\Bachelorarbeit\\eingabe8_durchnummeriert.csv" , header = T , sep=";")
then I try this:
> ygamma <- glm(Tabelle$sb_ek_ber ~1+ Tabelle$FAHRL_C + Tabelle$NUTZKREIS + Tabelle$schw_drittel_c , family = Gamma)
> anova(ygamma, test="Chisq")
2009 Jan 05
1
error message of RODBC...
channel <- odbcConnectExcel("nuova tabella terapia occupazionale mod.xls")
> ## list the spreadsheets
> sqlTables(channel)
TABLE_CAT
TABLE_SCHEM TABLE_NAME
1 c:\\TABELLE DEFINITIVE\\nuova tabella terapia occupazionale mod
<NA> 'emi tot 2006 OAI_60g TO FU1$'
2 c:\\TABELLE DEFINITIVE\\nuova
2007 Dec 19
1
library(rpart) or library(tree)
Hi,
I have a problem with library (rpart) (and/or library(tree)).
I use a data.frame with variables
"pnV22" (observation: 1, 0 or yes, no)
"JTemp" (mean temperature)
"SNied" (summer rain)
I used function "rpart" to build a model:
library(rpart)
attach(data.frame)
result <- rpart(pnV22 ~ JTemp + SNied)
I got the following tree:
n=55518 (50
2009 Sep 15
1
quoting a table name due to a special character in sqlQuery (RODBC)
Dear List,
I have a problem with RODBC on a Paradox-DB, sqlQuery, and special
characters in table names. Unfortunately, some of the latter include the
underscore <_>. And I am not able to change them.
That's not a problem, when I quote the table name:
> sqlQuery(channel2, 'SELECT * FROM "anmeldung-alt"')
Btw, if I swap ' and " it does not work:
>
2006 Jul 14
2
Export to LaTeX
Dear Everybody!
I want to export data to LaTeX. As I want to employ the data as freely as
possible I want to avoid the xtable-command and instead generate some List
like
\MyOwnPrettyCommand{Adam}{Auer}{17}
\MyOwnPrettyCommand{Bertram}{Bauer}{14}
\MyOwnPrettyCommand{Christoph}{Huber}{75}
\MyOwnPrettyCommand{Damian}{Dorfer}{69}
\MyOwnPrettyCommand{Emanuel}{Eder}{43}
with \MyOwnPrittyCommand
2010 Jun 11
2
r code to broaden the boarder of the bars of a histogram
To whom it may concern,
I have a problem concerning the design of a histogram. How do I change
the border widths of the bars of a histogram. The initial command is:
hist (punkte,breaks=30, xlab="Punkte", ylab="H?ufigkeit",
main="Histogramm", col= heat.colors(30), border= "red")
I suspect that it has to do with the "lwd" command but can't
2004 Oct 26
3
Importing big plain files from ERP-System/Data Mining with R
Hi,
how can I import really big plain text data files (several GB) from an
ERP-System (SAP-Tables) to R?
The Header of these files are always similar, for example:
Tabelle: T009
Angezeigte Felder: 7 von 7 Feststehende F??hrungsspalten: 2 Listbreite
0250
----------------------------------------------------------------------
|X|MANDT|PERIV|XKALE|XJABH|ANZBP|ANZSP|LTEXT
2006 Jul 06
1
Bug test di Rails
salve a tutti,
sentite, non riesco a capire i test automatizzati di Rails.
Secondo il libro, il ciclo di vita di un test prevede che per ogni
metodo ( che sarebbe in pratica un test da eseguire ) si verificano
sempre 3 eventi:
1) la cancellazione di tutti i record della tabella in esame
2) il caricamento di tutti i dati di test elencati nel file di fixture
della tabella ( ad esempio
2009 Jul 11
2
Date conversions
Hi all,
I'm having a little bit of trouble with some date conversions and
am hoping someone can help me out. Thanks in advance.
OK, I have two sources of data that provide date info in a csv file
differently. I've attached a small zipped file with two text files
that illustrate both. (Is it ok to send attachments to this list? Not
sure. It's very small.) I need to be able to
2012 Nov 10
4
help on date dataset
Hi everybody,
I am beginer in R and I need your precious help.
I want to create a small function in R as in sas to retrieve date.
I have a file with data that import in R.
DATE PAYS nb_pays.ILI.
1 24/04/2009 usa 0
2 24/04/2009 usa 0
3 24/04/2009 Mexique 0
4 24/04/2009
2009 Dec 07
2
Filtering a zoo object based on index of another object
Hello everybody,
I have two datasets, observed and predicted.
Since my observed dataset is not in regular intervals, I need to filter my
predicted dataset based on the measurement date of my observed data.
Here, is an example similar to what I have
library(chron);library(zoo)
DATE<- seq(as.Date("2009-01-01"), as.Date("2009-05-01"), by = 1)
mydat<- rnorm(length(DATE),
2011 Dec 07
2
plotting and coloring longitudinal data with three time points (ggplot2)
Dear list,
I have been struggling with this for some time now, and for the last hour I have been struggling to make a working example for the list. I hope someone out there have some experience with plotting longitudinal data that they will share.
My data is some patient data with three different time stamps. First the patients are identified at different times (first time stamp). Second, they
2005 Feb 24
2
Row median of Date class variables in a data frame
I am trying to calculate the median of each row of a
data frame where the data frame consist of
columns of class Date.
Below are my test data and best attempt at using apply.
I didn't see a solution via Google or the Baron search
site.
I'd be grateful for any suggestions or solutions.
I'm using R 2.0.0 on Mac OS X.
Thank you,
Stephen Weigand
### Test data
date1 <- c(1000,
2006 Dec 28
3
Dates in R
Hello all,
Can somebody point me to references or provide some code on dealing with
this date issue. Basically, I have two vectors of values that represent
dates. I want to convert these values into a date format and subtract the
differences to show elapsed time in days. More specifically, here is the
example:
Date1 Date2
032398 061585
032398 061585
111694 101994
111694
2013 Apr 13
2
Comparison of Date format
Hi,
?In the example you provided, it looks like the dates in Date2 happens first.? So, I changed it a bit.?
DataA<- read.table(text="
ID,Status,Date1,Date2 ??? ??? ??????
1,A,3-Feb-01,15-May-01 ??? ???
1,B,15-May-01,16-May-01 ??? ???
1,A,16-May-01,3-Sep-01 ??? ??? ??? ??? ???
1,B,3-Sep-01,13-Sep-01 ??? ??? ??? ??? ???
1,C,13-Sep-01,26-Feb-04 ??? ??? ??? ??? ???
2007 Dec 16
1
Working with ranges of a list
Dear everybody!
Please find attached a tiny R-program. It returns:
[,1] [,2]
[1,] 53.55 NA
[2,] 53.55 NA
[3,] 53.55 NA
How can I manage the first column to show the second component not only
of the first list in k??ste but of the second component of every list in
k??ste respectively, such as to get the following array returned:
[,1] [,2]
[1,] 53.55 NA
[2,] 53.87 NA
[3,] 53.87
2009 Dec 09
1
reshape() makes R run out of memory (PR#14121)
Full_Name: Alexander L. Belikoff
Version: 2.8.1
OS: Ubuntu 9.04 (x86_64)
Submission from: (NULL) (67.244.71.200)
I'm trying to reshape the following data frame:
ID DATE1 DATE2 VALUE_TYPE VALUE
'abcd1233' 2009-11-12 2009-12-23 'TYPE1' 123.45
...
VALUE_TYPE is a string and is a factor with only 2 values
2009 Sep 11
4
Sorting
I have following object :
> date2
[,1] [,2]
[1,] "apr" "1992"
[2,] "aug" "1992"
[3,] "dec" "1992"
[4,] "feb" "1992"
[5,] "jan" "1992"
[6,] "jul" "1992"
[7,] "jun" "1992"
[8,] "mar" "1992"
[9,] "may"