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

Displaying 20 results from an estimated 3000 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
2010 May 20
1
Strange behaviour when using diff with POSIXt and POSIXlt objects
Dear list, I´m calculating time differences between series of time stamps and I noticed something odd: If I do this... > time1=strptime("2009 05 31 22 57 00",format="%Y %m %d %H %M") > time2=strptime("2009 05 31 23 07 00",format="%Y %m %d %H %M") > > diff(c(time1,time2),units="mins") Time difference of 10 mins .. I get the correct
2002 Sep 12
0
(PR#2005) R_HOME/etc/Renviron.site not interpreted on windows
ligges@statistik.uni-dortmund.de wrote: > > Was on R-help: > > Subject: Re: [R] .Renviron and Renviron.site (on Windows XP) > Date: Thu, 11 Sep 2002 > From: "James Rogers" <jrogers@cantatapharm.com> > > At least on the windows version of R the file > ...../etc/Renviron.site > won't be interpreted as mentioned in, e.g., ?.Renviron. >
2007 Dec 14
3
How to convert Datetime numbers from Excel to POSIXt objects
Hi all, I need to compare time series data files of different time formats. I had no problems with text format using strptime. But how can I convert datetime numbers from Excel (days since 30.12.1899 00:00:00) into POSIXt objects? For example 29770.375 should be converted to "03.07.1981 09:00:00" I tried the following code and encountered strange results: t1-t0 gives 29770.33
2012 Nov 05
1
Dates as POSIXt
When I try to do linear interpolation between financial contracts with maturities on different dates in different months I have come across some behavior I haven't seen before. I have a data frame in R which is loaded from an access database so I can't provide a working example. It was loaded using this code: > dbPath <- "H:/pathToDB/DB.mdb" > channel <-