similar to: Multiline and grouping in R

Displaying 20 results from an estimated 5000 matches similar to: "Multiline and grouping in R"

2010 Jul 26
3
Cluster analysis
Hi all, I have no idea if this question is to easy to be answered, but I?m starting with R. So, here we go. I have a large dataset with a lot of steps a judicial case. A sample is attached. I?d like to do a cluster analysis to try to understand with one is the most usual path followed by this legal cases. After that, I?d like to plot a cluster tree. In the attached sample, the column: -
2009 Mar 07
2
piecewise linear regression
Hi - I'd like to construct and plot the percents by year in a small data set (d) that has values between 1988 and 2007. I'd like to have a breakpoint (buy no discontinuity) at 1996. Is there a better way to do this than in the code below? > d year percent se 1 1988 30.6 0.32 2 1989 31.5 0.31 3 1990 30.9 0.30 4 1991 30.6 0.28 5 1992 29.3 0.25 6 1994 30.3
2012 Sep 02
3
Loading Chess Data
All, What would be the most efficient way to load the data at the following address into a dataframe? http://ratings.fide.com/top.phtml?list=men Thanks, David -- View this message in context: http://r.789695.n4.nabble.com/Loading-Chess-Data-tp4642006.html Sent from the R help mailing list archive at Nabble.com.
2010 Aug 03
5
The condition has length > 1 and only the first element will be used
Hi All, I'm trying to run the following script in R, but I'm getting a warning saying: Warning message: In if (z < 0) { : the condition has length > 1 and only the first element will be used As you can see, I'm sending a vector x to the function f without any problem. The function f calculates the y value for each x. But the function f needs to convert the x to positive
2010 Jul 29
1
Pattern recognition
Dear all, I'm trying to use some technic to do a pattern recognition over a large dataset. I really don't have any idea on how to do that using R. Here is a sample of the data: id,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 1480010,208,69,180,465,465,241,241,69,584,26,75,578,507,75,284 1480183,208,69,352,476,531,495,163,241,69,584,69,584,69,484,69
2010 Aug 18
1
Plot in cartesian plane
Hi all, I'm trying to plot this two curves in a single cartesian plane, but when I plot the first one, the plot appears with no negative "y" value. When I plot the second curve, it almost does not apear in the graph. I was trying the plot.window but with no success. Can someone help me with this? If possible, I'd like to plot this curves in a perfect cartesian plane. f =
2004 Sep 22
3
Optus Australia Multiline SHDSL service
Hi, I am currently trying to find a replacement for a dinosaur PBX and want to replace it with a VoIP solution. We have just moved our lines over to an Optus Multiline from a Telstra ISDN Onramp 30 service with 100 lines. My question for you good people is what sort of hardware do I need to interface Asterix into the Optus Multiline? The Optus service is terminated in my office to a SHDSL
2010 Feb 14
4
Feature Request: Multiline Comments
Hello, Is it possible to extend the R lexer/parser to include multiline comments like /* acomment */ ? This way I can integrate emacs org-mode with my R code, so that I can have a table of contents, section folding, html-output of source etc. e.g /* * Display Code */ #+BEGIN_SRC R foo <- function(...){ stuff } #+end_src and so on . Thanks Saptarshi
2013 Feb 27
1
lattice xyplot point labelling
This is my reproducible example tv.ms<-structure(list(inq = structure(4:17, .Label = c("D4", "D5", "D6a", "D6b", "D6c", "D7", "D8", "F4", "F5a", "F5b", "F6a", "F6b", "F6c", "F6d", "F7a", "F7b", "F8"), class =
2011 Jun 01
2
lattice panel fine control
Hello R experts, what follows is my reproducible example: mydata<-structure(list(ped.avg = c(335.9, 110.8, 645.7, 638.9, 1468.1, 126.4, 4811.1, 88.5, 868.5, 656.6, 723.6, 654, 2.8, 15, 14.2, 17.5, 15.4, 112.1, 424.7, 18.3, 19.9, 28.6, 25.6, 23.5, 15.4, 27, 62.1, 15.6, 74.6), ped.erst = c(96, 53.2, 615.2, 616.5, 512.9, 56.2, 1851.8, 57.1, 579.5, 613.2, 601.1, 613.6, 1.3, 6.3, 6.5, 6.1,
2005 Jul 06
3
plotting on a reverse log scale
I'd like to do some plots of historical event data on a reverse log scale, started, say at the year 2000 and going backwards in time, with tick marks spaced according to log(2000-year). For example, see: http://euclid.psych.yorku.ca/SCS/Gallery/images/log-timeline.gif As an example, I'd like to create a density plot of such data with the horizontal axis reverse-logged, a
2010 Jul 01
2
Plot map Brazil and documentation
Dear all, I'm trying to plot some data over a geographic map. I'm reading the documentation (?map)... The problem is here: *map(database = "world", regions = ".", exact = FALSE, boundary = TRUE,* * interior = TRUE, projection = "", parameters = NULL, orientation = NULL,* * fill = FALSE, col = 1, plot = TRUE, add = FALSE, namesonly = FALSE,* * xlim =
2006 Aug 17
3
[MARKABY] Multiline text?
Anybody know if it''s possible to have multiline text in Markaby without resorting to a bunch of text statements or putting the text block in another file and using render :file ? I need to add chunks of HTMLized javascript to my templates. Joe -- Posted via http://www.ruby-forum.com/.
2006 Oct 18
2
multiline string continuation
Dear R experts, I wonder how can one input a string variable in multiple lines in a R script. I've seen solution to the command line continuation in the non-string situation (just continute at the new line). However, that doesn't work for strings because the new line character, "\n", is included in the resultant string. For example, if I type the following in a script:
2004 Sep 06
3
multiline IP hardphone w/ FDX speakerphone?
Could someone please recommend a reasonably priced IP phone that works well with *, has a decent (full duplex, echo canceling) speakerphone, has at least two line appearances, and can transfer / conference reliably? The Wiki lists 35 brands of hardphone, but: 1. Most seem to be toys. 2. For many, there is no info on e.g. speakerphone characteristics. 3. When one seems technically promising, e.g.
2006 Nov 23
1
how to loop this?
Hi, I have the next procedure: t1<-data.frame(table(substr(names(subset(lasker[[1]], lasker[[1]] >= 4)), 1, 7))) t1[1:5,] Var1 Freq 1 1988-02 3 2 1988-03 1 3 1988-04 1 4 1988-05 2 5 1988-06 3 How to make a new list?, dataframe? having 189 elements in the 'lasker' list: > str(lasker[[1]]) 'table' int [, 1:1274] 1 1 3 2 1 5 4 1 1 4 ... -
2006 Nov 22
3
dataframe manipulation
Hi, Having a dataframe 'l1' (dput output is below): >dim(l1) 1274 2 >l1[1:12,] Var1 Freq 1 1988-01-13 1 2 1988-01-16 1 3 1988-01-20 3 4 1988-01-25 2 5 1988-01-30 1 6 1988-02-01 5 7 1988-02-08 4 8 1988-02-14 1 9 1988-02-16 1 10 1988-02-18 4 11 1988-02-24 2 12 1988-03-04 1 I want to extract the times
2011 Aug 31
2
Entering Multiline Commands With ESS
If there's a separate ESS user mail list, please point me to it. I'm using emacs with ESS and want to enter multiline commands for plots. Examples in my reference books show each line terminating with a comma so labels and other attributes can be specified for the plot before it is submitted for rendering. When I try to do this, however, I get an error: > boxplot(chemdata$quant ~
2006 Nov 26
1
adding elemens to a list
Hi, I have a list of 20 elements, each of them of variable length and with a structure like this: lasker[[1]][1:10,] Var1 Freq 1 1988-02 3 2 1988-03 1 3 1988-04 1 4 1988-05 2 5 1988-06 3 6 1988-07 1 7 1988-08 1 8 1988-09 1 9 1989-03 1 10 1989-04 1 How do I can insert in this list: 1988-01 0 1988-10 0 1988-11 0 1988-12 0 1989-01 0
2009 Jun 30
2
Sweave: multiline Sexpr?
Is there any way to have Sexpr span multiple lines? -- David ? ----------------------------------------------------- David Huffer, Ph.D. Senior Statistician CSOSA/Washington, DC david.huffer at csosa.gov -----------------------------------------------------