Hi,
this is how far I have come without practicel knowledge of dendrograms.
_
# This dendrogram is from the demo of 'dendrogram', obtained by dput()!
d3 <- structure(list(structure(list(structure(8L, members = 1L,
height =
Hi,
please give a *small* working example or everyone will have to guess
what could be right.
see text for drawing text and rect(x1,y1,x2,y2,col,...) for drawing
colred rectangles.
Regards, Moritz
On 09.04.2013 23:34, gunturus wrote:
> Hi
>
> I am tring to making a dengrogram. I know how to ma
Hello List,
I'm trying to get behind the secrets of rJava, especially how to run an
R session within a java Programm **and especially how wo inspect objects
of an R workspace from within a java program**
But as I can't find any documentation on the Java side of rJava, I tried
to learn somethin fr
OK, i' look at this. Thank you :-)
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible
> # This assumes you have a parameter list which looks like this:
> # l: list(n = c(5, 10, 20),
> # a = c(0.1, 0.2, 0.3),
> # E = c(5,10),
> # L = c(0.01, 0.025, 1)) etc...
> #
> #
> # indVec:c(n= 1, a=1, E=2, L=1)
> # The function selects the approproate sub-list by the n
On 29.01.2013 13:10, mary wrote:
>
> Hi,
> I've understand how to do a permutation matrix but how I can utilize it?
> I would like to have a sample of 5 unit with rotation parameters! The same
> with 10 unit or 20 unit...
You could rewrite your tab function that is accepts a list with named
entr
On 28.01.2013 12:06, mary wrote:
> Hi,
>
> I would like to replicate a sort of Montecarlo experiment:
>
> I have to generate a random variable N(0,1) with 100 observations but I have
> to contaminate this values at certain point in order to obtain different
> vectors with different samples:
Hi,
Hello List,
while dealing with a questin of 'xiaodao' (
http://r.789695.n4.nabble.com/Problem-with-large-small-numbers-in-knitr-tp4653986.html)
I noticed that copying the default inline hook function obtained by
knit_hooks$get("inline")
into a knit_hook$set(inline = <...>) call turns off exponent
On 26.12.2012 23:28, xiaodao wrote:
> I have problems with very large numbers using knitr. In the following, my a
> and b are extremely small and ssrr and ssru are extremely large.
>
> \documentclass{article}
> \begin{document}
>
> <>=
> ## numbers >= 10^5 will be denoted in scientific notation
Hi,
On 24.09.2012 16:21, Zastko,Samuel ALB co-mw wrote:
> Hi everyone,
> want to use R in our company but have to complete an intern questionnaire
> first. Can anyone help? Thanks in advance!
> Here the questions I’m not sure about:
> 1. Is R a Clientsoftware / Serversoftware / Systemsoftwar
On 14.09.2012 22:16, Steve Lianoglou wrote:
> Hi,
>
> On Fri, Sep 14, 2012 at 2:33 PM, agrins wrote:
>> HI all-
>>
>> I have used this .fun in S+ without a problem however, in R when I run this
>> code to generate multiple graphs:
>>
>> trendplot<-function(datafr,dataf2, abbrev="", titlestr="",
>
On 29.07.2012 17:18, sappy wrote:
> Dear Community,
>
> i have read in a table with two column from a *txt-File. What i get is a
> data-frame wit two column.
> After that i allocate this 2 column to x and y. Plotting this, i obtain a
> picture that looks like a bar plot (something like a grid).
>
To use variables in mathematical expressions, bquote can be used:
#Term in in .( ) is evaluated
plot(1:10,main=bquote(frac(alpha,.(2+2
--
GnuPG Key: 0x7340821E
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEA
On 10.07.2012 20:11, Faradj Koliev wrote:
> However, when i enter:skatter.csv<-read.csv("skatter.csv", header=TRUE) i
> get this message:
> Error in file(file, "rt") : cannot open the connection
> In addition: Warning message:
> In file(file, "rt") :
> I have tried with: skatter.csv<-fil
On 06.07.2012 20:02, John Kane wrote:
> Your code works okay in a plan R terminal. It may be an Rstudio problem or
> perhaps you already have a graphics device open and are trying to draw into
> it?
>
> John Kane
> Kingston ON Canada
>
>
>> -Original Message-
>> From: khar...@lbl.gov
2,b=3)
>> a[[1,1]]$a
> Error in a[[1, 1]]$a : $ operator is invalid for atomic vectors
>> a[[1,1]]
> a b 2 3
>> a[[1,1]] <- list(a=2,b=3) a[[1,1]]$a
> [1] 2
>> a[[1,1]]
> $a [1] 2
>
> $b [1] 3
>
>
> From the description of the problem, perhaps it
Dear List,
I've created a two-dimensional array which shall contain a value and its
error, respectively.
These two values are concatenated in al list and bear the names "sl" and
"sl_err"
But I can't adress them using the $-notation.
a<- array(list(NULL),dim=c(2,2))
a[[1,1]]<- c(a=2,b=3)
a[[1,1]]
On 01.05.2012 00:12, strycker wrote:
> I'm interested in this question, too, not so I can hide code, but so I can
> run R code faster. It's been my experience that compiled code always runs
> faster than interpreted code. Can you explain further how to compile a
> front-end?
>
> --
> View this me
On 28.04.2012 14:47, Sarah Goslee wrote:
> We really can't help you with your assignment. You might consider
> ??unique
> though, since you've already resolved to look for functions related to
> identifying unique entries.
>
> Sarah
>
> On Apr 28, 2012, at 8:11 AM, petermec wrote:
>
>> Hi everyon
On 25.04.2012 17:12, Steve Lianoglou wrote:
> Check out the vignette for the optparse library:
>
> http://cran.r-project.org/web/packages/optparse/vignettes/optparse.pdf
>
> Super helpful library if you plan on making any semi-interesting
> command line scripts w/ R.
>
> -steve
>
> On Wed, Apr 25,
Hi,
h <- "CataDog"
sub("","",h)
see http://en.wikibooks.org/wiki/R_Programming/Text_Processing for more
information.
Regards!
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www
Hi,
> The code I have used is
>
>> summary(prefdata)
>> prefdata[prefdata>5]=NA
>> summary(prefdata)
>> prefdata2=as.matrix(prefdata[3:22])
>> stats=paf(prefdata2)
> [1] "One of your variables is a constant. Constants are disallowed as
> part of
could you provide some data / sample data you used fo
would it be possible to separate the parts generated by R from the
actually written paths? As creating small doc's by sweave which contain
the generated reports and embedding them via OLE into the static written
text. However, this could require sending around multiple documents
around each time...
Hello,
the graphical parameters xaxs and yaxs are for you.
par(xaxs="i")
Regards!
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
He provided data, yet in an inconvenient way at the bottom of his post.
Kumar, please use dput() to provide data to the list, because its much
easier to import:
dput(data)## name data is made up by me
structure(list(Region = structure(c(2L, 2L, 2L, 2L, 2L, 3L, 3L,
3L, 3L, 3L, 1L, 1L, 1L, 1L,
Hello Arun,
> paste("select * from ", tablename , " where colors in
(",paste(var1,collapse=","),")")
[1] "select * from DressMaterials where colors in (
red,blue,green,white )"
Regards!
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailma
Hi,
as long as you don't want to stetch the frames across a page break,
would minipges do?
\documentclass[12pt]{article}
\usepackage{lipsum}
\begin{document}
\begin{minipage}[t]{0.45\textwidth}
\lipsum[1]
\end{minipage}
\hfill
\begin{minipage}[t]{0.45\textwidth}
\lipsum[2]
\end{minipag
type '?readline' in your R command prompt to receive help about how to
use the function readline() since this is what you're looking for.
Regards!
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posti
The title() function also has parameter 'line' where you can specify the
margin line in which the text should be displayed.
How many lines of margin should be around the figure region of the plot
can be specified before plotting by par(mar=c(bottom,left,top,right)),
in text lines. margin lines are
you could either define a plotting function which passes your arguments
to plot() two times, with different devices active.
this function plots the given arguments two times:
pl<- function(...){
X11() #or pdf()
plot(...)
# dev.off() if pdf() is used
X11()
Hello,
I think there's no function in R to print error bars.
I once found one in a blog which I'm using.
errorbar <- function(x, y, upper, lower=upper, length=0.02, vert=TRUE, ...){
if(!doPlot) return()
if(length(x) != length(y) | length(y) !=length(lower) | length(lower)
!= length(upper))
I don't know xtable but you could try escaping the backslashes in your
strings.
cat("\\begin{table}[ht]") etc.
Regards!
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-proje
Perhaps R's function readLines is the right thing for you.
AFAIK it returns a vector of strings containing the lines of th email.
Or you could try to count the occurence of the newline character '\r'
(Unicode 0xA)
Regards!
__
R-help@r-project.org mailin
33 matches
Mail list logo