similar to: [[<-.data.frame with POSIXt replacement (PR#4808)

Displaying 20 results from an estimated 2000 matches similar to: "[[<-.data.frame with POSIXt replacement (PR#4808)"

2003 Feb 01
2
Apparent parser problem (PR#2520)
Let me first admit: I am experiencing this bug on a precompiled binary of R for windows, and I know these are not supported. I am not asking for support, but I thought the R developers would want to know about this. # Define: foo.page <- function(x) x # Then, foo.page("a") # actually invokes the pager (!) on object named "a" (if one is defined). # same thing happens
2003 Sep 03
2
SNK-test
How can I perform a Student-Newman-Keuls-Test for multiple comparision of means in R? (I did not manage to find any specific function in the libraries) Jörg Peter Baresel Technische Universität München Institut für Ackerbau und INformatik im Pflanzenbau D-85354 Freising Lange Point 51 [[alternative HTML version deleted]]
2003 Apr 16
5
besoin d'aide
J'aimerais savoir si la fonction merge() est la seule disponible pour concatener des tableaux de donn?es? Est-ce normal que l'ex?cution soit lente?
2003 Feb 28
2
Lexical scoping question
Hello, Could someone please tell me what I am thinking about incorrectly: f <- function(y) { g <- function(x) x + y g } In the following, I get what I expect based on my understanding of lexical scoping: (f(1))(3) # 4 (f(2))(3) # 5 But now, fs <- lapply(c(1, 2), f) fs[[1]](3) # 5 (Why not 4 ?) fs[[2]](3) # 5 Checking the environments of these functions, I see that
2003 Apr 29
1
Specifying search position for attached package
When I load an add-on package, is there any way to specify where it ends up in the search path (as with the pos argument to attach())? From the documentation for library(), this doesn't seem like an option. (I know I can detach packages and then reload them in the order I want; I'm looking for a less clumsy way.) Thanks, Jim James A. Rogers, Ph.D. <rogers at cantatapharm.com>
2002 Dec 06
2
Mutiple page trellis plots with relation = "free" or "sliced"
Hello, Has anyone out there encountered a problem like this: xyplot(Plasma ~ Serum | Analyte, data = sp.df, aspect = 1, layout = c(1, 1, 200), scales = list(relation = "free") ) Gives the error: Error in pretty(x[is.finite(x)], ...) : x must be numeric On the other hand, this works (but I don't want the default of having everything on the same
2003 Jul 21
4
generate a series of fucntion
Hi there, I want to generate a large amount of functions, say f=function(x,t) exp(-t[1]-t[2]*g_1(x)-t[3]*g_2(1+x)) where g_1(x) and g_2(x) are from a long list of moments, such as x, x^2, log(x), log(1+x) .. and so on. Any suggestions on how to do this efficiently? thanks a lot. x.w
2003 Jan 13
2
summarizing dataframe
Hi Listers, Surely, I just have a mental block and there is a more elegant way of creating a summary count (other than extracing it from ftable). I''d like to create a new data.frame containing counts of spell by loc ie have three columns showing spell,loc,count. Below the data.frame... Any help appreciated Thanks Herry spell loc 101 Parts 1 102 Overall 2 105 Parts 1 106
2002 Sep 11
1
.Renviron and Renviron.site (on Windows XP)
Hello, Could someone please tell me why the following doesn't work: I have a file C:\Program Files\R\rw1051\etc\Renviron.site, which contains the line: R_LIBS= "C:/Jim/LocalR-Libraries/FromCran"; "C:/Jim/LocalR-Libraries/Cantata" >From the documentation, I gather that I have put this file in the default location, but to be safe I also explicitly set the R_ENVIRON
2002 Oct 02
4
T-Distribution
Dear sir, I would ask if there are in R some code to generate a random sample from a mvariate student distribution like that one wich generate the multivariate normal one i mean( rmvnorm(n, mu, sigma) Second question : if R can plot density 3Dcurve I don't mean de histogram but de hole density function(normal for example). I use a windows version of The R software Thank you in advance wiyh
2003 Jul 24
5
inverse prediction and Poisson regression
Hello to all, I'm a biologist trying to tackle a "fish" (Poisson Regression) which is just too big for my modest understanding of stats!!! Here goes... I want to find good literature or proper mathematical procedure to calculate a confidence interval for an inverse prediction of a Poisson regression using R. I'm currently trying to analyse a "dose-response"
2002 Sep 13
2
Multiple random effects inlme?
Moi! I was helping to teach a course on mixed models this week, and we came across a problem with coding more than one random effect in lme when they aren't nested. As an example, suppose we have an experiment where we sample moths from several populations, and place the moths on different trees, and measure a trait (in this case survival of offspring, but that's less important). We
2003 Aug 25
16
R tools for large files
I'm wondering if anyone has written some functions or code for handling very large files in R. I am working with a data file that is 41 variables times who knows how many observations making up 27MB altogether. The sort of thing that I am thinking of having R do is - count the number of lines in a file - form a data frame by selecting all cases whose line numbers are in a supplied vector
2002 Nov 04
2
Windows 2000 logon error
Hello, I have Samba 2.2.3 running on a Solaris 7 server. I have many Windows 98 and a handful of Windows 2000 computers authenticating against it for logging in and filesharing. One of the users (Jeff) had his Windows 98 workstation replaced with a Windows 2000 workstation. I have other Windows 2000 computers and their users can log in fine, and they all have the same network settings for the
2010 Dec 15
2
Two asterisk servers, two different service providers
All: I am looking to install another asterisk server in an office located in a different part of the country. I think I can configure the sip and extension conf files, so that the internal phones at the two locations can call each other. My question is this, how do I properly configure the sip file for a different provider at the new location? Can I use a different register statement for
2011 Mar 06
1
Any good tutorials for setting up Asterisk SNMP and Cacti for remote monitoring?
Hi Everyone, I have been searching the web and I don't know if SNMP is just that complex to setup or that not many people use SNMP to monitor Asterisk but the information is scattered all over. I have got to the point to configure SNMP with Asterisk and then it's all confusing from there on to actually see the graphs in Cacti. I would appreciate it if you can post your steps or point me
2009 Sep 09
1
Monkey patching +.POSIXt
Hi all, This summer I've been working with a grad student to bring more of the date time classes from JODA (http://joda-time.sourceforge.net/) into R. To make these work seamlessly with existing date time objects, we need to patch +.POSIXt. (The ruby community uses the term monkey-patching for this sort of ill-advised, by sometimes necessary, internal hackery, hence the title.) The problem is
2007 Feb 21
1
Adding difftime objects to POSIXt objects
Hello, ?DateTimeClasses states that "one can add or subtract a number of seconds or a 'difftime' object from a date-time object, but not add two date-time objects." So, is the below expected behavior? > x <- Sys.time() > x [1] "2007-02-21 16:19:56 CST" > x + as.difftime("1","%H") [1] "2007-02-21 16:19:57 CST" Warning
2009 Feb 17
0
Problem with +(POSIXt, difftime) dispatching -- WAS: How to create sequence of constant time interval
There seems to be a problem in the way `+` is dispatched for POSIXt/difftime (R 2.8.0 Windows). With the following definitions: t0 <- as.POSIXct('2009-01-01 00:00') halfhour.mins <- as.difftime(30,units='mins') I would have thought that the straightforward answer to Suresh's question would be something like t0 + halfhour.mins * (0:47) And indeed, if we
2005 Apr 14
1
xtable POSIXt
Hi, I was trying like to print out data frame with POSIXct column in html format using xtable package, but I got error message when trying to print the table. Here is example: aaa<-data.frame(as.POSIXct(strptime('03 2005', '%d %Y')),0) aaa.tab<-xtable(aaa) print(aaa.tab) Error in Math.POSIXt(x + ifelse(x == 0, 1, 0)) : abs not defined for POSIXt objects