Displaying 6 results from an estimated 6 matches for "gauravkumar".
2010 Jan 20
2
R help for read.table()
...olumn as file[i,1].
file <-
read.table("data.txt",header=FALSE)
for ( i in 1:nrow(file))
{
cat(file[i,1],":")
pvalue <-
2*(1-pnorm(abs(file[i,2])))
cat(pvalue,"\n")
}
can anyone help me how to read the
first column.
regards
Gaurav Kumar
www.gauravkumar.org
PhD Student, Chemistry and Biomolecular Sciences, Macquarie , Sydney, Australia.
MS (Computational Biology), NCBS-TIFR, Bangalore, India.
[[alternative HTML version deleted]]
2011 Mar 09
1
Boxplot problem
...arplot(height=c(data[1,],data[2,],data[3,]),
beside=TRUE,
space=c(.1,1),
border="black",
col=c("blue","red") )
Please help me where i'm doing wrong or some known issue is there with boxplot.
Thanks in advance.
Gaurav Kumar
www.gauravkumar.org
PhD Student, Chemistry and Biomolecular Sciences, Macquarie , Sydney, Australia.
MS (Computational Biology), NCBS-TIFR, Bangalore, India.
[[alternative HTML version deleted]]
2009 Jul 14
2
How to provide list as an argument for the data.frame()
...ow below
# comp cell value
#1 A x1 2
#2 A x2 5
#3 A x3 2
#4 B x1 3
#5 B x2 7
#6 B x3 3
#7 C x1 4
#8 C x2 10
#9 C x3 5
Help needed as how i should provide list as a third argument to data.frame().
Thanks in advance.
Gaurav Kumar
www.gauravkumar.org
PhD Student, Chemistry and Biomolecular Sciences, Macquarie , Sydney, Australia.
MS (Computational Biology), NCBS-TIFR, Bangalore, India.
[[alternative HTML version deleted]]
2009 Dec 04
1
R igraph clusters component
Hi R-users,
I'm using igraph for an undirected graph.
i used clusters() igraph function to know the component size(subgraphs) as shown bellow:
c <-clusters(g)
# component sizes
size <- sort(c$csize, decreasing=TRUE)
cat("Top 20 cluster of the graph","\n")
for (i in 1:20)
{
cat(i," size:",size[i] ,"\n")
}
Can anyone help how to extract the
2009 Jun 29
5
Help
Hi group,
I found a module for adaptive kernel density estimation for Stata users, but unfortunetly I don't have access to Stata, can I find a similar approach using R?
Thank u so much 4 ur time.
[[alternative HTML version deleted]]
2009 Jul 09
2
How to Populate List
...n <- c(0:length(inp$comp));
myList=list();
for(i in n-1)
{
obj <-c(as.numeric(myData$A[i]),as.numeric(myData$B[i]),as.numeric(myData$C[i]));
}
Need help to know if there is any function in R to push obj to myList
Thanks in advance for your help.
regards
Gaurav Kumar
www.gauravkumar.org
PhD Student, Chemistry and Biomolecular Sciences, Macquarie , Sydney, Australia.
MS (Computational Biology), NCBS-TIFR, Bangalore, India.
--- On Thu, 9/7/09, r-help-request@r-project.org <r-help-request@r-project.org> wrote:
From: r-help-request@r-project.org <r-help-request@r-pro...