Hi
as Jeff said you cannot without modifying source code for paste.
If your problem is as you expressed it you can do e.g.
paste(S, append(X, rep(NA, length(S)-length(X
Cheers
Petr
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Preeti
> ranj
Loris Bennett writes:
> Hi Jim,
>
> jim holtman writes:
>
>> Here is what it does locally on my PC:
>>
>>> library("igraph")
>>> topo_data <- read.table(text = "ibcore01ibswitch01
>> + ibcore01ibswitch02
>> + ibcore01ibswitch03
>> + ibcore02ibswitch01
>> + ib
You can also try kml3d. You can either use some default distances or define
your own.
http://www.jstatsoft.org/v65/i04/paper
Christophe
--
View this message in context:
http://r.789695.n4.nabble.com/TSclust-multivariate-time-series-clustering-tp4711517p4711555.html
Sent from the R help mailin
Hello,
Although there is no R package available (we did not think of it), if you want
a Gaussian-mixture=model-based approach, you may look at the paper:
"Model-Based Clustering of Regression Time Series Data via APECM—An AECM
Algorithm Sung to an Even Faster Beat" by Wei-Chen Chen and Ranjan
to answer my own question.
I did not find out what knit2pdf is good for
but rmarkdown::render does the job.
regards
On 26 August 2015 at 11:46, Witold E Wolski wrote:
> I am using from within R-studio and the .Rmd file builds nicely.
>
> However, when I try to compile the fiel using :
>
> k
Okay, thank you all for your reply.
In SAS it doesn't do that way, so I was bit confused. Anyways thanks all.
Cheers.
On Thu, Aug 27, 2015 at 12:37 PM, PIKAL Petr wrote:
> Hi
>
> as Jeff said you cannot without modifying source code for paste.
>
> If your problem is as you expressed it you ca
Greetings,
I am an (very) grateful user of Rcpp.
As such I defined a function
// [[Rcpp::export]]
NumericVector
leftShift(NumericVector x){
for(int i=0;ihttps://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide comme
I have successfully done this many times using RStudio's rmarkdown capabilities
and knitting the document to HTML or Word. However, I am running into this
error today.
"C:/Program Files/RStudio/bin/pandoc/pandoc" FusionTestsAugust25.utf8.md --to
docx --from
markdown+autolink_bare_uris+ascii_id
Try increasing the memory for pandoc via knitr YAML options:
--
title: "TITLE"
output:
html_document:
pandoc_args: [
"+RTS", "-K64m",
"-RTS"
]
---
ref: http://stackoverflow.com/a/28015894/1457051
you can bump up those #'s IIRC, too, if they don't work at first.
On Thu, Aug
Dear All,
Please consider the snippet at the end of the email, largely based on
what you find here
http://bit.ly/1ND6MGa
When I run it, I get this error
Error in arrangeGrob(p, sub = textGrob("Footnote", x = 0, hjust =
-0.1, :
could not find function "textGrob"
However, the code runs on anot
Dear all,
I am trying to do a fishers test on a 5x4 table on R
statistics. I have already done a chi squared test using Minitab on this
data set, getting a result of (1, N = 165.953, DF 12, p>0.001), yet using
these results (even though they are excellent) may not be suitable for
public
Michael Meyer via R-help r-project.org> writes:
> I am an (very) grateful user of Rcpp.
Glad to hear that!
But you are on the wrong mailing list. Please ask on rcpp-devel.
Dirk
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
ht
I have a user-defined function that I'm using alongside a postgresql
connection to
summarize some data. I've connected to the local machine with no problem.
However,
the connection keeps throwing the following error when I attempt to use it.
Can anyone point
to what I could be doing wrong.
> ds_su
Is it really that complicated? This looks like an ordinary quadratic
programming problem, and 'solve.QP' from the 'quadprog' package seems to solve
it without user-specified starting values:
library(quadprog)
Dmat <- t(C) %*% C
dvec <- (t(C) %*% d)
Amat <- -1 * t(A)
bvec <- -1 * b
rslt <- solv
On Thu, Aug 27, 2015 at 2:29 PM, Abraham Mathew
wrote:
> I have a user-defined function that I'm using alongside a postgresql
> connection to
> summarize some data. I've connected to the local machine with no problem.
> However,
> the connection keeps throwing the following error when I attempt t
Hi Richard,
It is good to know that solve.QP could solve quadratic programming problem. The
difficulty here is that the objective function might not be in quadratic form.
It is not in the form of t(X)QX, where Q is an n by n symmetric matrix.
Thanks,
Xue
-Original Message-
From: R
On Thu, Aug 27, 2015 at 3:46 PM, John McKown
wrote:
> On Thu, Aug 27, 2015 at 2:29 PM, Abraham Mathew
> wrote:
>
>> I have a user-defined function that I'm using alongside a postgresql
>> connection to
>> summarize some data. I've connected to the local machine with no problem.
>> However,
>> the
I'm trying to produce a plot with climate data in which colors describe one
aspect of the data (emissions scenario) and numbers rather than shapes show
the model used (there are 36 models for one emissions scenario and 34 for
the other). I'm trying to use numbers rather than symbols because there
Something like this?
df <- data.frame(
x = runif(30),
y = runif(30),
z = factor(1:30)
)
ggplot(df, aes(x, y)) +
geom_point(aes(shape = z), size = 5) +
scale_shape_manual(values = c(letters, 0:9))
Hadley
On Thu, Aug 27, 2015 at 4:48 PM, Marian Talbert wrote:
> I'm trying to produce a
Not exactly I was trying to only numbers for symbols instead of a mix of
letters and numbers just to be consistent. I'm pretty sure someone will nag
me if I use both letters and numbers as symbols
--
View this message in context:
http://r.789695.n4.nabble.com/ggplot2-scale-shape-manual-with-
Hello,
I have a dataset of 985 genes, looks something like the ones below. I want to
label only those with the high intensities, since labeling all doesn't show up.
Is there a way to do that? If not, is there a way to pull out the highest ones
(say, highest 50, or those above X amount) and only
Hi
Following on from Davids reply you can do the following if you want a key or
legend.
By putting the colour scheme in par.settings the "local" equivalent of
setting trellis.par.set() for that plot
you can get things right for the key without having to have add arguments to
key
culr<-ifelse(R
gridExtra was changed. This is the email from Baptiste to CRAN package
developers that describes the changes and
points to the vignettes that will describe the changes. The changes
described here are now in the current release of gridExtra.
Baptiste Auguie
Jul 9
Reply
to Borja, Pablo, Paul-Chri
Hi,
xyplot(threshold ~ age |frequency.a, data=rage,
groups=HL,
cex=0.5,
layout=c(7,4),
par.strip.tex=list(cex=0.8),
xlab="Age (years)",
ylab="Threshold (dB SPL)",
na.rm="TRUE",
panel=function(x,y,groups,...) {
panel.superpose(x,y,groups=HL,...)
# panel.abline(segmented(lm(threshold~age
Hi,
I am looking for a way to run a Gaussian Mixture Regression (GMR) in R.
In other words, say that I have a Gaussian Mixture Model (GMM) calculated
using, for example, the MClust library. This model represents the joint
distribution of two independent variables P(A,B). I need to calculate P(A|B
Hello,
I have a dataset of 985 genes, looks something like the ones below. I want to
label only those with the high intensities, since labeling all doesn't show up.
Is there a way to do that? If not, is there a way to pull out the highest ones
(say, highest 50, or those above X amount) and only
> On 27 Aug 2015, at 23:12, Wang, Xue, Ph.D. wrote:
>
> Hi Richard,
>
> It is good to know that solve.QP could solve quadratic programming problem.
> The difficulty here is that the objective function might not be in quadratic
> form. It is not in the form of t(X)QX, where Q is an n by n symm
27 matches
Mail list logo