similar to: Applying function to data.frame

Displaying 20 results from an estimated 700 matches similar to: "Applying function to data.frame"

2004 Nov 22
7
timeDate
what package should I include to use timeDate? I want to convert a double (num of millis) into date object.
2006 Sep 22
4
Creating Movies with R
Dear All, I'd like to know if it is possible to create animations with R. To be specific, I attach a code I am using for my research to plot some analytical results in 3D using the lattice package. It is not necessary to go through the code. Simply, it plots some 3D density profiles at two different times selected by the user. I wonder if it is possible to use the data generated for different
2006 Oct 03
1
do.call with Vectorial Argument
Dear All, I am trying to use the do.call command to avoid tedious loops in R when I need to call repetitively a function. I am experiencing a problem when the arguments of a function are given with a vector (I need to express then this way to be able later on to integrate them numerically with the adapt package). Consider the small script: remove(list=ls()) #library(adapt) # first a list of the
2011 Sep 08
2
help subsetting data based on date AND time
Dear R Community, I am new to R, and have a question that I suspect may be quite simple but is proving a formidable roadblock for me. I have a large data set that includes water-quality measurements collected over many 24-hour periods. The date and time of sample collection are in a combined Date/Time field in the format yyyy-mm-dd hh:mm:ss. I need to be able to subset the data for analysis of
2012 Oct 02
2
Basic question about: <<- and method start with dot.
Dear list, When I read some source code, I find lot of place used symbol <<- , e.g. lastTime <<- newTime; What is the meaning here? Also, I find some method with the name start with dot, e.g. .RowStandardizeCentered = function(x) { div = sqrt( rowSums(x^2) ); div[ div == 0 ] = 1; return( x/div ); } What is the special meaning for the method name start with a dot? Thank you
2004 Mar 08
2
a question on CSV file
I have a csv file, heartrate excercise medicine Time 12 0 0 4:30 am 23 5 0 5:00 am 34 6 0 5:30 am 56 3 0 6:00 am 24 12
2012 Jul 14
3
Can't understand syntax
OK, I need help!! I've been searching, but I don't understand the logic of some this dataframe addressing syntax. What is this type of code called? test [["v3"]] [is.na(test[["v2"]])] <-10 #choose column v3 where column v2 is == 4 and replace with 10 and where is it documented? The code below works for what I want to do (find the non-missing value in a row),
2009 Apr 12
2
Convert string to time
One variable contains values (1.30 - one hour and thirty minutes, 1.2 (which is supposed to be 1.20 - one hour and twenty minutes)). I would like to convert to a minute variable so 1.2 is converted to 80 minutes. How?
2008 Feb 18
4
Compare mean survival time
Dear List, Does anybody no how to compare mean survival times for two (more) groups in R? What test statistics should I use? Thank you very much! Joe [[alternative HTML version deleted]]
2004 Dec 02
4
Ring all Configured Extension
I don't know if the is possible on not. I would like to know the easiest way to ring all extensions in the sip.conf file for intercoms. I have phone to phone intercom working.
2005 Mar 29
5
ACD queue question
I have a simple 4 person ACD queue using the AgentCallback function. No matter what strategy I use, anytime someone calls into the queue asterisk dials the agents in the order that they are listed in the agents.conf file. This doesn't seem right to me, or am I wrong.
2003 Feb 25
11
Exchange Server in DMZ
I would like to place an exchange 5.5 server in my DMZ. Can anyone tell me how I can set this up to allow LAN clients to be able to connect to Exchange and also so I can admin the box from the LAN with Terminal Services? Thank you.
2012 Nov 12
3
nomenclature for conf files
It might sound stupid, but I'd like to know if there's any difference. Are those 3 line the same? WITH_KMS=YES WITH_KMS="YES" WITH_KMS=yes Best regards Zoran
2013 Oct 15
2
Data handling
Hello all, I'm having a problem with data handling. My input data is (dput in the after the signature): Date Time Fraction 06/19/13 22:15:39 0.3205 06/19/13 22:15:44 0.3205 06/19/13 22:15:49 0.3205 06/19/13 22:15:54 0.3205 06/19/13 22:15:59 0.3205 06/19/13 22:16:09 0.3205 Date in format month/day/year, Time in HH:MM:SS and fraction represents the fractions of
2012 Jun 03
6
Zigor Ebro 650 compatibility
Hi all, After some research I've found that this device should run with the blazer_usb driver. Jun 3 16:15:38 pegasus kernel: ugen0.4: <vendor 0x0001> at usbus0 Jun 3 16:15:38 pegasus kernel: uhid0: <vendor 0x0001 product 0x0000, class 0/0, rev 1.00/1.00, addr 4> on usbus0 However, even after shoehorning it; [crees at pegasus]/usr/local/libexec/nut% sudo ./blazer_usb -a zigor
2004 Dec 02
4
Asterisk Problem or Polycom Problem
We are in the process of testing * for company wide deployment. We are using Polycom 300 phones, the only problem that I am running into is when I call an 800 number that has an IVR I get disconnected after about 60 seconds. Here are the logs from asterisk. I am not sure if this is a problem with asterisk timing out or if it is the phone. To me this looks like asterisk is timing out.
2012 Jan 30
2
Variable selection based on both training and testing data
Dear all, The variable selection in regression is usually determined by the training data using AIC or F value, such as stepAIC. Is there some R package that can consider both the training and test dataset? For example, I have two separate training data and test data. Firstly, a regression model is obtained by using training data, and then this model is tested by using test data. This process
2006 Aug 30
3
No tcp wrappers, other ideas to help stop brute force attacks?
I'm looking for a way to deny access to dovecot from certain IP addresses, basically to help prevent brute force attacks on the server. Right now I'm using denyhosts which scans /var/log/secure for authentication failures which then can add an entry to /etc/hosts.deny, but since dovecot doesn't have tcp wrappers support, that doesn't do anything. It doesn't look like I can
2005 May 17
1
Vuong test
Hi, I have two questions. First, I'd like to compare a ZINB model to a negativ binomial model with the Vuong test, but I can't find how to performe it from the zicount package. Does a programm exist to do it ? Second, I'd like to know in which cases we have to use a double hurdle model instead of a zero inflated model. Many thanks, St??phanie Payet REES France R??seau
2005 Mar 01
5
Polycom Auto-Answer
I am having a problem with Polycom auto-answer. I have the auto-answer working between PhoneA and PhoneB, but when I try to use the intercom between more then one phone I start having problems. PhoneA dials *3 which calls PhoneB, PhoneC, and PhoneD. All the phones ring, but only one will pick up, the rest will hang up and I get this error on Asterisk: Got SIP response 500 "Internal Server