search for: mytitl

Displaying 16 results from an estimated 16 matches for "mytitl".

Did you mean: mytitle
2007 Mar 04
1
Problem using callNextMethod() in S4
...quot;baseClass", representation(myname = "character", mydir = "character", "VIRTUAL"), prototype(myname = "", mydir = "") )#baseClass setClass("derivedClass", representation(mytitle = "character"), contains=c("baseClass"), prototype(mytitle = "") )#derivedClass setMethod("initialize", "baseClass", function(.Object, ...) { print("---initialize:baseClass---") # .Object <- callNextMethod(); if (.O...
2011 Mar 03
2
Greek character and R
Dear R users. In a loop, I set the title of my graph with : mytitle = expression(paste(delta^13,'C Station ', i) title(mytitle) However, instead of using value of i, it will literally use "i" character. Any one know the way to concatenate the value of i to the mathematical expression? With regards, Phil -- View this message in context: htt...
2007 Apr 26
2
SweaveInput and absolute paths
Hi, Is there a way to turn off the automatic inclusion of "./" at the beginning of a path specified in an \SweaveInput{} instruction? I'd like to create some reusable "template modules" of Sweave code and put them in a standard directory like /Resources/Affymetrix Then the corresponding file that uses one of these would include a command like
2008 Sep 25
2
ggplot, qplot in loop
...uot;darkseagreen","orange","chocolate4","gray75") for (i in 1:length(trials)) { sql <- paste("select trial, cover_of, dateofsurvey, cover from mytable where trial = '",trials[i],"' mydata <- (sqlQuery(channel, sql)) mytitle <- paste("Development of Cover, ", trials[i],",sep = "") myplot <- qplot(dateofsurvey, cover, data=mydata, geom="area", fill=cover_of, main = mytitle, ylab="projective Cover[%]", xlab = "Year") myplot <- myplot + scale...
2017 Mar 14
2
gráfico jpg png
...ter) beta0 = 10 ## A common intercept for(i in 1:26){ x = rnorm(500, 105, 10) y = beta0 + beta1[i]*x + 15*rnorm(500) mypath <- file.path("C:","R","SAVEHERE",paste("myplot_", names[i], ".png", sep = "")) png(file=mypath) mytitle = paste("my title is", names[i]) plot(x,y, main = mytitle) dev.off() } El original pero con jpg está en https://www.r-bloggers.com/automatically-save-your-plots-to-a-folder/ Javier Rubén Marcuzzi [[alternative HTML version deleted]]
2012 Feb 03
1
incomplete final line found on <name of my sourced function file>
...p at you? Thanks a lot! Dimitri ### Creating a plot with (aggregated) several lines: # indata - my data frame # datesvar - name of the variable that contains dates # inars - names of the variables to be graphed # myfunction - function to be used (mean or sum) # my metric - string for the metric # mytitle - title of the graph # fixedy - if 1, range on y axis starts with zero # indata=en;datesvar="Week";invars=seas[5];myfunction=mean # mymetric="TEST";fixedy=0;title="BLA" mylines = function(indata,datesvar,invars,myfunction,mymetric,mytitle,fixedy=0) { all.colors&lt...
2010 Nov 16
1
Sweave: \Sexpr and variables with special chars
I am using \Sexpr to include a variable in a title of a Sweave document: \documentclass[a4paper]{article} <<echo=false, results=hide>>= #mytitlevar <- "Stuff" # case 1, everything is find mytitlevar <- "Stuff_first" # case 2, f is turned into sub-text @ \title{MyTitle: \\ \Sexpr{mytitlevar} } \begin{document} \maketitle \end{document} When doing this, the variable seems to be subject to interpretation by LaTeX. T...
2006 Nov 14
3
Plot title with numeric variables
I am trying to create a plot title in R with substitution by a numeric variable (Figure number N) within the text which is bold and has a subcripted part as well. Here is what I have: title <- expression(bold(paste("Figure ", N, ": Plot ", C[max], " versus CrCL"))) plot(1, main="") # Simple plot for testing N <- 5 mtext(title, line=3, font=2,
2001 Sep 02
1
oggenc RC2: output filename
Hi everybody! Yesterday I startet working with oggenc RC2, and I encountered a difference between actual and documented behaviour in oggenc. If you run oggenc myfile.wav -t MyTitle the documentation/man page says it generates myfile.ogg, but actually MyTitle.ogg is generated. From the code it looks like being intentional. In my opinion the documented behaviour makes more sense, but that's up to you, I would run it from a shell script anyway ... As I am not on the mail...
2006 Feb 08
2
URL rewriting
Here is the scenario I am trying to achieve. Basically, I want to run the action "show" from my controller, without adding the "show/id". Standard: http://www.domain.com/controllerName/show/id I would like: http://www.domain.com/controllerName/randomstring (where randomstring is a field in my model/table, that is equivalent to a GUID -> and unique). I''m confused
2007 Mar 31
1
Problem with S4 inheritance: unexpected re-initialization?
...SubSubClassA <- SubClassB <- BaseClass SubSubClassB <- SubClassB <- BaseClass In R I am calling the following functions: > library(myclasspkg) > subA <- new("SubClassA",filename="OutSubA",filedir="/Volumes/CoreData/CRAN/Workspaces/rclasspkg",mytitle="TitleSubA") > subsubA <- new("SubSubClassA",filename="MyFileName",filedir="/Volumes/CoreData/CRAN/Workspaces/rclasspkg",subA=subA) > subsubB <- new("SubSubClassB",filename="MyFileNameB",filedir="/Volumes/CoreData/CRA...
2006 Jul 22
0
RSS XML Generation Problem
...''m getting an interesting problem. I''d trying to generate an RSS document and then real it from outside of my app. Here''s what the view looks like. xml.instruct! :xml, :version=>"1.0" xml.rss(:version=>"2.0"){ xml.channel{ xml.title("mytitle") xml.link("http://www.myapp.com") xml.description("mydescription") xml.language(''en-us'') for post in @posts xml.item do @author = "\"#{post.title}\" by, #{post.author_name}" @influence = &quot...
2005 Jan 26
2
postscript() and levelplot() in a for loop
Hi, I like to produce a series of levelplot graphs in postscript file, so I put the trunk of codes including postscript() and levelplot() in a for loop. The codes work fine outside the loop, but only produce empty .ps file when being put within the loop. Is it a problem associated with postscript() or levelplot()? How to get around the problem? Many thanks! Yan [[alternative HTML
2006 Jun 21
0
Some R-Tcl/Tk-BWidget newbie questions.
...nks very much, JeeBee. require(tcltk) || stop("Package tcltk is not available.") # Add path to BWidgets addTclPath(".") version.BWidget <<- tclvalue(tclRequire("BWidget")) start.gui <- function() { # Toplevel tt <- tktoplevel() tkwm.title(tt, "MyTitle") # Notebook ### --> The following line makes R hang with 100% cpu forever #tkpack(tn <- tkwidget(tt, "NoteBook"), fill="both", expand=TRUE) ### --> This works, but not sticky="news", ### --> the notebook does not resize together with the window...
2007 Jul 19
2
(R) Using arguments for the empirical cumulative distribution function
Hi, I have just started using R. Now I have the following problem: I want to create an Empirical Cumulative Distribution Function and I only came so far: F10 <- ecdf(x) plot(F10, verticals= TRUE, do.p = TRUE, lwd=3) x=c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2) Now I'd like to use arguments such as xlabs and main but I don't know how to integrate them. I hope someone can help me, I am
2007 Oct 03
2
Change title size in plot(model)?
I want to use the plot(model) function to generate Tukey-anscomb and Q-Q plots of a lm(). I manage to change all labels but the main one which apparently is neither main or sub. So far I have tried as par setting: cex (changes symbol size within the plot), cex.main (no effect), cex.sub (no effect) cex.lab (changes label size), cex.axis (changes axis label size). What I would like to change is the