Displaying 20 results from an estimated 5000 matches similar to: "efficient is.na tabulation?"
2008 Feb 21
2
overall comparison of an ordered categorical in a multiple regression
I entered the following:
formula<-nst~age+soc+inc+reg+imp
pnstlm<-lm(formula,nst)
summary(pnstlm)
imp and soc are ordered categorical variables but the summary does not give
an output of the overall p-values, just individual comparisons. I can't
find help for this in the manual. Is there a command or option change in
the summary to find out the overall p-value?
thank you in
1998 Nov 18
1
loading fortran with Redhat 5.1
Hi All,
I'm running R 0.63 on Redhat 5.1 and when I attempt
to load a fortran routine I get:
> dyn.load("/home/royle/Rstuff/varna.o")
Error in dyn.load(x) : unable to load shared library "/home/royle/Rstuff/varna.o"
this function varna.o was compiled with:
gcc -c varna.f
with no errors or warnings.
Does anyone have any thoughts on this?
Thanks! (and thanks to
1998 Nov 18
2
[jar@oriole.er.usgs.gov: Re: [R] loading fortran with Redhat 5.1]
I can not answer this (message only to me).
Certainly, some of you do..
Martin
-------
Date: Wed, 18 Nov 1998 13:22:47 -0500 (EST)
From: "J. Andy Royle" <jar@oriole.er.usgs.gov>
To: Martin Maechler <maechler@stat.math.ethz.ch>
Subject: Re: [R] loading fortran with Redhat 5.1
In-Reply-To: <199811181812.TAA26068@sophie.ethz.ch>
Hi Martin,
The reason I was
2009 Oct 10
2
Tabulation
Hi all,
I have a data set
x1 x2 x3
1 2 1
1 2 3
2 1 2
1 2 1
3 1 1
I want to tabulate in the following way.
1 2 3
x1 3 2 1
x2 2 3 0
x3 3 1 1
It is just like frequency distribution
Any help is highly appreciated
[[alternative HTML version deleted]]
2009 Jul 20
1
tabulate can accept NA values?
tabulate has
.C("R_tabulate", as.integer(bin), as.integer(length(bin)),
as.integer(nbins), ans = integer(nbins), PACKAGE="base")$ans
The implementation of R_tabulate has
if(x[i] != R_NaInt && x[i] > 0 && x[i] <= *nbin)
and so copes with (silently drops) NA. Perhaps the .C could have
NAOK=TRUE? This is useful in apply'ing tabulate to
2012 Apr 09
1
binned tabulation
Hi,
I am attempting to tabulate binned data. The '1' represents the appearance of the focal mouse pup, and '2' represents the disappearance of the focal mouse pup. The code written below is intended to calculate the total time spent appeared out of 3600s. For Sample 1, both the hand calculation and R code yield the same result, 50. A problem seems to occur when '1' is the
2006 Oct 04
2
Tabulation and missing values
I think this is one for Gabor. I don't seem to be able to find my way to
an answer despite numerous rereadings of factor and table.
Here is a toy example:
### Some data
EthnicCode <- c("European/Other", NA, "European/Other", "European/Other",
"Pacific", "European/Other", "European/Other",
2005 Apr 24
8
losing NFS connection
Hello there!
Perhaps this is a little off-topic, but I notice this only on the Centos
box.
I'm running Centos 4 on an AMD64 which has the following entries in the
fstab to connect to NFS shares on a Fedora3 box:
192.168.1.12:/home/angelo/ /home/angelo/NFS_share1 nfs
rw,addr=192.168.1.12 0 0
192.168.1.12:/home/angelo/data /home/angelo/NFS_share2 nfs
rw,addr=192.168.1.12 0 0
2006 Dec 31
3
tabulate: switching columns and rows
Hi all,
Please, is there any way of controlling factors in row/columns when using ftable/xtabs? As far as I can see, the last cross-clasifing variable in the formula will appear in columns. The previous ones, in rows. For instance, is it possible to make tension and replicate appear in columns?
ftable(xtabs(breaks ~ wool + tension + replicate, data = warpbreaks))
After some years using SAS
2011 Mar 19
2
persuade tabulate function to count NAs in a data frame
Hi,
I'd like to ask you a question again. It is basically about data frames, NAs and tabulate function.
I have this data frame. I already used this in one of the previous questions of mine. It intentionally looks this simple, my real 'df' dataframe is much bigger actually and again, I am not willing to annoy anyone with huge databases... So, my database:
id
2016 Jan 15
1
Embedding com32 modules and ldlinux.sys into one file
Google search
freedos rom
found two source-available implementations:
https://web.archive.org/web/20050104085311/http://rayer.wz.cz/romos/romose.htm
https://web.archive.org/web/20040806022202/http://linux.tu-varna.acad.bg/~lig/romdsk/
On 15 January 2016 at 13:43, Sergii Kolisnyk <kolkmail at gmail.com> wrote:
> As for BIOS, there are single-sector base memory (real mode) memdisk
>
2005 Mar 18
3
Non linear modeling
AFAIK most model fitting techniques will only deal with additive errors, not
multiplicative ones. You might want to try fitting:
log(y-x) = a*x + e
which is linear.
Andy
> From: Angelo Secchi
>
> Hi,
> is there a way in R to fit a non linear model like
>
> y=x+exp(a*x)*eps
>
> where a is the parameter and eps is the error term?
> Thanks
> Angelo
>
>
2010 Oct 03
1
tabulate() does not check for input bounds
Dear all,
it looks like that tabulate() does not check for the bounds of the input.
Reproducible example:
> b <- 1:2
> tabulate(b[1:100])
[1] 1 1
> R.version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status Patched
major 2
minor 11.1
year 2010
month 09
day
2006 Jan 17
4
Delphi Application.
Friends,
Sorry my english, i'am speaking from brazil. I have a problem with an
delphi application running on wine 0.93. The application open exactly,
but the buttons not it appears correctly. I send the link of screenshot:
http://200.195.11.195/~prolinx/screen01.jpg
any help is coming well.
Thanks!!!
Angelo Braga
2006 Jan 17
1
Fwd: Re: Delphi Application
---------- Mensagem reenviada ----------
Subject: Re: [Wine] Delphi Application
Date: Dom 01 Jan 2006 14:32
From: Bruno <cbruno@ferreiracosta.com.br>
To: wine-users@winehq.org
Cc: truls@asheim.ne
Olah Angelo Braga, tambem estou no Brasil, e meu ingles eh pessimo,
Acho que sei qual o problema com seus icones!
Jah tive um problema parecido, e resolvi instalando fontes TrueType
Originais,
2010 Jan 18
1
Getting Closer (was: Fencing options)
One more follow on,
The combination of kernel.panic=60 and kernel.printk=7 4 1 7 seems to
have netted the culrptit:
E01-netconsole.log:Jan 18 09:45:10 E01 (10,0):o2hb_write_timeout:137
ERROR: Heartbeat write timeout to device dm-12 after 60000
milliseconds
E01-netconsole.log:Jan 18 09:45:10 E01
(10,0):o2hb_stop_all_regions:1517 ERROR: stopping heartbeat on all
active regions.
2012 Jun 15
1
R under JVM
Dear all,
first of all I apologize for not having changed the object.
I just re-used an old email I sent some time ago.
The let us go into the question.
Our architecture is the following:
A (set of) java programs running under a jvm that passes data and instructions to an R instance via RNI
and at the end of the process extracts calculated data from R.
The question is: can I
2000 Mar 21
3
loading data in packages
Hi,
I'm new to R and have a question which seems like it should be easy.
I loaded the R port of my boot library and installed it. All of the
functions and help files are available but I can't seem to access the
data. The data directory was created and contains files with the
extension .rda. I tried to use the data() function but I get
> data(city)
Error: restore file corrupted -- no
2003 Oct 31
2
Summing elements in a list
Hi,
Suppose that I have a list where each component is a list of two
matrices. I also have a vector of weights. How can I collapse my
list of lists into a single list of two matrices where each matrix
in the result is the weighted sum of the corresponding matrices.
I could use a loop but this is a nested calculation so I was hoping
there is a more efficient way to do this. To help clarify,
2008 Jul 10
3
Sorting a matrix
Hi,
I want to sort a matrix by a specific variable without changing the
row binding between variables.
Ex.
Name Sex Age
Fred M 24
John M 18
Mary F 21
ordered by Age
Name Sex Age
John M 18
Mary F 21
Fred M 24
Thanks
Angelo