similar to: Getting dates in an SPSS file in right format.

Displaying 20 results from an estimated 1000 matches similar to: "Getting dates in an SPSS file in right format."

2009 Oct 22
2
Replacing multiple elements in a vector !
Hi, I have a vector with elements rs.id=c(''rs100'',''rs101'',''rs102'',''rs103'') And a dataframe ''snp.id'' 1 SNP_100 rs100 2 SNP_101 rs101 3 SNP_102 rs102 4 SNP_103 rs103 Task is to replace
2009 Nov 12
0
Reading .sav (SPSS) files.
Hi, I used the method read.spss() in library(foreign) to read a .sav file using commands. >library(foreign) >data.sav <- read.spss(''masterfile.sav'') >mydat <- as.data.frame(data.sav) It''s throwing some warnings.. ---------------------------------------------------------------------------- --------------------------------------------
2009 Oct 14
2
Getting indeices of intersecting elements.
Hi, Is there a command to get the indices of intersecting elements of two vectors as intersect() will give the elements and not its indices. Thanks in advance. Praveen Surendran School of Medicine and Medical Sciences University College Dublin Belfield, Dublin 4 Ireland. [[alternative HTML version deleted]]
2009 Jul 08
5
R regular expression to extract words with the query string.
Hi, Is there a way in R to get the string which matches the expression, where the expression is a substring of the parent string. Lets say, I have $i <- "transcript:ENST0000112334 pid:ENSP000012345" What I need is the string "pid:ENSP000012345" from $i using the query "ENSP". Appreciate your comments. Praveen Surendran School of Medicine and
2009 Aug 10
1
index of intersect()
Hi all, Is there a way to get the index of elements in intersect(x,y) where x and y are vectors with few common elements. Appreciate your response. Praveen Surendran. [[alternative HTML version deleted]]
2010 Jul 28
1
Help with specifiying random effects in lmer - psychology experiment
<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable;
2007 Feb 16
1
SPSS and library(foreign)
Hi, I have a valid SPSS .sav file (which I can open happily in SPSS v11 on Windows XP). Opening it in R2.41 on Linux we get this message :- > HSE3023 <- read.spss("HSE.sav") Error in read.spss("HSE.sav") : error reading system-file header In addition: Warning message: HSE.sav: Variable X234 indicates variable label of invalid length 256 Now variable X234 has indeed a
2015 Jun 07
2
Curious problem with NAT
Ashwin Surendran <Ashwin.Surendran at now-health.com> schrieb: > Have you tried NAT=force_rport ? OK, tried... I can transmit from my phone (aka: I hear my voice on another phone), but I'm not able to receive data (aka: I cannot hear what I say on the other phone). Other suggestion? Thanks Luca Bertoncello (lucabert at lucabert.de)
2015 May 31
2
How to use TRUNK only if IAX fails?
Hi Matt, I was a bit concerned on the delay if there might be any when my iax link is down? It would be two dial steps right when my iax link is down. But I?m more than happy to try. Many Thanks, Ashwin. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Riddell (lists) Sent: 30 May 2015 16:55 To: Asterisk Users Mailing List -
2015 Jun 07
3
Curious problem with NAT
Ashwin Surendran <Ashwin.Surendran at now-health.com> schrieb: > What settings have you got for directmedia? > > Could you try > > nat=force_rport,comedia > directmedia=no Tried. Peer always unreachable, call not possible... :( Other idea? Thanks Luca Bertoncello (lucabert at lucabert.de)
2012 Oct 29
3
Opening SAS file using read.sas7bdat() function in sas7bdat library.
Hi, I have a file in .sas7bdat format. I tried to open this file using read.sas7bdat() function. This gave me an error - "Error in read.sas7bdat("bnp_genetic.sas7bdat") : unknown host X64_7PRO". Could someone tell me what this error means? Thank you, Praveen. [[alternative HTML version deleted]]
2015 May 30
2
How to use TRUNK only if IAX fails?
Many Thanks Carlos, I was hoping to check whether the remote server is available before I issue the dial in my dial plan. Is there a better way to do it in asterisk without using unix commands? Many Thanks, Ashwin On 5/30/15, 2:06 AM, "Carlos Chavez" <cursor at telecomabmex.com> wrote: >On 5/29/15 1:16 PM, Ashwin Surendran wrote: >>> Hi, >> I have multiple
2009 Jun 19
1
Alternate ways of finding number of occurrence of an element in a vector.
Hi, I have a vector "v" and would like to find the number of occurrence of element "x" in the same. Is there a way other than, sum(as.integer(v==x)) or length(which(x==v)) to do the this. I have a huge file to process and do this. Both the above described methods are pretty slow while dealing with a large vector. Please have your comments. Praveen
2009 Mar 11
1
Is this a documentation bug? Spss dates import
Hello R-user bug seekers are needed! In order to perform these simple tasks you have to use a copy of SPSS and obviously R. The problem is that date conversion of data coming from SPSS gives wrong results, if we follow ?as.POSIXct ## SPSS dates (R-help 2006-02-17) z <- c(10485849600, 10477641600, 10561104000, 10562745600) as.Date(as.POSIXct(z, origin="1582-10-14",
2007 Feb 09
1
Using variable names in for loops - Generating plots semi-automatically from a series of variables Partly solved
Hi, This code is trying to produce a series of graphics files, with plots of male and female disease rates by age, one plot per disease. The dataframe contains a variable 'Age' and a set of variables called 'Male_CVD, Female_CVD,Male_RTA,Female_RTA, and so on. For each disease, I want to pull out the column of data containing the word 'Male' and plot this against age, and then
2015 Jun 01
0
How to use TRUNK only if IAX fails?
I would especially look at the CHANUNAVAIL dial status Since it sounds like you are probably qualifying your IAX trunk, that status will be the quickest way to overflow from IAX to TDM. On Sat, May 30, 2015, 11:35 PM Ashwin Surendran < Ashwin.Surendran at now-health.com> wrote: > Hi Matt, > > > > I was a bit concerned on the delay if there might be any when my iax link
2015 Jun 07
3
Curious problem with NAT
Hi list! Since the internal calls work as expected and I can register my Asterisk on an external provider, I'd like to add a new feature and allow my mobile phone to connect to my Asterisk and manage calls. Well, first of all, my Asterisk is NOT direct on Internet available, but behind a NAT. So I configured my sip.conf: localnet=192.168.200.0/24 externhost=myhost.noip.com externrefresh=180
2015 Jun 07
0
Curious problem with NAT
What settings have you got for directmedia? Could you try nat=force_rport,comedia directmedia=no -Ashwin -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Luca Bertoncello Sent: 07 June 2015 12:04 To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] Curious problem with NAT
2015 May 30
0
How to use TRUNK only if IAX fails?
The command he gave you was in Asterisk. Why do you not want to call it to try it? Then you can fail over to the other trunk if the IAX link is down. Kind regards, Matt > On May 30, 2015, at 2:03 AM, Ashwin Surendran <Ashwin.Surendran at now-health.com> wrote: > > Many Thanks Carlos, I was hoping to check whether the remote server is > available before I issue the dial in
2015 Jun 07
0
Curious problem with NAT
On Sun, Jun 7, 2015 at 4:49 AM, Luca Bertoncello <lucabert at lucabert.de> wrote: > Ashwin Surendran <Ashwin.Surendran at now-health.com> schrieb: > > > What settings have you got for directmedia? > > > > Could you try > > > > nat=force_rport,comedia > > directmedia=no > > Tried. Peer always unreachable, call not possible... :( > >