Displaying 20 results from an estimated 2000 matches similar to: "drop a letter"
2007 May 16
2
use mathematics formula
hello,
I wanna use some mathematics formula and to do this I tried several way in paricular using
strsplit
textconnection
scan
setdiff
but I think that it's a lil hard
the data frame that I'm working on is as follow
> donCalcara2
Id_Cara Form_C
1 743
2007 May 15
3
textConnection
hello,
I don't understand what's happen just before the textConnection function runs good but now it doesn't run
> Line[1]
[1] "if C325=. then C743=(C152/C103)*100| else C743=(C152/C325)*100"
> textConnection(Line[1])
Erreur dans textConnection(Line[1]) : toutes les connexions sont utilisées
why R display that?
2007 May 14
1
program to recognize words
hello,
I need help because for my training I need to write a lil program which is able to read a line of character and it would recognize words
for example for this line of character
if C325=. then C743=(C152/C103)*100| else C743=(C152/C325)*100
the program will be able to recognize the IF ELSE syntaxe and the equations
thanks
2007 May 22
1
translate SAS code
good morning,
I have some SAS code to translate in R code and when I export data from Excel to R I have to read formula writed as follow
C604=(C181/S181)*(100-C182)*(100/85)
or
if C325=. then C740=(C346/C103)*100| else C740=(C346/C325)*100
I find some difficulties to write a good program to read and calculate these formulas
there are several kinds of formulas there are with conditional and
2013 Feb 13
5
spearman correlation and p-value as a matrix
I have two data matrices that I want to make the correlation between each column from data1 and each column from data 2 and also calculate the p-value Matrices dont have the same size and I tried such a script.
> bg <- read.table (file.choose(), header=T, row.names)
> bg
> Otu00022 Otu00029 Otu00039 Otu00042 Otu00101 Otu00105 Otu00125 Otu00131 Otu00137 Otu00155 Otu00158 Otu00172
2005 Jun 23
7
where s filtering done?
hello,
I am trying to find where filtering is done in order to drop packets
randomly there (eg.10%of them) for a testing purpose in a school
project.
I want to do this after packet is filtered and before being sent. I d
aprreciate if you could help or suggest.
Thanks.
2010 Sep 30
4
interactive session
Hi guys,
My concern is to create an automated process from the beginning to the end. I
want to copy all my code together in one piece and paste it to R console and sit
back and relax :) except one moment in which the program should ask me to enter
a number.. and only then (only after getting a valid number from me) it should
continue to read and process the rest of the code. I tried lots of
2013 Feb 12
3
subsetting data file by intoducing a second file
Hello,
I have a very data matrix and I have a file which has the names that I need to subset. However I cannot manage to subset the main file. ANy idea?
bg <- read.table (file.choose(), header=T, row.names)
bg
Otu00022 Otu00029 Otu00039 Otu00042 Otu00101 Otu00105 Otu00125 Otu00131 Otu00137 Otu00155 Otu00158 Otu00172 Otu00181 Otu00185 Otu00190 Otu00209 Otu00218
Gi20Jun11 0.001217
2013 Apr 30
1
vegan -varpart is bigger than 100% in total?
I am trying to find the percentage of the parameters explaining the bacterial community composition. I have one data matrix with relative abundance of OTUs and one with environmental parameters. I used varpart in vegan package but the values in the venn diagram is bigger than 100% in total.How is it possible? What might be the reason? Thank you
library(vegan)
gotud <-
2009 Feb 27
4
Optimize for loop / find last record for each person
I want to find the last record for each person_id in a data frame
(from a SQL database) ordered by date. Is there a better way than
this for loop?
for (i in 2:length(history[,1])) {
if (history[i, "person_id"] == history[i - 1, "person_id"])
history[i, "order"] = history[i - 1, "order"] + 1 # same person
else
history[i,
2013 Feb 05
1
plot significant spearman correlation
Hello,
I calculate the correlation between two matrices cor(x,y, method="spearman")
and I am wondering if it possible to see only the significant correlations. I can do that for single OTUs with cor.test() command but I would like to have an output for whole matrix. Besides,I would like to plot the relative abundance of each OTU, against the number of significant pair-wise correlations
2015 Jun 16
3
Virtualization
ESX(i) 6 and vCloud Air. At home, KVM and Vagrant.
On Tue, Jun 16, 2015 at 10:46 AM, Numan Fatih YARCI <
fatih.yarci at linux.org.tr> wrote:
> KVM - Vagrant - Docker :)
>
> On Tue, 16 Jun 2015 at 17:41 Alessandro Baggi <alessandro.baggi at gmail.com>
> wrote:
>
> > Hi list,
> > what solution do you use for virtualizzation?
> >
> > thanks in
2006 Jan 09
3
Design Question
I am sure some of you can give me an insight into this. This is more
towards the database design for the scenario below:
Say for example,
I have a person table and this person can have different address types.
One could be Home and the other could be say Office.
Should be model this
Table people
id
fname
lname
Table addresses
id
person_id
addr1
addr2
....
or
Table people
id
fname
lname
2005 May 26
2
Leaky bucket in TC
Hi,
I am trying to control bandwidths of the connections by using TC with
HTB. But I want to implement Leaky Bucket on this structure so as to
have a straight flow.
Due to being new in this area, could anyone help me how I could do this?
Does TC support leaky bucket?
Best regards,
Fatih Duzova
2005 May 28
2
bandwidth control on htb
Hi,
I implemented queues on some ports with htb by filtering. and to have
a constant bw, i defined rate and ceil the same. But while watching
the bw''s, I ve realized they may sometimes exceed the defined value
for short periods. How could I avoid this situation? I thought that
implementing a leaky bucket''d be fine but i m not sure about this and
how to do it on tc.
I would be
2006 May 26
3
Breakdowns in has_many abstraction
I discovered an interesting aspect of has_many behavior that I''m
struggling to work around. I''m not sure if I''m doing something wrong,
or if it''s a legitimate bug, or if it''s an inherent part of Rails that
I just have to learn to deal with.
It boils down to these two problems:
- changes in collection objects (i.e. models that belong_to a
container
2013 May 03
1
MANOVA summary.manova(m) :" residuals have rank"
Dear All, I am trying to perform MANOVA. I have table with 504 columns(species) and 36 rows) with two grouping (season and location)
Zx <- Z[c(4:504)]
Zxm <- as.matrix(Z)
m<- manova(Zxm~Season*location, data=Z)
when I do summary.aov, I get respond for each species but summary.manova
summary.manova(m) :" residuals have rank" 24<501.
What can it be the reason for this error
2013 Jan 18
1
ggplot zoomin
Dear All,
I am plotting a graph in ggplot, I would like to magnify the values between 0-1 without losing data in the higher range. How can I do that? neither scale_y_continous nor coord_cartesian works.
Thank you
?zg?l
Universit? Libre de Bruxelles
2006 Apr 17
1
database design Q
I am in the middle of setting up mysql database for my RoR application.
and here is some questions in my mind hope you can help.
1. this is a photoblog story telling like system, where people can creat
their own groups
the database tables are: people, groups, articls, pictures
People to Groups are many-to-many relationships
People to Articles are one-to-many
Group to Articles are one-to-many
2010 Nov 02
7
Testing attr_accessible (and/or attr_protected)
I''ve been puzzling over how to test that attr_accessible has been set
for the correct columns; but the tests I''ve come up with so far seem
to fail to fail when I expect. I came across this old message from
this list:
http://www.mail-archive.com/rspec-users at rubyforge.org/msg01570.html
Which seemed like a plausible example, but my attempt (modeled on the
example)