Displaying 20 results from an estimated 700 matches similar to: "read mignight as 24:00 and not as 0:00"
2015 Jun 14
4
German sounds on Asterisk
Hi again
I'd like to configured my Asterisk to use german sounds for the
"Say"-commands...
I installed the sounds-files and I tried them with
"Playback(de/demo-echodone)" and it works.
Now I tried to add an extension to say the current time:
exten => 24,1,Verbose(2,Time asked by ${CALLERID(num)})
Exten => 24,n,Set(CHANNEL(language)=de)
Exten =>
2010 Jun 28
2
sampling one random frame from each unique trial?
hello everyone. please bear with me if this is very easy...
I have a data set with many trials, and frames within each trial. I would
like to pull out one random frame from each trial.
here is an example. i have 4 unique trials (file), and various frames within
each (time_pred). I would like to randomly sample 4 rows, but 1 from each
trial (file).
this sample data is called "h"
2007 Jul 08
1
generating a data frame with a subset from another data frame
R gurus,
I have a data set that looks something like this:
Site Species DBH #Vines
G PLOC 45.9 4
G ACNE 23.3 1
G ACNE 12.0 0
G FRAM 35.9 5
G AEGL 11.2 2
N PLOC 77.3 12
N JUNI 78.6 7
N ACNE 18.9 1
N ACNE 15.7 3
N ACRU 35.5 4
H ACSA2 24.1 6
H ULAM 35.2 7
There are 730 individual trees (22 species) from four sites in the
actual data set. I would like to create a second data frame that
2011 Jul 12
3
Reorganize data fram
Hi,
I have a data frame of about 700 000 rows which look something like this:
Date Temperature Category
2007102 16 A
2007102 17 B
2007102 18 C
but need it to be:
Date TemperatureA TemperatureB TemperatureC
2007102 16 17 18
Any suggestions?
/Angelica
--
View this message
2012 Jun 22
4
Search list of elements for a specific pattern
Hi,
I have a list of mutations, called "mutList", of the form:
> head(mutList)
Alu
1 AluJ
2 AluJ/F(R)AM
3 AluJ/FLAM
4 AluJ/FRAM
5 AluJ/monomer
6 AluJb
It contains about 500 elements and not all of them contain the
sequence "Alu". I tried using this code:
Alu<-mutList[which(grep("Alu",mutList)==1)]
But that simply returned
2008 Jul 02
2
Accessing a field in a data fram
raw <- read.csv(file=filename, head=TRUE,sep=",")
I've read in a csv file, and I'm looking to access a column whose name is
held in a string.
For example, I want to access raw$one or raw$two, but this will depending on
the string. Let's say that the string is decision<-"one". How would I access
raw$one?
The following doesn't work:
2012 Apr 01
1
indexing in a function doesn't work?
Hello,
I've written a small function that's supposed to save me some time, and
it's ending up killing it- the intention is to iteratively subset a dataset
fram on framevec, fit a model (either lm or nls depending on type) and
return the r2 or AIC from the model, respectively. Although as far as I can
tell in my code the plots are dependent on the fit of the model to the data
and the
2002 Sep 03
1
about fram buffer & twm cursor!!
Dear all,
I have two questions under syslinux.
First. When I start the system with syslinux, some messages
display on the screen and want me to enter display mode
to show or enter "scan" the scan the display resolution.
If I made anything wrong?
Second. I used the same kernel image as above and different cpu
care(SBC), It can work perfectly
2005 Sep 16
1
De-data.fram-ize?
Dear useRs,
Is there any more elegant way to convert dataframe to a vector of all
its values than as.vector(as.matrix(x)) ? I did not have to do such
conversion yet, so I am not sure... (of course as.vector() alone does
not work).
Regards,
--
Lukasz Komsta
Department of Medicinal Chemistry
Medical University of Lublin
Jaczewskiego 4, 20-090 Lublin, Poland
Fax +48 81 7425165
2007 May 11
1
conditional across frames of a data fram
I'm a newbie, so please forgive me:
I have a data frame that includes two long columns of x and y coordinate
values thusly:
... ... ... x y ... ...
... ... ... 115 127 ... ...
... ... ... 120 129 ... ...
... ... ... 0 0 ... ...
... ... ... 135 162 .... ...
ect...
i need to ask R tell me how many x-y pairs contain coords that are
2013 Feb 16
6
Extracting Numeric Columns from Data Fram
Hello,
I've got a data frame with a mix of numeric, integer and factor columns.
I'd like to pull out (or just operate only on) the numeric/integer columns.
Every thing I've found in searches is about how to subset by rows,
or how to operate assuming you have the column names. I'd like to pull
by type.
Thanks!
Barry
[[alternative HTML version deleted]]
2007 Jul 02
4
Extracting sums for individual factors in data frames
I have a data frame with two columns, one of which is a factor
(Species) and the other is numeric (BA, which stands for basal
area). Here's a sample:
Species BA
ACSA 55.7632696
FRAM 122.9933524
ACSA 67.54424205
ACSA 89.22123136
ACSA 82.46680716
ACSA 22.46238747
ACSA 19.94911335
ACSA 20.42035225
ACSA 19.00663555
ACSA 21.67698931
ACSA 57.80530483
ACSA 30.31636911
Dead 43.98229715
Dead
2005 Feb 11
2
Notes on bug reports 3229 and 3242 - as.matrix.data.fram e
> From: Gorjanc Gregor
>
> ! Look after character !
>
> From: Prof Brian Ripley [mailto:ripley@stats.ox.ac.uk]
> You too have not give an reproducible example!
> ! Yes, I was not able to do it from my data. But bellow is one. It is
> ! a stupid one, but it works. The problem is use of as.data.frame in
> ! tmp1$L <- as.data.frame(tmp$L). This looks like to produce
2004 Sep 28
4
An index of all possible combinations of variables in a data fram e
Hello list
Does anybody know of any way to create an index of all the possible
combinations of variables (factors) in a data frame? ie for 3 factors A, B &
C we have
A
B
C
AB
AC
BC
ABC
which equates to columns 1, 2, 3, 1:2, (1,3), 2:3 and 1:3.
I realise that a function like model.matrix does this, but how to get the
seqence of the index?
Any help would be greatly appreciated.
2010 Jul 19
3
specifying column names in a vector of characters and the use?
Hi,
What I would like to do is have a data.frame with column names and have
these column names stored as strings in another vector. Then I would like
to be able to access the data.fram columns via referencing the vector of
names. The code below shows the last few executions that failed to retrieve
the values for column named X1. Seth
>
2010 Dec 31
2
Class "coef.mer" into a data.frame?
Hello,
Could somebody please tell me what am I doing wrong in following?
I try extract coefficients (using arm-package) from the lmer
frunction, but I get the
following warning:
a<-data.frame(coef(res))
Error in as.data.frame.default(x[[i]], optional = TRUE,
stringsAsFactors = stringsAsFactors) :
cannot coerce class "coef.mer" into a data.fram
I think I have done it before
2009 Apr 09
5
data.fram zero's
Hi all,
A simple question which I don???t seem to be able to solve:
I want to make a data.frame of 360 rows and 94228 column with only zero???s
without having to type all these zero???s ;-)
What is the easiest method?
Thanks,
Naomi
Disclaimer: De informatie opgenomen in dit bericht (en bijlagen) kan
vertrouwelijk zijn en is uitsluitend bestemd voor
2006 Apr 26
2
help in R
Hi,
I cant understand where I am going wrong.Below is my code.I would really appreciate your help.
Thanks.
> genfile<-read.table("c:/tina/phd/bs871/hw/genfile.txt",skip=1)
>
> #read in SNP data
> snp.dat <- as.matrix(genfile)
> snp.name <- scan("c:/tina/phd/bs871/hw/genfile.txt",nline=1,what="character")
Read 100 items
2012 May 07
2
how to deduplicate records, e.g. using melt() and cast()
Esteemed UseRs,
This must be embarrassingly trivial to achieve with e.g., melt() and
cast(): deduplicating records ("pw.X" in example) for a given set of
responses ("cond.Y" in example).
Hopefully the runnable example shows clearly what i have and what i'm
trying to convert it to. But i'm just not getting it, ?cast that is! So
i'd really appreciate some ones
2010 Aug 30
2
help with dialplan
Todd
How do you have the context in the phones sip configs set?
Bryant
From: "Todd Reese" treese65 at gmail.com
Hi all,
I've been have problems with getting this system on line and would like
to acquire some help with the extensions.conf.
My current problem is that the phones won't dialout.on the VOIP lines
listed as dialout1, dialout2, dialout3. This version of asterisk