similar to: R-help, specifying the places to decimal

Displaying 20 results from an estimated 400 matches similar to: "R-help, specifying the places to decimal"

2005 Dec 09
3
R-how to group the data
Hello R - users, This may sound simple to may people: I have a list of data as follows type value y 7 y 7 y 8 y 8 y 8 y 9 y 9 y 9 y 9 y 10 y 10 y 10 y 10 y 11 y 11 y 12 y 12 y 14 y 14 y 14 y 15 y 17 y 20 y 20 y 20 y 20 y 25
2005 Dec 07
1
ploting the two sets of data side by side
Hello R-users, I am new to R-commands. I have two sets of data: x <- c(7, 7 , 8, 9, 15, 17, 18) y <- c(7, 8, 9, 15, 17, 19, 20, 20, 25, 23, 22) I have used 'cut' command to seperate them as follows a <- cut(x, breaks =c(0,5,10,20,25,30)) b <- cut(y, breaks =c(0,5,10,20,25,30)) > table(a) a (0,5] (5,10] (10,20] (20,25] (25,30] 0 4 3 0
2005 Dec 24
2
grouping data
Hello R-users/experts, I am new to R- I have a simple question: Let say I have a data set as follows temp:[file attached] the data structure is a follows: sex age female 28 female 53 female 53 female 36 male 42 male 29 male 43 male 36 male 41 Here we are grouping all male value into male and all female value in to female
2005 Dec 06
2
urgent
Hello R Users, I have two sets of values x <- c(7, 7 , 8, 9, 15, 17, 18) y <- c(7, 8, 9, 15, 17, 19, 20, 20, 25, 23, 22) I am able to create multi histogram using multhist(). But not able to control the 'xlim'. ie the xaxis is showing 7.5, 13, 18, 23 1st on what basis it is calculated 2nd I want it to be like 7 8 9 15 17 and so on Can any one help me With Regards Subhabrata
2006 Feb 10
2
Controling the x or y limit
Hello - R-experts, This may sound simple to many --- We can specify the x limit by saying xlim = c(0, 20) for example. Then the graph will show the range of x -axis between 0 - 20. But the coordinate gap will be automatic like 0 then 5 then 15 and 20. Is there any way by which we can set it in a gap of 2 or any number. Thank you for any help. With Regards Subhabrata [[alternative HTML
2005 Jun 07
3
Icecast RTP support
Hi, Does Icecast has RTP support for streaming OGG/Vorbis and OGG/theora media files? If so, then please give me some pointers on how to configure my Icecast server to listen to RTP requests. If it's not available, then is the inclusion of this feature, in plans for future release of the product? Thanks -- Subhabrata Bhattacharya
2005 Dec 26
1
grouping-R-help
Hello R-experts, I have a set of data as follows: age time 1 28 1 2 53 2 3 53 3 4 36 4 5 54 4 6 46 4 7 45 5 8 31 6 9 53 7 10 35 7 11 62 8 12 19 8 13 43 2 14 51 3 15 45 0 16 48 2 17 49 3 18 57 2 19 45 3 20 27 10 21 33 12 22 29 14 23 46 16 24 45 19 25 43 2 26 28 6 27 50 7 28 28 4
2006 Feb 16
1
R-help - Problem in drawing braplot with a huge value of data
Hello R-experts, I am facing a strange problem while creating a barplot. I have serise of data of which the first on is around 162589 while the remaining data are around 0-150. so when I am ploting the barplot with all the data I am getting a single line -> test1.jpg. But If I remove the 1st value i.e 162589 then I am getting a normal barplot -> test2.jpg Can some one help me regarding
2005 Jun 16
2
Icecast and ezstream
Hi, What is the actual functionality of ezstream when I use it with Icecast?What does it exactly do? Why isn't Icecast written to read a file directly and stream it? -- ~$ubh
2006 Mar 01
1
Scheduler Parameters
Hi, I have a naive question with the xen BVT scheduler. Supposing I have only one guest domain runnning on domain 0 and with the xm bvt command I have allocated cpu units in the ratio 9:1 to domain 0 and domain 1(say) respectively. Now I create another guest domain. How much CPU share it (or subsequent domains created after it) will get? ~$ubh _______________________________________________
2006 Jun 30
4
always show 2 decimal places
Hi, I have a float that often looks like somthing like 2003.2 in my controller (1 decimal place) Is there a way to always show it to 2 decimal places eg 2003.20 ? Thanks Scott -- Posted via http://www.ruby-forum.com/.
2013 May 21
1
How many decimal places of information does R actually use in computation?
Dear R-users: Hi, I read here ( http://stackoverflow.com/questions/2287616/controlling-digits-in-r) that R is only accurate up to the 15th decimal place, despite the fact that if you choose to display more decimal places, it will. I wonder if R uses the information beyond the 15th decimal place in actual computation. Thanks! Best, Xiao [[alternative HTML version deleted]]
2012 Oct 26
2
Number of decimal places
When estimating values ??each determined similarly, and in which get to them by algebraic operations in some cases, are rounded with 0 decimal places and in other cases with 2 or 3 decimal places. What is happening? Thank you. -- View this message in context: http://r.789695.n4.nabble.com/Number-of-decimal-places-tp4647549.html Sent from the R help mailing list archive at Nabble.com.
2010 Nov 10
2
Decimal places in a function output
An embedded and charset-unspecified text was scrubbed... Name: n?o dispon?vel URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101110/9e098a24/attachment.pl>
2006 Feb 12
1
floor and ceiling can't handle more than 15 decimal places (PR#8590)
Full_Name: Ben Phalan Version: 2.2.1 OS: Win XP Submission from: (NULL) (131.111.111.231) I have noticed that floor returns the wrong number when there are more than 15 decimal places: > floor(6.999999999999999) [1] 6 > floor(6.9999999999999999) [1] 7 There is a similar problem with ceiling, so this may apply to all/most rounding functions? > ceiling (2.000000000000001) [1] 3 >
2006 Nov 12
1
How to increase decimal places
Hello everyone, does anybody know how to increase the decimal places that R uses to calculate something. I think that in default R uses 6 decimal places but I need 12. Thank you very much! Best regards, Maja! --
2010 Jul 29
1
Different decimal places in a matrix
Hi! I have a ftable object in which some row contains integers and some other contains a percentage that I would like to show with two digits after the dot. I tried something like ftblP[index,] = as.character(round(ftblP[index, ], 2)) where the index vector contains the number of the rows containing a percentage. My workaround works but it shows all numbers aligned to left, while I prefer that
2011 Jan 26
2
write.table -- maintain decimal places
Hello, All, How can I maintain the decimal places when using write.table()? Jim e.g. df: EFFECT2 PVALUE 1 0.023 0.88080 2 -0.260 0.08641 3 -0.114 0.45200 write.table(df,file='df.txt',quote=F,sep='\t',row.names=F) df.txt: EFFECT2 PVALUE 0.023 0.8808 -0.26 0.08641 -0.114 0.452 [[alternative HTML version deleted]]
2012 Nov 18
1
Decimal places
I am a beginner in programmin in general and R specifically. I would like to generate a set of random numbers in a normal distribution but to limit the decimal places in these numbers to only 2. I have been using x1 <- runif(1,0,1) to generate my numbers. Can I add something to it to enable me to only get results rounded off to 6 decimal places? -- View this message in context:
2013 Mar 07
1
How to export data with defined decimal places
Hi all mailing listers, I want to export data with specified precision into .txt file. How can I make it? See below sprintf("%.10f",pi) [1] "3.1415926536" when carry out write.matrix(pi,"pi.txt"), 3.141592653589793115998 in pi.txt file not with 10 decimal places like using sprintf("%.10f",pi) Thanks Marino [[alternative HTML version deleted]]