Displaying 20 results from an estimated 2000 matches similar to: "convert factors to numbers"
2009 Mar 18
2
run r scripts (tinn) via command
Hello, I am working on a project consisting of several r-scripts written in
the tinn editor. Is it possible to create a superior r script containing
commands to run the sub-scripts one by one?
-----
Tamara Hoebinger
University of Vienna
--
View this message in context: http://www.nabble.com/run-r-scripts-%28tinn%29-via-command-tp22580362p22580362.html
Sent from the R help mailing list archive
2008 Nov 23
1
tklistbox - R-Objekt
Hello, I have a problem with a tklistbox. The user should be able to choose
one out of two calculation methods needed for further calculations. My
r-script for that purpose looks like that:
require(tcltk)
tt<-tktoplevel()
tl<-tklistbox(tt,height=4,selectmode="single",background="white")
tkgrid(tklabel(tt,text="select method for LAI
2009 Mar 31
1
Convert date to integer
Hello, I have a dataframe containing dates, times and other parameters. The
times have the format "h:m", e.g. 13:00 or 5:30, R classes them as factors.
I want to change the times to integers e.g. 13:00 -> 1300. I tried to use
"chron" to create a chronological object, but it didn't work for the times
(yust for the dates).
-----
Tamara Hoebinger
University of Vienna
--
2010 Oct 28
2
times
Hi! I have an input table with a column "Dates" in the format
"month/day/year" (eg. "5/11/1999" and a column "Times" in the format
"hours/minutes" (eg. "15:20"). In R I need to convert them into chron
objects to extract colums only containing months, days, minutes, ..
For the dates it is no problem if I write:
2008 Aug 11
1
Problems connecting to remote rsync daemon
This is a newbie question. I've looked through the archives and
haven't found an answer to this.
I set up rsync in inetd.conf to respond on request. When I give a
remote request to the machine, I get the following error:
paladin:~ tamara$ rsync -avr /Volumes/Music/Pictures/ rsync://
tamara@server/Pictures/
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
2009 Jan 26
2
Getting data from a PDF-file into R
Hello
I have around 200 PDF-documents, containing data i want organized in R as a
dataframe. The PDF-documents look like this;
http://www.nabble.com/file/p21667074/PRRS-billede%2Bmed%2Bfarver.jpeg
or like this;
http://www.nabble.com/file/p21667074/PRRS-billede%2Bmed%2Bfarver%2B2.jpeg
So i want to pull out the data in coloured boxes it become organized like
this (just in R instead of
2009 Dec 01
4
median for time data
Hi everybody
How do I do to calculate the median and average of a colum of time data like
this: "8:50:10". I also need to plot the time difference between two colums
Thanks a lot
--
View this message in context: http://n4.nabble.com/median-for-time-data-tp932287p932287.html
Sent from the R help mailing list archive at Nabble.com.
2012 Jul 04
2
problem with quilt.plot
HI to you all!
I have problem with quilt.plot....this is the code:
quilt.plot(long_gridded,lat_gridded,d18O_gridded,nrow=n,ncol=m,xaxt='n',yaxt='n',xlab=NA, ylab=NA,breaks=seq(d18O_gridded_1,d18O_gridded_2,length.out=number_colors),col=col,horizontal=FALSE,nlevel=number_colors - 1,legend.args=list(quote(delta^18*O~("‰")),col="black",cex=0.8,side=3,line=1))
2012 Aug 08
3
help, please! matrix operations inside 3 nested loops
hello, this is my script:
#1) read in data:
daten<-read.table('K:/Analysen/STRUCTURE/input_STRUCTURE_tab_excl_5_282_559.txt',
header=TRUE, sep="\t")
daten<-as.matrix(daten)
#2) create empty matrix:
indxind<-matrix(nrow=617, ncol=617)
indxind[1:20,1:19]
#3) compare cells to each other, score:
for (s in 3:34) { #walks though the matrix colum by colum, starting at
2009 Nov 04
1
Search values and create a new matrix
Hi
You wrotte me in R help and I´m very gratefull.
I couldn´t reply because an illness.
I writte this to see if you can help to solve. I´m a begginer (I´m 20 years
old ) but I´m trying to learn more about this program also I´m learning
Octave.
I need to create a matrix in R whose values depends on the values of other
matrix. You see:
I have a first "R" matrix whose first row and
2007 Jun 20
1
extending package with function calling an Objective Caml program
Hallo,
we are trying to extend the R package multcompView in agreement with
the author Hans-Peter Piepho. The function multcompLetters implements
so far a heuristic. We would like to add a function that implements
an exact algorithm and returns a provable optimum result. This
algorithm has been implemented in Objective Caml and we would like to
reuse this code. We wrote an R function
2011 Mar 30
1
CDR Mysql adaptive Colum
Hello folks, i installed asterisk 1.8 from repo:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages
And Looked at this article about CDR in mysl.
http://www.voip-info.org/wiki/view/Asterisk+cdr+mysql
I installed asterisk-mysql pacakge from debian repo.
The cdr in mysql is working, but i can not get cdr adaptive colums are not,
i use this in my extension.conf
exten =>
2005 Nov 24
4
write.csv
hallo,
i have a problem by writing a csv file
the first colum is filled with index numbers from 1 to n.
i have to unique two csv files once a week while one file is always the
same.
can anybody tell me, how to write the dataset into a csv file without the
first row of the indexnumbers.
x[,-1] does not wok as it eliminates the first "interesting" colum.
col.names is not accepted by r
2010 Oct 04
2
Combinations
Hi all,
I´ve been ill and I have lost a lot of time without seen the pc.
I want you to help if you can if you want.
Only I need an initial guide. I´ve been out a lot of time and I need a hope.
Is only for "joby" purposes.
The problem:
I want to simulate each of the posible combination in a play. Imagine they
play to games (football games) and you can choose "1",
2010 Oct 15
4
Set value if else...
Hi
I want to set a variable to either 1 or 0 depending on an value of a
dataframe and then add this as a colum to the dataframe.
This could be done with a loop but as we are able to do questions on a
complete row or colum without a loop it would be sweet if it could be done.
for example:
table:
Name Age
Joel 24
agust 17
maja 40
and so on...
And what I want to do is a command that
2009 Jun 03
2
how can I ordinal regression??
What function and package I use to conduct ordinal regression??
My data is composed 2colums and 180rows.
The first colum indicate level of mass and second colum is intensity.
So, I want to calculate how much intensity are related mass.
[[alternative HTML version deleted]]
2016 Aug 10
2
Asterisk & Vitelity Invite issues
On 8/9/16 12:40 PM, Matt Fredrickson wrote:
> On Mon, Aug 8, 2016 at 9:25 AM, Tammy Firefly <tammy-lists at wiztech.biz> wrote:
>> Hi All,
>>
>> We have asterisk 11.23 running sip to vitelity and from there IAX trunks
>> split off to where they need to go. We are having a problem getting
>> chan_sip to quit ignoring re-invites from Vitelity. Our side ends
2009 Jul 27
2
pairs plot
Hi all,
I want to plot trough pairs() plot a matrix with 4 columns. I want to make a
trhee plot in a graph. Plotting pairs colum 2,3,4 on y axis and 1 on X axis.
You mean (a plot with three graphs) ommitting the first pair with itself.
And only the pairs with colum 1 with the other not all pairs.
I. e. this matrix
4177 289390 8740 17220
3907 301510 8530 17550
3975 316970 8640 17650
3651 364220
2008 Aug 19
1
generating and using ssh keys with rsync
I'm having troubles generating and using keys with rsync over ssh. The
server I'm backing up to has a different name and IP internally than
is seen by the external source machine running rsync. How do I set up
the keys in this case?
tamara
2009 Jun 25
1
lm
Hi all,
I want to make multiple least squares estimation on two matrix (without
intercept)
imagine matrix "a" and matrix "b", I want to "regress" each colum on matrix
"a" (dependent variable) on each column of matrix b, I mean, regress first
colum on a to first column on b. Second column on a to second column on b.
Imagine "a" and "b"