Displaying 20 results from an estimated 3000 matches similar to: "na.rm problem"
2006 Aug 08
3
More Plots
Hi,
How can we plot two graphs ex. lets say correlation & ratio in the same
window?
I mean in the window I have :
1. Graph of correlation having X & Y axes
2. Graph of ratio having A & B axes
one above the other.
Thanks,
Sonal
2010 Aug 06
1
apply family functions
Hi all,
I would like to flag each record in the data according to certain conditions
as specified below.
For example,
If "Close_date" in *dat* is between ("Open" & "Close") or ("Open1" &
"Close1") or ("Open2" & "Close2") in *oc, *flag the records as "Valid",
otherwise "Invalid"
I would like to
2008 Nov 04
2
ggplot & annotating charts
Dear "R-listers"
I've been trying to figure out how to annotate charts in ggplot (ie add text
to line charts, highlighted boxes etc). By and large, I can get close to
what i want with base graphics, but would ideally like to use ggplot
whenever possible (additionally, i would like to add text labels
automatically to the chart). The code is below
I suspect I need to use geom_rect,
2006 Sep 30
1
Inner product
Hi,
How do we find out the inner product & norm of eigen vectors in R?
Lets say we have eigen vectors :
x1 = 1,2,3 and x2 = 2,-3,4
are there any functions buit in R which directly calculate the inner product
& norm of vectors?
Thanks,
Sonal.
[[alternative HTML version deleted]]
2000 Feb 29
1
smbfs failure mounting DAVE Macintosh share
Hi,
I tried to make my Linux box smbmount a remote share originating from a
Macintosh running the commercial package DAVE 2.5. The Linux box is a RedHat 6.0
with a 2.2.14 kernel (with smbfs inserted as a module) and samba-2.0.3; the iMac
ran MacOS9.
The directory to be shared, \\akemi\archivio, contained two files, aaa and bbb.
Here's what happened:
[root@sonal ~]# smbmount
2002 Nov 14
1
analysis of data with observation weights
Dear R-users,
Recently I had to analyze a dataset from household survey. The sample design
ensured, that each household in the population has the same probability of being
sampled. However the data were gathered from only one adult individual in each
household, who was randomly choosen by an interviewer (via "Kish grid"). To
equalize the probabilities for each INDIVIDUAL a casewise
2004 Apr 08
5
Restart Asterisk
Is it true that every time we make a change in the configuration file we need to restart the asterisk server. This will not be practical in the production environment.
Thanks,
2004 Apr 09
6
Incorrect handling of NA's in cor() (PR#6750)
Full_Name: Marek Ancukiewicz
Version: 1.8.1
OS: Linux
Submission from: (NULL) (132.183.12.87)
Function cor() incorrectly handles missing observation with method="spearman":
> x <- c(1,2,3,NA,5,6)
> y <- c(4,NA,2,5,1,3)
> cor(x,y,use="complete.obs",method="s")
[1] -0.1428571
>
2004 Apr 08
0
RE: Asterisk-Users digest, Vol 1 #3368 - 12 msgs
This message is in response to Flash operator problem. My op_server.pl seems to be same. I also created the variable.txt to the /var/www/html/panel folder and when I run htt://192.168.0.0/panel it just says at the bottom transferring data. I don't see anything on the screen.
I also checked my manager.conf file. I was able to telnet into the manager interface and it's running fine.
So I am
2010 Jun 09
1
bug? in stats::cor for use=complete.obs with NAs
Arrrrr,
I think I've found a bug in the behavior of the stats::cor function when
NAs are present, but in case I'm missing something, could you look over
this example and let me know what you think:
> a = c(1,3,NA,1,2)
> b = c(1,2,1,1,4)
> cor(a,b,method="spearman", use="complete.obs")
[1] 0.8164966
> cor(a,b,method="spearman",
2004 Apr 07
3
Asterisk call manager
I am trying to setup the call manager and I configured the manager.conf
file.
When I try to telnet 0.0.0.0 5038
It says trying 0.0.0.0
>>>>>
> Connected to localhost
> Escape character is '^]'.
> Asterisk Call Manager/1.0
> Then I type
> Action:Login (enter)
> Username:sam
> Secret:sam
> Then I enter twice
>
> I get Response: error
2010 Dec 24
1
Help required: binomial option pricing using package
I'm using the CRRBinomialTreeOption function (in package "fOptions") with a
loop for pricing a large number of options. But I can't transfer the values
obtained from this function to a "numeric" matrix as the outcome of this
function is not a simple numeric.
The following is the piece of code:
# USING THE FUNCTION
library(fOptions)
2013 Feb 18
3
Generating QFs from same sample
Dear All
I am kind of stuck up with a code a part of which seems to be causing a
problem, or at least I think so. May be the community can help me. It’s
simple but I suppose I am missing something.
I generate a data matrix X, say of order n*p, where n represents
independent row-vectors and p correlated col vectors. Let the row
representation be X = (X’_1, . . ., X’_n)’. I generate the
2010 Jan 21
3
Anova unequal variance
I found this paper on ANOVA on unequal error variance. Has this be
incorporated to any R package? Is there any textbook that discuss the
problem of ANOVA on unequal error variance in general?
http://www.jstor.org/stable/2532947?cookieSet=1
2016 Apr 14
3
Unequal column lengths
Hello,
I?ve tried several times to learn R, but have never gotten past a particular gate. My data are organized by column in Excel, with column headers in the first row. The columns are of unequal lengths. I export them as CSV, then import the CSV file into R. I wish to summarize the data by column. R inserts NA for missing values, then refuses to operate on columns with NA. R is importing
2011 Nov 01
1
help with unequal variances
Hello,
I have some patient data for my masters thesis with three groups (n=16, 19 &
20)
I have completed compiling the results of 7 tests, for which one of these
tests the variances are unequal.
I wish to perform an ANOVA between the three groups but for the one test
with unequal variance (<0.001 by both bartlett and levene's test) I am not
sure what to do.
I thought i would run
2019 Feb 11
4
Precise meaning of must alias?
I find myself needing to ask a very basic question. Specifically, what
do we expect "must alias" to mean in practice?
Consider a simple example:
load i64, i64* %p
%p.i32 = bitcast i64* %p to i32*
load i32, i32* %p.i32
Given two memory locations which describe the two memory accesses of
these loads, do we expect that alias analysis returns MustAlias? That
is, when we have two
2009 Oct 23
1
Bonferroni with unequal sample sizes
Hello-
I have run an ANOVA on 4 treatments with unequal sample sizes (n=9,7,10 and 10). I want to determine where my sig. differences are between treatments using a Bonferroni test, and have run the code:
pairwise.t.test(Wk16, Treatment, p.adf="bonf")
I receive an error message stating that my arguments are of unequal length:
Error in tapply(x, g, mean, na.rm = TRUE) :
2007 Sep 04
1
Robust linear models and unequal variance
Hi all,
I have probably a basic question, but I can't seem to find the answer in
the literature or in the R-archives.
I would like to do a robust ANCOVA (using either rlm or lmRob of the
MASS and robust packages) - my response variable deviates slightly from
normal and I have some "outliers". The data consist of 2 factor
variables and 3-5 covariates (fdepending on the model).
2006 Aug 18
2
dataframe of unequal rows
Hi,
How can I read data of unequal number of observations (rows) as is (i.e. without introducing NA for columns of less observations than the maximum. Example:
A B C D
1 10 1 12
2 10 3 12
3 10 4 12
4 10
5 10
Thanks in advance.
Sachin
---------------------------------
[[alternative HTML version deleted]]