Thanks all you guys' help!
--
View this message in context:
http://r.789695.n4.nabble.com/read-table-with-numeric-row-names-tp4636342p4636446.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://sta
Thanks Yasir, this helps a lot.
BTW, is there an R command to read just the first line of the file?
Yasir Kaheil wrote
>
> just do this:
> colnames(r)<-substr(colnames(r),2,nchar(colnames(r)))
>
> This will remove the X.
> Later when you want to use the headed to plot something, cast it as
> n
Thanks, but I don't want to specify the column names by hand, since I have a
lot of similar files.
arun kirshna wrote
>
> Hi,
>
> Try this:
>
> dat1<-read.table(text="
> 2.5 3.6 7.1 7.9
> 100 3 4 2 3
> 200 3.1 4 3 3
> 300 2.2 3.3 2 4
> ",sep="",header=TR
I have a text file like this
2.5 3.6 7.1 7.9
100 3 4 2 3
200 3.1 4 3 3
300 2.2 3.3 2 4
I used "r <- read.table("a.txt", header=T)"
The row names becomes X2.5, X3.6... What I need is the row names are
numeric, so I can use the row names as number
Thank you very much
--
View this message in context:
http://r.789695.n4.nabble.com/ploting-dots-with-quantiles-tp2260087p2260916.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/ma
http://r.789695.n4.nabble.com/file/n2260087/%E6%8D%95%E8%8E%B7.png
I am going to plot my data set like this, with means and 25% & 75%
quentiles.
I've tried "boxplot", but the output is not what I want. Should I use other
functions? Thanks
--
View this message in context:
http://r.789695.n4.n
I'm a beginner of R.
I can use runif() to generate uniformly distributed numbers, but I don't
know which function can generate uniformly distributed random integers, or
what kind of method?
Thanks!
--
View this message in context:
http://www.nabble.com/how-to-generate-uniformly-distrib
7 matches
Mail list logo