Displaying 20 results from an estimated 140 matches similar to: "draw points in R"
2005 Nov 13
1
selection of missing data
Hi i'm a french medical student,
i have some data that i import from excel. My colomn of the datafram
are the localisations of metastasis. If there is a metatsasis there is
the symbol "_". i want to exclude the row without metastasis wich
represent the NA data.
so, i wrote this
mela is the data fram
mela1=ifelse(mela[,c(11:12,14:21,23,24)]=="_",1,0) # selection of the
2012 Feb 18
2
transforming a data frame to matrix
Hello
> orderulcount
Group.1 Group.2 Group.3 x V5
7 C L 0.0 30 C / L
19 C L 0.2 27 C / L
31 C L 0.4 15 C / L
43 C L 0.6 7 C / L
54 C L 0.8 2 C / L
10 C S 0.0 27 C / S
22 C S 0.2 10 C / S
34 C S 0.4 6 C / S
46 C S 0.6 1 C / S
1 D
2012 May 14
3
Add column from other columns data.
Hi everyone,
I am having some problems with making a new colomn wit data in it.
I have this one column named: Fulfilled
Fulfilled
1
1
0
1
1
1
1
0
0
1
And now I would like to add another colum to my .csv file ("Finished")
In this "Finished" column I would like to have "Yes" or "No".
Where in colomn "Fullfilled" is a 1, "Finished"
2006 Aug 04
2
Data frame referencing?
Dear R users,
When you do:
> x <- rnorm(10)
> y <- rnorm(10)
> z <- rnorm(10)
> a <- data.frame(x,y,z)
> a$x
[1] 1.37821893 0.21152756 -0.55453182 -2.10426048 -0.08967880 0.03712110
[7] -0.80592149 0.07413450 0.15557671 1.22165341
Why does this not work:
> a[a$y>0.5,y] <-1
Error in "[<-.data.frame"(`*tmp*`, a$y > 0.5, y, value = 1) :
2006 Mar 14
2
Date problem
Hello,
I have some "stupid" problems managing "date" data.
I have a colomn "date", which I converted from a character representation:
for example:
a="26/02/06"
date=strptime(a,format="%d/%m/%y")
For one part of the analysis, I'm interested only in the month and the
year, so I did:
m.y=strftime(date,format="%m/%y")
This returns me
2011 Sep 17
1
Replacing matching values by related values
I am trying to replace values of a vector (consisting of 15 values) by a value that is related to a matching value in a dataset (consisting of 17 rows).
Here's an example
The vector:
v <- c(f,a,e,d,m,o,e,f,i,n,e,i,b,a,o)
The dataset's columns consist of the following values
d[,1] <- c(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)
d[,2] <- 1:17
So I want to end up with a vector that
2002 Sep 23
3
Newbie: Subsets of data frame
I feel a bit embarassed by this, but I have not managed to find out how:
I have a data frame containing measurements over time for a number of
different locations:
> str(milk)
`data.frame': 845 obs. of 3 variables:
$ date : num 1987 1987 1987 1987 1987 ...
$ value : num 5 1 2 5 1 1 2 3 2 4 ...
$ location: Factor w/ 36 levels "Alta","And?y",..: 1 1 1 1 1 1
2007 Dec 12
2
Need good Reference Material and Reading about Gaussian Copulas
Can anyone advise me on some pratical papers or books
On Gaussian Copulas? Anything in the genre of Copulas Dummies
Would be a help.
As simpe, and approachable with minimal pedantic style.
Thanks,
Neil
--------------------------------------------------------
This information is being sent at the recipient's reques...{{dropped:16}}
2006 Nov 10
2
Searching for pyvorbis docs
Hello everybody!
I'am just leaning Python and wanted to write something useful for me, an
recursive masstagger for ogg-vorbis files.
My script uses pyvorbis 1.3 from the Debian testing tree. so far here is
my Problem:
The pyvorbis bindings aren't documented. As i understand the pyvorbis
package, this is a simpe 1:1 mapping to libvorbis.
dir(pyvorbins-oject) gives me an refernece to an
2017 Mar 06
3
Missing security tab samba 4.1.13
Am 06.03.2017 um 14:56 schrieb Bart Coninckx via samba:
>>> missed that - but must be the case because he refers to RHEL7/CentOS7
>>> which ships with 4.4.4 and not 4.1.x - anyways, the tree brelow the
>>> install prefix is the same and the main part of the coniguration
>>> lives below the lib folder whereever it is located and so the point
>>> was just
2016 May 25
3
Sending Calls via SIP trunk from several different IP addresses from same Asterisk Machine, to the same destination IP
Hi!
I would like to reopen a discussion that I saw a couple of years ago, with the subject "Sending Calls via SIP trunk from two different IP addresses from same Asterisk Machine"
The use case is simpe: There are providers that want to see a separate source IP address for each of their customers SIP trunks. Now, if we have an asterisk box with several customers, we have a problem.
2011 Oct 17
1
multiple lines with the same data frame?
Bonjour
I have this data frame and I am newbie in R.
I want to ask if it is possible to draw 10 lines in a plot such that: a line
for every colomn, the x - axis is the second column and the y-axis is the
third one.
Thank you for any input
1 0 1094442
1 0.2 1163576.2
1 0.4 1238539.6
1 0.6 1303510.4
1 0.8 1376573.2
1 1 1454175
2 0 1076068
2 0.2 1139246
2 0.4 1212344
2
2003 Jul 09
0
model selection in lme when corARMA is assumed
I have a data analysis job for which lme may be used. Prof. Spencer Graves had helped me much on that. I'm really appreciated for that. Could anybody else in the list give me some hints from other perspectives? I hope I can learn as much as possible for this complicated real data.
Thanks in advance.
Hanhan
To briefly describe my data: My data is health effect measurements (y) and personal
2007 Dec 25
2
Simple File I/O benchmark tool for NT clients
Hi,
I need a simple tool for benchmarking my NT client against my Ubuntu Samba server.
I get 20MB/s during a file copy but I think my limit is the client's hard disk.
Dose anyone know a simple exe tool which simulate file I/O agains the Samba server.
I like to avoid using my lokal disk during the test.
Have looked around but can't find a simpe tool which dose the job without the
need of
2011 Mar 10
2
sum of variables in function
Dear R users,
Probably, this is quite a simpe question, but I do not find the proper way
to obtain want I need. To explain the problem, I constructed a simple
example.
Suppose I have the following function:
try1<-function(x){
y<-x[1:2]
z<-x[3:4]
y[1]*(z[1]+z[2])+y[2]*(z[1]+z[2])
}
This function will be part of a for loop. This is what I like to obtain for
every k:
if k=2
1999 Jul 15
0
attaching directories in R?
Hi!
I'm trying to use R. In S+ I use to have different projects
in different directories. To make
the functions and other objects
from a directory available
and to use that directory as default,
I just do:
attach(directory, pos = 1)
where directory is, for example,
"/home/alobo/S/bolivia1"
Acutually, I have a simpe function
(work) to do this:
> work
function(directorio)
{
2019 Oct 31
1
dovecot and ldap
Hi
Sorry for my question...
I use dovecot+ldap
How realy works (in dovecot-2.2.x ) lists of LDAP hosts to use ?
------ dovecot.conf ----
hosts = ldap.domain.pl:389 ldap-slave.domain.pl:389
#uris =
--------
This is simpe HA ? I mean if ldap.domain.pl have problem another request
go to ldap-slave.domain.pl ?
2011 Feb 01
1
multi-Operations on a matrix
Hello everybody.
I have this object
procedure property sensor_data sensor_date
1 S_10 nord 626821.0 2002-09-30T00:00:00+0200
2 S_10 nord 626821.0 2002-12-05T00:00:00+0100
3 S_10 nord 626821.1 2008-07-31T00:00:00+0200
4 S_1000 nord 626496.8 2002-09-30T00:00:00+0200
5 S_1000 nord 626496.8 2002-12-05T00:00:00+0100
6 S_1000
2012 Mar 27
1
matrix(unlist(strsplit(""))) 'missing value' issue
*I'm still a R noob, just had a couple of lectures about it in our research
master.
There is a Deal or no deal experiment where I have to write some code for.
Someone wrote a website to gather the data and write it in a .xlsx file.
These are seperate files for seperate participants so first I have to import
the seperate datafiles. I do that like this:
# Merge the xlsx files into one dataframe
2010 Jan 22
3
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
Hello All
I 'm studing LLVM/Clang and trying to follow the Kaleidoscope tutorial
(Release 2.6 version).
I found some minir docu-bugs and added them to Bugzilla.
However, Now I found a show-stopper for me, the toy (v4) demo does
build, but does crash, on any input. Even a simpe ';'!
Looking into the (demo-code) found the that the JIT can't be build/
created,/loaded/...
Which