Displaying 20 results from an estimated 4000 matches similar to: "hairy indexing problem"
2002 Jul 06
2
cross-platform code: windows or gnu/linux?
I am writing some R code that generates some figures. I am primarily
developing on GNU/Linux, but will ultimately run the code on Windows
in order to get WMF files I can integrate in an existing document.
The win.metafile() function, of course, doesn't exist in the GNU/Linux
version of R. I am contemplating writing an abstraction layer that
runs the right thing, but I need to know how the
2002 May 07
3
good procedure for creating plots for PowerPoint
I am generating some graphs (on GNU/Linux using R 1.5.x) for a
PowerPoint presentation my boss is giving next week. He just tried
cut/pasted a plot off of a PDF file I had created, but he complained
that the fonts were too small and fuzzy, and that he couldn't change
the background. I have been playing with png(bg=transparent), but I
am not sure what appropriate height,width parameters and
2002 May 02
2
coercing "numeric" components of data frame to "factor" or "ordered"?
I am getting ready to load a bunch of data into R. The data is all
numeric, but some of the numbers are integer codes representing
non-numeric semantics. What is the best way to "fix" the data frames
so that these compenents are recognized as "factors" or "ordered", as
appropriate?
Can I "assign" to some attribute of the data frame component, like the
2002 Apr 04
2
summary on predict with arima0
Here is the summary on predict when
using an arima0 object:
The arima0 object must be based on a time series vector.
That is;
x <- ts(xm1, frequency=12, start=c(1975,1))
x.ar <- arima0(x,order=c(1,1,1))
predict(x.ar,n.ahead=3)
Thanks so much to Prof. Brian Ripley and David Brahm and other!
Sincerely,
Erin Hodgess
2002 May 01
1
"normal probability plot" with a percentile scale?
I'd like to generate some plots like you'd see on the old "normal
probability graph paper", like the first plot in:
<http://www.itl.nist.gov/div898/handbook/eda/section3/normprpl.htm>
except the horizontal scale would have 1%, 5%, 25%, 50%, 75%, 95%,
99%, or similar quantiles, with associated tick/grid lines. [still
hunting around for a good example...] something like
2002 May 06
3
Spearman rank-order correlation matrix
I"ve got a data frame with a selection of columns I want to compute a
rank-order correlation matrix from without disturbing the original
data frame.
foo[,c("a","b","d","f","g")]
What I wanted to do, intuitively, was:
> cor(rank(foo[,c("a","b","d","f","g")]))
but rank in that context
2002 May 10
1
qqnorm() with weighted data?
I've got a set of data that are weighted by a largish integer (ranging
from about 50K to 1.5 million). I'd like to plot CDF's for this data
taking into account the weighting. What do you recommend?
Thanks!
--
Russell Senior ``The two chiefs turned to each other.
seniorr at aracnet.com Bellison uncorked a flood of horrible
2000 Feb 02
0
Factor Analysis?
Hello.
I have been browsing the R- manual and not seen any direct
implementation of Factor analysis.
Is there anyone out there who has run Factor Analysis with R?
Thanks
Michael
--
Michael Preminger
Forsker / Research Scientist
Avdeling for journalistikk,
bibliotek- og informasjonsfag /
Faculty of Journalism, Library and
Information Science
H?gskolen i Oslo / Oslo College
2002 Jul 09
3
building formula objects
I want to write a function to take an argument as the response
variable of a linear model, e.g. to do anova's across a list of
variables, something like the following (except, of course, this
doesn't work):
function(x) { anova(lm(x ~ my.factor,data=my.data)) }
The x in lm() above is getting evaluated at the wrong level. How
can I make this work?
--
Russell Senior ``The two
2003 Oct 28
2
formula parsing, using parts ...
I am writing a little abstraction for a series of tests. For example,
I am running an anova and kruskal.test on a one-factor model. That
isn't a particular problem, I have an interface like:
my.function <- function(model,data) {
print(deparse(substitute(data)))
a <- anova(lm(formula,data))
print(a)
if(a$"Pr(>F)"[1] < 0.05) {
pairwise.t.test(???)
}
2001 Nov 09
2
Transforming matrix to data.frame: problems
Hi all,
I have problems transforming a matrix
into a data.frame:
If I do:
> is.matrix(parcelas.cobtot.conti)
[1] TRUE
> dim(parcelas.cobtot.conti)
[1] 25 64
> a <- data.frame(parcelas.cobtot.conti)
> is.data.frame(a)
[1] TRUE
>
> dim(a)
[1] 1600 3
Why a does not have the same dimensions than
parcelas.cobtot.conti?
I've tested with caith and the behaviour there
2016 May 05
7
Resuming the discussion of establishing an LLVM code of conduct
On 5 May 2016 at 13:23, C Bergström <cbergstrom at pathscale.com> wrote:
> Is the list PG, PG-13, R or at what level do "we" adults all consider
> "ok". Even on broadcast tv (in the US) you'll hear some profanity.
> (context)
> https://www.fcc.gov/consumers/guides/obscene-indecent-and-profane-broadcasts
Excellent context!
> Some people have pointed
2006 Oct 06
2
lmer output
When I do lmer models I only get Estimate, Standard Error and t value in
the output for the fixed effects.
Is there a way I get degrees of freedom and p values as well?
I'm a very new to R, so sorry if this a stupid question.
Thank you
- Mike
Mike Ford
Centre for Speech and Language
Department of Experimental Psychology
Downing Street
Cambridge
CB2 3EB
Tel: +44 (0) 1223 766559
Fax: +44
2007 Sep 05
9
Profanity Filter for Rails Application
I am creating an application that allows a user to post messages to a
board. I want to be able to filter profanity. For instance if someone
types an inappropriate word of 5 characters I want it to read "#?@#@" or
whatever. Ideally, I would be able to install a rails plugin or ruby gem
and then simply write
Code : - fold - unfold
--> message_text.hide_profanity! <--
and that
2013 Jan 11
2
[LLVMdev] Make a comparation with IR builder
Hi Justin,
my class is a visitor pattern and I use accept method to go recursive in
suboject in my AST.
In locals I store AllocaInst pointer.
void *visit(var1_init_decl_c *symbol) {
llvm::Type *lType;
varNames.clear();
varType = "";
symbol->var1_list->accept(*this); /* get a vector contains variable names */
symbol->spec_init->accept(*this); /* Store in
2013 Jan 11
0
[LLVMdev] Make a comparation with IR builder
On Fri, Jan 11, 2013 at 8:20 AM, Manuele Conti
<manuele.conti at sirius-es.it>wrote:
> Hi Justin,
> my class is a visitor pattern and I use accept method to go recursive in
> suboject in my AST.
> In locals I store AllocaInst pointer.
>
>
> void *visit(var1_init_decl_c *symbol) {
> llvm::Type *lType;
>
> varNames.clear();
> varType = "";
2016 May 05
2
Resuming the discussion of establishing an LLVM code of conduct
On 5 May 2016 at 12:42, Renato Golin <renato.golin at linaro.org> wrote:
> I'm against the ownership of firearms, and go at great lengths and
> poorly choosing words in a discussion, which some could consider rude,
> with person X about it. I know person X for decades and have earned
> the right to offend him/her personally as they know I don't mean it
> (could be a
2013 Jan 08
2
[LLVMdev] ExecutionEngine always comes back NULL
Sorry I forgot to add code that I use to run code:
/* Executes the AST by running the main function */
GenericValue CodeGenContext::runCode() {
std::cout << "Running code...\n";
ExecutionEngine *ee = EngineBuilder(module).create();
vector<GenericValue> noargs;
GenericValue v = ee->runFunction(mainFunction, noargs);
std::cout << "Code was run.\n";
return v;
2013 Jan 11
2
[LLVMdev] Make a comparation with IR builder
Hi All,
I'm writing a code generation with my compiler. I read sever example and
documentation but I did understand what I make wrong.
What I try to do is a compare a local variable with a constant.
But when I create a ICMP instruction I get that instruction are not of
same type.
I'm using llvm by svn repository updated at two week ago.
The code that I try to generation is something
2001 Mar 03
2
Image files in R
Does anyone have experience importing image files into R? I would like to be able to import such files, use R to analyze and compare and perhaps export again a modified file which can be displayed by the usual image display programs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010303/ad72932b/attachment.html