similar to: R 1.8.1 - 1.9.0 incompatability: Underscore in syntactically valid names

Displaying 20 results from an estimated 3000 matches similar to: "R 1.8.1 - 1.9.0 incompatability: Underscore in syntactically valid names"

2003 Jan 15
2
[lattice] lines for stripplot (like dotplot) or jitter for dotplot?
I'd like to use stripplot for some plots because I want to use the jitter parameter. On the other hand, I'd like to use dotplot because I'd like to have the horizontal lines that it includes. dotplot doesn't have a jitter option and I'm not having any success with getting panel.grid(h=-1) with stripplot. Can anyone show me how to make dotplot-like lines on a stripplot? Or
2003 Mar 06
2
question about model formula
Dear R Gang, I'm interested in using R and the nls package for fitting kinetic models. I'm having some difficulty getting a model specified for nls though. The math for the model that I want to fit is dg(t)/dt = K1 f(t) - k2 g(t) where g(t) and f(t) are measured data at a sequence of times t. K1 and k2 are the parameters of the model. If I solve this, the solution is g(t) = K1
2002 May 28
2
histogramming dates
I'd like to make a plot showing frequency of an event. The data is in a data from that includes Year, Month and Day (of month) fields, so I created a Date with ISOdate(Year, Month, Day, tz=''). I can plot frequencies for the year 2002 with > thisyear <- Date[Year==2002] > hist( thisyear, xaxt='n' ) > axis.POSIXct( 1, at=seq(min(thisyear), max(thisyear),
2002 Jun 27
1
lattice and dates (correcting e-mail formatting glitch - sorry!!)
Hi I'm fairly new to R and the list, so please take what I say accordingly! Far as I can see, strptime gives you a string in some specified format. In order to do any kind of numerically-based modelling with that, you need to obtain a number to work with. One way to do this is by getting the time with Sys.time() instead and coercing it to a number using as.integer(): >
2007 Dec 20
1
creating a factor from dates by subject?
Dear R-help, I have a data set consisting of measurements made on multiple subjects. Measurement sessions are repeated for each subject on multiple dates. Not all subjects have the same number of sessions. To create a factor that represents the session, I do the following: data <- read.csv('test-data.csv') # data appended below data$date <- as.Date(data$date,
2001 Jul 30
2
functions, `...' and .Rprofile
I'm experiencing some confusion with the ellipsis argument (...). In my .Rprofile, I have the following functions: stderr <- function(x, ...) { sqrt( var(x, ...) / length(x) ) } se <- stderr I can use tapply to calculate some means: > tapply( Diameter, factor(Region), mean, na.rm=TRUE ) I II III IV V 0.02896429
2002 Jul 24
4
cumsum and subsets of a data frame?
I have a question about using cumsum on subsets of a data frame. Suppose I have a frame that looks something like this > tmp f x y 1 left 1 0 2 left 2 0 3 left 3 9 4 left 4 10 5 left 5 23 6 left 6 45 7 left 7 13 8 left 8 2 9 left 9 6 10 right 1 10 11 right 2 26 12 right 3 9 13 right 4 50 14 right 5 78 15 right 6 20 16 right 7 7 17 right 8 20 18 right 9 19
2001 Dec 03
6
appending similar data frames?
Dear R gang, Can anyone help me sort out how to append one data frame to another while adding a factor to distinguish which was the original frame? For example, I have two frames, x and y > x exp size 1 a 10 2 b 9 3 c 10 4 d 12 5 e 11 > y exp size 1 a 13 2 b 15 3 c 12 4 d 20 5 e 15 and I'd like to create a new frame that looks like
2002 Aug 13
1
tcltk - text widget with a scrollbar?
Can anyone show me how to connect a scrollbar to a text widget using the tcltk library? I'm confused about how to make sure the two widgets know about each other and how to set up the appropriate call-backs for scrolling. Mike -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
2002 Jun 27
0
lattice and dates
HiI'm fairly new to R and the list, so please take what I say accordingly!Far as I can see, strptime gives you a string in some specified format. In order to do any kind of numerically-based modelling with that, you need to obtain a number to work with.One way to do this is by getting the time with Sys.time() instead and coercing it to a number using as.integer():> as.integer(Sys.time())I
2003 Dec 03
1
net rpc vampire is sucking my brain!
Trying to migrate NT4 to samba 3.0.0 or 3.0.1pre3 with an ldap backend. I add a backup server account to the domain and joined. Getting the SID and the ldap init seem to work, and I start windbind. When I run net rpc vampire all I get is a ton of "Could not create posix account info for " errors. Then ofcourse pdbedit -L returns smbldap_search_suffix: Problem during the LDAP search:
2004 May 24
3
error in make.names docs (PR#6912)
Full_Name: Mike Miller Version: 1.9.0 OS: win2000 Submission from: (NULL) (134.68.121.109) The docs for make.names imply that the result of make.names(c("a and b", "a_and_b"), unique=TRUE) should be "a.and.b" "a.and.b.1" when it is actually "a.and.b" "a_and_b" The docs do not reflect this very major change in
2003 Dec 31
2
Plot grouped data: How to change x-axis? (nlme)
Hallo! GENERAL QUESTION: I'm trying to change the tick marks of the x-axis in a grouped data plot (nlme). CONCRETE EXAMPLE: In the example (see below) I want the x-axis to have tick marks at 0, 6, 12, 18, 24. How can I do this? WHAT I TRIED I tried "normal" methods like axis(...) but this does not work with this plot. And I also tried xlim=c(0,24) but the ticks are unchanged and
2001 Jul 12
1
Should gv be able to read bitmap(... type= "pdfwrite") ?
Hi there folks I have R 1.3.0 running on Red Hat Linux 7.1 with GhostView 3.5.8. When I produce a file like: > bitmap("foo.pdf", type="pdfwrite") > plot(foo) > dev.off() and then try to read it with gv, I get an unrecoverable error and nothing displayed. Any help as to whether this ***should*** work would be appreciated. cheers, John -- John Williams
2001 Aug 07
1
question about combining data in two frames
Dear R Experts, I am still learning the subtleties or R programming and have a question about the best (==most elegant) way to combine data in two frames. One frame is a table of measurements of sizes of objects in multiple image fields and the other is a table of areas for each field. I want to calculate densities by dividing total number of objects in each field by the appropriate area. I
2003 Mar 20
1
Plot multi series on one plot
R help, How can I plot the below data table by Data ~ Site and group by Grinder and Equip Id so I get a chart like this Excel version? I have tried coplot with little success and lattice makes a pretty good chart like I want, but I am using the DCOM so it does not display correctly. I would like to make this using the base library if possible. <<...OLE_Obj...>> DATA TABLE
2002 Dec 06
3
smooth curves
I would like to draw smooth curves instead of polygons. I could not find any spline function to do that : given an x and a y vectors, they all take the x in increasing order. Is there a function to draw a smooth curve through a set of points in any order ? with many thanks in advance Alain Guerreau CNRS Paris [[alternate HTML version deleted]]
2007 Aug 23
4
FAQ 7.x when 7 does not exist. Useability question
The FAQ Section 7 is a very useful place for new users to find out any number of R idiosycracies. However there is no numbering on the FAQ Table of Content or on the Sections Tables of Contents. An R-help list reply of "Read FAQ 7.10" in response to a question about converting a factor to numeric is a bit cryptic. The only time 7.10 appears is after the searcher has found the entry.
2006 Apr 27
6
Possible to use dashes instead of underscores in rails?
Hi all - My boss is asking me if we can have dashes instead of underscores in the URL for SEO reasons. Apparently google prefers "foo-bar" to "foo_bar". The former will be found when searching for just "foo", but not the latter. So, I''m wondering if there is a way without changing any of my code if I can tell rails to use dashes instead of underscores?
2002 Sep 10
3
capturing the result of print in a variable?
I'd like to capture the results of a print() command so that I can put the results in a tktext widget. I know I can redirect the output to a file with sink. I'm looking for something like that, but where I can redirect the output into a variable. Is there a way to do that? Mike -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read