Displaying 20 results from an estimated 300 matches similar to: "FORMAT EDITING"
2013 Feb 15
2
data formatting
Dear Eliza,
Try this:
Lines1<-readLines(textConnection("1911.01.01?????? 7.87
1911.01.02?????? 9.26
1911.01.03?????? 8.06
1911.01.04?????? 8.13
1911.01.05????? 12.90
1911.02.06?????? 5.45
1911.02.07?????? 3.26
1911.03.08?????? 5.70
1911.03.09?????? 9.24
1911.04.10?????? 7.60
1911.05.11????? 14.82
1911.05.12????? 14.10
1911.06.13?????? 7.87
1911.06.14?????? 9.26
2009 Jul 29
3
Side by Side Barplot Newbie Question
Hi,
Many apologies for sending this twice. I accidentally hit the send button
before I finished writing my mail. I am new to R and I hope someone can
help me with my problem. I am trying to draw a side by side barplot.
There is a main experiment and there are many sub experiments within the
main experiment. I would like to draw a bar plot showing the number and type
of sub_experiments done for
2013 Jun 11
1
Help needed in feature extraction from two input files
Hi,
Try this:
lines1<- readLines(textConnection("gene1 or1|1234 or3|56 or4|793
gene4 or2|347
gene5 or3|23 or7|123456789"))
lines2<-readLines(textConnection(">or1|1234
ATCGGATTCAGG
>or2|347
GAACCTATCGGGGGGGGAATTTATATATTTTA
>or3|56
ATCGGAGATATAACCAATC
>or3|23
AAAATTAACAAGAGAATAGACAAAAAAA
>or4|793
ATCTCTCTCCTCTCTCTCTAAAAA
>or7|123456789
2003 Jul 11
2
troubleshooting help
Hi,
I've installed Samba and started up the processes; however, I do not see the
Samba server in Network Neighborhood. In using the DIAGNOSIS.txt file, I
cannot get past test 3: ./smbclient -U% -L localhost.
The output is as follows:
added interface ip=140.188.120.55 bcast=140.188.120.255 nmask=255.255.255.0
session setup failed: Call returned zero bytes (EOF)
Any insight into this
2013 Sep 06
2
Alignment of data sets
Hi all;
I have a data set with the format below:
Year, Day, Hour, Value
2010, 001, 0, 15.9
2010, 001, 1, 7.3
2010, 001, 2, 5.2
2010, 001, 3, 8.0
2010, 001, 4, 0.0
2010, 001, 5, 12.1
2010, 001, 6, 11.6
2010, 001, 7, 13.9
2010, 001, 8, 11.9
2010, 001, 9, 13.6
2010, 001, 10, 16.1
2010, 001, 11, 18.5
That should
2011 Feb 01
4
Fitting ELISA measurements "unknowns" to 4 parameter logistic model
Hello,
I am trying to fit my Elisa results (absorbance readings) to a standard
curve. To create the standard curve model, I performed a 4-parameter
logistic fit using the 'drc' package (ExpectedConc~Absorbance). This gave me
the following:
> FourP
A 'drc' model.
Call:
drm(formula = Response ~ Expected, data = SC, fct = LL.4())
Coefficients:
b:(Intercept) c:(Intercept)
2013 Feb 17
6
histogram
HI Elisa,
You could use ?cut()
vec1<-c(33,18,13,47,30,10,6,21,39,25,40,29,14,16,44,1,41,4,15,20,46,32,38,5,31,12,48,27,36,24,34,2,35,11,42,9,8,7,26,22,43,17,19,28,23,3,49,37,50,45)
label1<-unlist(lapply(mapply(c,lapply(seq(0,45,5),function(x) x),lapply(seq(5,50,5),function(x) x),SIMPLIFY=FALSE),function(i) paste(i[1],"<x<=",i[2],sep="")))
2013 Nov 01
2
Replace element with pattern
Hi,
I have a data frame with one column and several rows of the form.
"Peak Usage : init:2359296, used:15859328, committed:15892480,
max:50331648Current Usage : init:2359296, used:15857920,
committed:15892480, max:50331648|-------------------|"
I tested the regex
Current.*?[\|]
in an online tester which greedily matches upto the first 'pipe' character
Current
2013 Feb 19
1
data format
Hi,
Try this:
el<- read.csv("el.csv",header=TRUE,sep="\t",stringsAsFactors=FALSE)
?elsplit<- split(el,el$st)
?
datetrial<-data.frame(date1=seq.Date(as.Date("1930.1.1",format="%Y.%m.%d"),as.Date("2010.12.31",format="%Y.%m.%d"),by="day"))
elsplit1<- lapply(elsplit,function(x)
2009 Sep 25
2
synchronisation of time series data using interpolation
Readers,
I have data with different time stamps that I wish to plot (for example):
data set 1
time(hh:mm:ss),datum
01:00:00,500
01:00:15,600
01:00:30,750
01:00:45,720
01:01:00,700
01:01:15,725
01:01:30,640
01:01:45,710
data set 2
time,datum
01:00:12,20
01:01:01,55
01:01:55,22
The time interval in data set 1 does not change, but the time interval
in data set 2 does change, such that for a
2009 Jan 15
1
Seemingly Unrelated Negative Binomial (SUNB) estimation
Dear all,
I am trying to estimate a system of equations with a Seemingly Unrelated
Regression. However because of the characteristics of the data I'd like to
do it with a negative binomial estimation. Would anybody know how to
implement a Seemingly Unrelated Negative Binomial (SUNB) estimation in R?
Thank you in advance for your help.
Best regards,
Elisa Lanzi
--
Elisa Lanzi
PhD student in
2012 Oct 30
1
Amelia imputation - column grouping
Hi everybody,
I am quite new to data imputation, but I would like to use the R package '
Amelia II: A Program for Missing Data '. However, its unclear to me how
the input for amelia should look like:
I have a data frame consisting of numerous coulmns, which represent
different experimental conditions, whereby each column has 3 replicates. I
want amelia to perform an imputation across
2010 Jul 06
4
Adding two files into one and vlookup
I have two files with dates and prices in each. The number of rows in each of
them will differ. How do I create a new file which contains data from both
these files? Cbind and merge are not helpful. For cbind because the rows are
not the same replication occurs. Also if I have similar data how do I write
a vlookup kind of function? I am giving an example below:
Say Price1 file contains the
2007 Nov 14
1
graphics in cocorresp package
I'm using cocorresp package with predictive co-correspondence analysis model.
i would need to visulize inside the graphic (plot function) the sample site numbers (is it possible to consider this a "label"?).
is there any function to do this?
thanks for your help.
Elisa
Dr. Elisa Santi
Dipartimento di Scienze Ambientali "G. Sarfatti" Unità di Ricerca Biodiversità
2013 Mar 21
2
Displaying median value over the horizontal(median)line in the boxplot
Hi,
set.seed(45)
test1<-data.frame(columnA=rnorm(7,45),columnB=rnorm(7,10)) #used an example probably similar to your actual data
apply(test1,2,function(x) sprintf("%.1f",median(x)))
#columnA columnB
# "44.5"? "10.2"
par(mfrow=c(1,2))
lapply(test1,function(x) {b<-
2012 Dec 21
2
Difficulty importing data from PARI/GP
I'm trying to import a matrix created in PARI/GP into R but am having
problems.
The data in the text file has entries separated by commas but the rows
themselves are separated by semicolons rathen than being on a new line. Is
there a way to get R to recognise that ";" means start a new row ?
--
View this message in context:
2013 Apr 15
3
Indices of lowest values in matrix
Dear R users,Sorry for such a basic question. I really need to know that how can i pick the indices of 5 lowest values from each row of a matrix with dimensions 12*12??Thank you very much in advance
Elisa
[[alternative HTML version deleted]]
2013 Jan 02
4
list of matrices
dear useRs,
i have a list containing 16 matrices. i want to calculate the column mean of each of them.
i tried
>sr <- lapply(s,function(x) colMeans(x, na.rm=TRUE))
but i am getting the following error
>Error in colMeans(x, na.rm = TRUE) : 'x' must be numeric
can it be done in any other way? and why i am getting this error??
thanks in advance..
elisa
[[alternative
2013 Feb 17
1
addition in the initial question
Dear Elisa,
Try this:
vec1<-c(33,18,13,47,30,10,6,21,39,25,40,29,14,16,44,1,41,4,15,20,46,32,38,5,31,12,48,27,36,24,34,2,35,11,42,9,8,7,26,22,43,17,19,28,23,3,49,37,50,45)
vec2<-vec1[1:26]
names(vec2)<-LETTERS[1:26]
label1<-unlist(lapply(mapply(c,lapply(seq(0,45,5),function(x) x),lapply(seq(5,50,5),function(x) x),SIMPLIFY=FALSE),function(i)
2013 Apr 25
2
connecting matrices
Dear Elisa,
Try this:
el<- matrix(1:100,ncol=20)
?set.seed(25)
?el1<- matrix(sample(1:100,20,replace=TRUE),ncol=1)
In the example you showed, there were no column names.?
?list(el[,sort(el1)[1:3]],sort(el1,index.return=TRUE)$ix[1:3])
#[[1]]
?# ?? [,1] [,2] [,3]
#[1,]?? 31?? 61?? 71
#[2,]?? 32?? 62?? 72
#[3,]?? 33?? 63?? 73
#[4,]?? 34?? 64?? 74
#[5,]?? 35?? 65?? 75
#
#[[2]]
#[1] 9 5 3
A.K.