Displaying 20 results from an estimated 120 matches similar to: "Weird options(digits=n) behaviour"
2003 Mar 29
1
Goodness of fit tests
I have a dataset which I want to model using a Poisson distribution, with a given parameter. I would like to know what is the proper way to do a ''goodness of fit'' test using R.
I know the steps I''d take if I were to do it ''manually'': grouping the numbers into classes, calculating the expected frequencies using ''ppois'', then
2003 Mar 10
3
VIM Syntax Highlighting
Has anyone got vim to have syntax highlighting with R function codes? I
know there's something similar that works with emacs (ESS or something like
that), but I was wondering if anyone knew an equivalent that worked with vim.
Thank you,
--
[]'s
mentus at gmx.de
Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!
2003 May 09
2
Data-mining using R
Is it possible to use R as a data-mining tool? Here's the problem I've
got. I have a couple of data sets consisting of results from a cDNA
microarray experiment - the details about the biology don't really matter here, the
same theory applies for any other data-mining task (that's why I thought it'd
be more appropriate to post this on r-user). Each of these datasets consists
2003 Jun 17
2
Paste and namespace
Hi, my doubt is very simple. I'm sure I've seen someone using something
like this before, but unfortunatelly my searches in the archives were useless.
Well, I have some objects called after a name that has a number attached to
it,
varying. Let's say I have:
> ls
poly1 poly2 poly3 poly4 poly5 poly6 ...
I would like to access these objects using a for(), in which I could do
2003 Jun 19
2
Subseting by more than one factor...
Is it possible in R to subset a dataframe by more than one factor, all at
once?
For instance, I have the dataframe:
>data
p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 pred
1 0 1 0 0 0 0 0 0 0 0 0.5862069
4 0 0 0 0 0 0 0 0 0 1 0.5862069
5 0 0 0 0 0 0 1 0 0 0 0.5862069
6 0 0 0 0 0 0 0 1 0 0 0.5862069
7 0 0 1 0 0 0 0 0 0
2012 Apr 24
4
Simple matrix transformation question
I know this is likely very simple. I want to change a matrix that was given
to me not sorted by timestamp to sorted by timestamp. It was sorted by
CRAH_Name. There are 264k records initially. The CRAH names start at 11
and go to 98 but there are a number of missing values (CRAH_Name), total
approx. 50.
A small example of the given matrix
Time_Stamp Power CRAH_Name
4/16/2012 00:00 3.4862 11
2006 Oct 23
6
nested if/else very slow, more efficient ways?
Hello,
in the data.frame "resultsfuzzy" I would like to replace the
characters in the second column ("5a", "5b", ... "5e") with numbers
from 1 to 5. The data.frame has 39150 entries. I seems to work on
samples that are << nrow(resultsfuzzy) but it takes suspicously long.
Do you have any suggestions how to make the character replacing more
2009 Jan 21
1
Joint significance of more regressors in summary
Dear All,
I was wondering if it is possible to generate a regression summary (it does
not matter at this stage if from an lm or for example a glm estimate) in
which to obtain the joint significance of a set of regressors?
Examples could be looking at the joint significance level of a polynomial,
or of a set of exogenous variables of which is of interest the linear
combination suggested by the
2004 Feb 28
2
questions about anova
Hello all,
I have two questions about anova (one is probably VERY basic...)
1 - when one asks for a summary of a trend surface created with surf.ls, he/she
gets:
> summary(g3r)
Analysis of Variance Table
Model: surf.ls(np = 3, x = gradiente$east, y = gradiente$north, z =
gradiente$num1)
Sum Sq Df Mean Sq F value Pr(>F)
Regression 215.7182 9 23.968693976
2008 Apr 07
1
plot with standar deviation (use abline and mad())
Hi list
Maybe someone can help with the following problem (thanks in advance):
I need to analisy a long list of data time \fluoscence
I want to make one plot with standard deviation and the average data... Could you suggest me how to make that..
The data have this distribution:
How can read and extrapolate this data?
pippo.csv
ps <- read.table(pippo.csv)
time fluorescence
0; 0
4.013; 62.96
2011 May 11
1
Total effect of X on Y under presence of interaction effects
Dear all,
this is probably more a statistics question than an R question but probably
there is somebody who can help me nevertheless.
I'm running a regression with four predictors (a, b, c, d) and all their
interaction effects using lm. Based on theory I assume that a influences y
positively. In my output (see below) I see, however, a negative regression
coefficient for a. But several of the
2003 Nov 23
6
RxFax
I am also having problems receiving my first fax. I get a 320byte file (for a
4 page fax). If I look a the tiff generated, is just has some few dots.
I am sending the fax from a notebook with Windows XP to an X100P and using
libtiff v3.5.7.
Has anyone successfully received faxes ?
Output to the console as follows:
Changed from phase 0 to 1
> Start receiving document
> Changed from
2006 Sep 26
5
putting stuff into bins...
Hi All,
I have a vector of data, a vector of bin breakpoints and I want to put my data
in the bins and then extract fanciful informations like the mean value of each bin.
I know I can write my own function, but I would have thought that R should have
somewhere a function that took as arguments something like (data, breaks, what
to do with the data in the bins). I surey could not find it
2012 Jun 13
2
asign variables in a "for" loop
Dear R-helpers,
I'm stuck with a little problem that surely has an easy solution but I
can't think of a way to solve it. I'd really appreciate any help you can
offer me!
I'll provide a small example. Given a dataframe data.txt that looks like
this:
ID freq Var Var_mean Ratio_mean Var_median
Ratio_median Var_sum Ratio_min Var_max Ratio_max Var_min
2019 May 10
18
[PATCH v2 0/8] vsock/virtio: optimizations to increase the throughput
While I was testing this new series (v2) I discovered an huge use of memory
and a memory leak in the virtio-vsock driver in the guest when I sent
1-byte packets to the guest.
These issues are present since the introduction of the virtio-vsock
driver. I added the patches 1 and 2 to fix them in this series in order
to better track the performance trends.
v1:
2019 May 10
18
[PATCH v2 0/8] vsock/virtio: optimizations to increase the throughput
While I was testing this new series (v2) I discovered an huge use of memory
and a memory leak in the virtio-vsock driver in the guest when I sent
1-byte packets to the guest.
These issues are present since the introduction of the virtio-vsock
driver. I added the patches 1 and 2 to fix them in this series in order
to better track the performance trends.
v1:
2008 Dec 18
1
IEEE 1394 - FireWire DV CAM controle
Hello I am new to WINE and my first question is,
Would an application running off WINE have access and be able to controle and capture from DV CAM be it Premier, AVID of Final Cut?
Thank you!
2012 Nov 01
3
Duda gráfico DIN A-4
Hola,
¿Alguien me puede indicar cómo conseguir que un gráfico se adapte al formato DIN-A4, con su correspondiente verticalidad?. ¿Hay que hacerlo "manualmente" o existe algún parámetro/función que lo controle?.
Gracias.
Eva
[[alternative HTML version deleted]]
2009 Feb 17
3
call file bug?
I have a problem of using call file to make an auto dial out call through
FXO channel. I defined the channel in the call file as "Channel:
DAHDI/1/8775203463" When I put the call file under the
/var/spool/asterisk/outgoing dir it did not call out but came to the
context I defined in extensions.conf as if the callee had answered the
call. If I make a call from an extension to
2009 Feb 04
5
Multiple subnets, multiple domains and one LDAP
Hi all.
I'm being asked to connect two networks, each having it's own PDC
and it's own LDAP backend. I would like to know if it's possible to make
both PDC's serve each a different domain with a single LDAP backend and
having users from DOMAIN1 roaming to DOMAIN2 and viceversa.
If it's of any use I have, in the past, set up a PDC+BDC
configuration having