similar to: default par

Displaying 20 results from an estimated 4000 matches similar to: "default par"

2011 Jun 27
3
assign using =
Hey all, I learned that using the equals sign "=" to assign objects is generally OK, but will not work in some cases. As I always use "<-" for assignments, I have not encoutered any problems. Could somebody provide an example or explanation, why getting used to "=" is not a good idea? Or is it? Thanks ahead, Berry ------------------------------------- Berry
2014 Feb 03
1
seq range argument
Hello dear developers, I find myself often having the result of "range" oder "extendrange", which I want to create a sequence with. But "seq" needs two seperate arguments "from" and "two". Could an argument "range" be added? Otherwise I will have to create an object with the range (may come from a longer calculation), index twice from
2011 Sep 07
1
access objects
hi, say I have consecutively numbered objects obj1, obj2, ... in my R workspace. I want to acces one of them inside a function, with the number given as an argument. Where can I find help on how to do that? Somebody must have been trying to do this before... Some keywords to start a search are appreciated as well. Here's an example, I hope it clarifies what I'm trying to do: obj1 <-
2011 Jun 27
1
show colums x till end
Hey again, I didn't wat questions to get mangled up, so here's my second email. In matlab, there is the simple possibility to access colums x till last of a matrix using mydata(1:3, 5:end). In R, I so far use mydata[1:3, 5:ncol(mydata)] Is there a faster way? (in terms of typing) Thanks ahead, Berry ------------------------------------- Berry Boessenkool University of Potsdam,
2012 Jul 18
1
check whether connection can be opened
Hi all, I'm working on a function that reads online data that is only available to certain IPs. It then writes a subset of the data into a file. So whenever I'm logged in elsewhere or am not connected to the internet, I get an error, and the function is terminated. I want it to rather print a message into the file. Is there any way to test whether a connection can be opened? Analogous to
2011 Sep 06
1
Histogram messed up
Hey all, I encountered a problem drawing a histogram. You can view the picture here: http://dl.dropbox.com/u/4836866/Bad_Histogramm.png What happens: the bars are drawn with different starting points, thus no straight zero-line is there. And bars are overlapping. (or sometimes apart from each other.) How it happens: hist(volcano, breaks=10) # and any other data This also happens with
2013 Mar 06
1
print justify
Hi everyone, I'm trying to print a table justified to the left, but it doesn't work. Any hints? KennArt <- data.frame(NR=c(171,172,174,175,176,177,181,411,980), TYP=c("K?rnermais", ?"Corn Cob Mix", "Zuckermais", "Mischanbau (Silo)Mais/Sonnenblumen", ?"Mais mit Bejagungsschneise in gutem landwirtschaftlichen und ?kologischen Zustand",
2013 Jan 14
1
tabstop in graphics
Hi, I'm curious about Tab stops in graphics: plot(1) text(1.2, 1.2, "Char\nMoreChar") works fine, but text(1.2, 0.8, "Char\tMoreChar") doesn't. Exporting with pdf tells me that the sign width is unknown. I'm not into informatics, so I don't know how a tabstop actually works. Is this at all possible in graphical commands as it is in write.table and the like?
2011 Jun 25
3
How to export to pdf in landscape orientation?
Does anybody know how to get a pdf file with landscape orientation?. pdf(file= 'my_file.pdf' ,onefile=T,paper='A4') plot(sin, -pi, 2*pi) dev.off() Thank's in advance Juan A. Hernandez Spain [[alternative HTML version deleted]]
2011 Jul 08
2
Vertical Labels in plot graph - normally working fine but not on this graph
Hello, I wonder if someone can elaborate on why in the first graph I am able to set labels vertical to the x-axis but not in the second. I tried to select the window but it didnt really help. Many Thanks Paolo ExtAvgCWV = rnorm(200) ExtAvgDemand = rnorm(200) ExtGasDays = seq(from = as.Date("2010-8-4", "%Y-%m-%d"), along.with = ExtAvgCWV, by = "days")
2013 Mar 13
1
expression exponent labeling
Hi all, I want to label an axis with exponents, but can't get it done with expression. Any hints would be very welcome! # simulated data, somewhat similarly distributed to my real data: set.seed(12); d <- rbeta(1e6, 0.2,2)*150 ; d <- d[d>1e-8] hist( d? , breaks=100) # now on a logarithmically scaled axis: hist(log10(d), breaks=100, xaxt="n") abline(v=
2018 Nov 10
2
Red Hat is Planning To Deprecate KDE on RHEL By 2024
On Fri, Nov 2, 2018 at 9:03 PM Frank Cox <theatre at sasktel.net> wrote: > https://www.theregister.co.uk/2018/11/02/rhel_deprecates_kde/ > > That's still several years in the future, of course. > > I use Mate on all of my machines rather than Gnome or KDE and I'm sure > many of you fine folks do the same. > > But it's interesting nonetheless. >
2013 Jan 09
1
deparse substitute
Hi, I'm writing a function that needs the input names (as characterstrings) as part of the output. With deparse(substitute( ) ) that works fine, until I replace all zeros with 0.001 (log is calculated at some time): tf <- function(input) { input[input==0] <- 0.001 ; deparse(substitute(input)) } myguess <- 42 tf(myguess) # not "myguess", but "42" Now when
2008 Oct 17
4
R plot
All - When I plot something like a<-rnorm(5) b<-rnorm(5) plot(a,b,col = "red") points(10,-10) The last point is missing because it is out of range of the first plot. I just try to switch from Matlab to R. In Matlab, it always can automatic adjust the xlim and ylim for such case. Is it possible auto adjust in R? Otherwise keep tracking xlim and ylim is really annoying.
2012 Aug 02
0
buffering output to the console
Hey all, I was wondering about the order of execution of functions and found that, in fact, I should look at the topic of buffering output to the console. Which I did - below are some links of related topics, in case anyone wants to read up on it. I decided to change the concerning lines in the file "Rconsole" in the "etc"-folder to ?? ## Default setting for console
2008 Aug 13
1
Suggestion about Heartbeat
I have a suggestion about the heartbeat and the way that "downed node" detection works. There are occasions where a node is up, and for whatever reason, I need to power cycle it (for instance, a frozen process, etc). In these instances, my other nodes are unable to perform file system operations until the heartbeat period expires. This ends up being somewhere around 30-60 seconds (this
2011 Apr 11
1
Zoom on simple.violinplot
Hello, I am using the function simple.violinplot from the package UsingR. I have some outliers in my dataset so that the distribution has very long tails. As a result, the y-axis of the output of simple.violinplot extends to very large values. I would like to zoom on the y-axis with a command such as ylim=c(a,b), as in boxplot(x,ylim=c(a,b)). However, doing simple.violinplot(x,ylim=c(a,b)) does
2012 Oct 05
1
avoid <<- in specific case
Hi all, I improved a function drawing horizontal histograms (code below) which uses barplot and works fine. It does,however, need to assign a function to the global environment to later find the actual location on the vertical axis, and not the number of bars used by barplot. Hopefully, running the examples below will illustrate that. As said, it works perfectly fine and does exactly what I
2011 Jul 27
1
Converting F-value from ANOVA to cohen's d in meta-analysis (metafor-package)
Dear R-experts! Running a meta-analysis (using the magnificent metafor-package), I use cohen's d as a main outcome measure in a random-effects model. For most of the samples cohen's d is derived form a comparison of two groups (A & B). However some studies report results from an ANOVA (one-factor with three levels: C,D,E) whereas two groups (C,D) correspond to one group in the other
2000 Dec 26
4
Thought for the new year
Some thoughts for the new year: 1) MDCT is good for image coding 2) image coding and audio coding are two very different things 3) combine 1 and 2 4) if a psycho model is good, after leaving out what it tells you you can without hurting quality, applying the same model should yield the same results as you got before 5) from 4: decode -> encode -> decode should result in (almost) the