similar to: "Turtle world" graphics in R

Displaying 20 results from an estimated 700 matches similar to: ""Turtle world" graphics in R"

2003 Oct 27
1
Difficulties with R.oo (static fields, etc.)
I would like to use R.oo and tcltk to implement a Turtle World. I have encountered many problems because: 1) I am not sure how to implement static fields with R.oo 2) I am not sure how to implement a constructor that would call a function only for the first instance of a class (i.e., to initialize value of static fields only once) 3) I am not sure how to remove/delete cleanly existing
2003 Oct 15
0
tkcanvas/bitmap for Turtle World
To represent a turtle inside a canvas (tcltk package), I have a serie of bitmaps representing the turtle heading in different directions and I would like to display the one that corresponds to the current direction of the turtle (function below). I have created with Paint a bitmap representing the turtle in BMP format and succeeded displaying it on canvas after converting it into XBM format
2004 Feb 12
1
Porting let* from Common LISP to R
In porting some Common LISP code to R, I am trying to found out whether special care must be taken for the let* function. In Common LISP, "the let* block is like let except it is guaranteed to evaluate the initialization of its local variables in sequentially nested scopes, i.e. it provides an order to the binding and visibility of preceding variables.". I have included the recursive
2005 May 10
1
Fwd: Re: Implementation of the names attribute of attribute lists
Hi Martin, Thanks for your reply. I am responding on r-devel to provide some examples of outputs of the function that I had list in the post-scriptum of my previous email (BTW, did my post went through the list? I subscribed only after mailing it). You wrote: >Just to ask the obvious: > > Why is using str() not sufficient for you and instead, > you use 'print.object'
2004 Feb 03
3
Implementating streams in R
Dear all, I have an implementation of streams in R. The current implementation of delay() and force() is inspired from the LISP implementation found in Part VI "Languages for AI problem solving" of "Artificial Intelligence" by G. Luger. I have tested it with the Fibonacci example in the same book (see examples below). It works but I do run into a problem when I try to
2006 Dec 16
2
how to adjust link function in logistic regression to predict the proportion of correct responses in 2AFC task?
I have would like to use logistic regression to analyze the percentage of correct responses in a 2 alternative forced choice task. The question is whether one needs to take into account the fact expected probabilities for the percentage of correct responses ranges between 0.5 and 1 in this case and how to adjust the link function accordingly in R (see details below). Gabriel Subjects were asked
2003 Sep 28
0
Turtle world
Dear all, I am trying to do a "loose" implementation in R of the Turtle World (LOGO) and need some advices on graphical issues. In its current very simple implementation, the user can give order to the the turtle to move through the console. The current position and movements are displayed graphically (see below). In the future, I would like to permit the turtle to interact with
2004 Feb 04
0
Implementing streams in R
Thanks to Prof Brian Ripley, Duncan Murdoch and Luke Tierney for your replies. In particular, I found Luke Tierney's info very useful. I just would like to answer Duncan Murdoch's question (what is a stream [Lazy list in Luke's implementation] in plain english?) in case it interests somebody else. In fact, I will quote from "Structure and Interpretation of Computer
2005 May 10
0
Implementation of the names attribute of attribute lists
Dear all, Internally, the attribute list appears to be implemented as an generic list vector with a names attributes (i.e., the attribute slot in the object's SEXPREC structure would point toward a VECTOR_SEXPREC representing a generic vector). > attributes(c(a=1)) $names [1] "a" > typeof(attributes(c(a=1))) [1] "list" From R, it appears as if the named list had
2006 Dec 18
1
Applying variable labels across a data frame
Hi All, I'm working on a class example that demonstrates one way to deal with factors and their labels. I create a function called myLabeler and apply it with lapply. It works on the whole data frame when I subscript it as in lapply( myQFvars[ ,myQFnames ], myLabeler ) but does not work if I leave the [] subscripts off. I would appreciate it if anyone could tell me why. The program below
2007 Dec 10
1
Multiple Reponse CART Analysis
Dear R friends- I'm attempting to generate a regression tree with one gradient predictor and multiple responses, trying to test if change in size (turtle.data$Clength) acts as a single predictor of ten multiple diet taxa abundances (prey.data) Neither rpart or mvpart seem to allow me to do multiple responses. (Or if they can, I'm not using the functions properly.) > library(rpart)
2009 Mar 20
1
Is this sample size big enough to test for statistical significance?
Dear R community, Is this sample size large enough to study differences between two groups of the populations? Q1: do the body temperatures differ between the two groups of the overwintering turtles juveniles and adults? One group (adults) has 6 turtles Second group (juveniles) has 1 turtle. There are 3 replications, i.e. the experiment was repeated over the three years, but using
2009 Apr 24
1
what is this experimental design (mixed-effects model)?
Dear R community, I am wondering what experimental design I am dealing with? I study the effect of daily air temperature on daily body temperature of the overwintering turtles (i.e. sleeping in soil). The model is a cosine wave with the air temperature as a covariate. Objects are 19 overwintering turtles. Data were combined over the three years. Each turtle was studied only once during these
2012 May 19
3
Q - scatterplot, plot function & trellis linear regressions???
Hi R-listers, Q1) What is the difference between the scatterplot and plot function? Q2) I am able to make a graph with the scatterplot function: scatterplot(DevelopIndex ~ Veg, + data = Turtle, + xlab = "Vegetation border (m)", + ylab = "Embryonic development index") And have been successful. But I do not know if the lines are for:
2012 Apr 11
1
row.names in dunes and dunes.env?
Hello, I've got a small dataset on box turtle shell measurements that I would like to perform a detrended correspondence analysis on. I thought that it would be interesting to examine the morphometrics for each species in the area of overlap and in areas where neither species occurs.  I've taken a look at the dune and dune.env datasets in vegan. Using the str() command gives me  >
2006 May 08
1
Unrecognized event: kevent
Hey guys, I just subscribed to the list about 15 minutes ago so i apologize in advance if this is something that has already been discussed. I skimmed through the web archives and I didn't see anything. I'm running FreeBSD/amd64 and after upgrading from 1.0b3 to 1.0b7 I am experiencing the following May 8 13:18:22 loveturtle dovecot: imap-login: Login: user=<turtle>,
2001 Aug 29
1
bug in scp (OpenSSH)
Hi, using both OpenSSH_2.5.1p1 (compiled myself) and openssh-2.9p1-23.i386.rpm from ftp.suse.com 7.2_update I get the following "leak" : using `scp' I tried to copy a file from a local floppy disk to a remote system, but the disk had an read error and scp didn't get any real data from floppy: turtle koenig > scp /media/floppy/file.c harald:file.c
2013 Nov 02
1
Cent OS 6.3 and free-nx
Folks, I found free-nx in the repositories and tried to install/use it I could not figure out how to get it working. I tried following directions on the wiki But I still could not get it working Feel free to contact me at stephen.bovy at teradata.com I am currenly using the official ns server on sles 11 sp3 Is their any direction on how to install free nx on sles ??
2012 Jul 06
2
Graph showing fitted values obtained by binomial GLM
I have completed a binomial GLM in R (details attached (finalModel.docx)) and I am trying to create a graph of observed and fitted values using the following commands: > MyData<-data.frame(time=seq(from=0,to=1323,by=1)) > Pred<-predict(M2,newdata=MyData,type="response") > plot(x=turtle$time,y=turtle$success) > lines(MyData$time,Pred) However, I get the following
2010 Dec 18
2
Need a little help with Samba 3.5.5 on FreeNAS 7.2.5543
Good afternoon all. I have an odd problem that has me stumped and I'm hoping someone here may be able to help. Recently I switched from a Gentoo Linux based OS to FreeNAS. The version of Samba running on FreeNAS is 3.5.5 (and was the same under Linux). I mainly use my FreeNAS/Samba box to share MP3 files to an Audiotron. One of the files is the Turtle Beach radio file, radio_tr.txt. When I was