Displaying 20 results from an estimated 1100 matches similar to: "apply(table) miss factor structure"
2009 Jun 26
5
(performance) time in Windows vs Linux
Hi, all.
I began to migrate my R codes from Windows to Linux and surprised me
with an old question. I simplified the problem and made a little test to compare times at same
computer and the Linux time is worse (not so little) than Windows time:
28 vs 53 seconds.
I make an example (below) to facilitate all to see the difference.
I also build from source (it's my first time) a version of R to
2008 Oct 01
3
"tapply versus by" in function with more than 1 arguments
Hi. I searched the list and didn't found nothing similar to this. I simplified my example like below:
#I need calculate correlation (for example) between 2 columns classified by a third one at a data.frame, like below:
#number of rows
nr = 10
#the third column is to enforce that I need correlation on two variables only
dataf =
2003 Sep 19
3
Locate first index
Hi, all. I'd like to know if exists a manner to get the first index where
a condition is attained in a vector. For example,
There is a better solution than
first.index <- table(subject[corretor==27])[1]
(give me the subject for the first time that corretor is 27)?
Thanks,
========================================
Cezar Freitas (ICQ 109128967)
IMECC - UNICAMP
Campinas, SP - Brasil
2009 Dec 03
2
adding bmp/jpg/gif to an existing plot
Hi, all.
I searched a lot at mailing list, installed EBImage and gtk packages, but I
couldn't make this simple work:
How to add a image file (jpg or bmp ou gif) to an existing plot window (not
plot over the image), like the code below (pseudo function add.image):
plot(1:10,1:10,main="test")
image = read.X("myimage.jpg")
add.image(image, x.left=2, y.bottom=4,
2005 Feb 17
1
short plots: lwd, margin and postscript behavior
Hi all.
I'm working with a short plot (3x3 inches), but the
results (via postscript command) are not nice. The lwd
command don't affect the lines (that are very large)
and the margins don't change using oma, mai, mar, ...
Below I put an example. Moreover, save the graphics
via postscript command isn't working well (see the
attached ps).
Thanks by the help,
Cezar Freitas.
2003 Aug 06
2
evaluating and walking in names
Hi, all.
Suppose I have an object with names (like a data.frame) and I want to walk
in a loop with your names. How can I do this? The idea is like this:
my.data<-data.frame(matrix(runif(6),ncol=2))
names(my.data)
[1] "X1" "X2"
for(i in names(my.data)){
my.variable <- cat(paste("my.data$", i, "\n", sep=""))
print(mean(my.variable))
}
#it
2002 Mar 18
4
Plot 3d
There exists a plot 3d functions (or similar) in R?
Thanks,
========================================
Cezar Freitas (ICQ 109128967)
IMECC - UNICAMP
Campinas, SP - Brasil
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
2004 Jun 20
1
hidden markov models in R?
Hi, friends!
Has R estimation (library, for example) to do estimation in HMM?
Thanks in advance,
========================================
Cezar Freitas
Estatistico - Comissao Permanente para os Vestibulares / UNICAMP
Probabilidade e Estatistica Aplicadas - IME / USP | IMECC / UNICAMP
Campinas | Sao Paulo, SP - Brasil
2000 Nov 01
3
triangular matrix
How I make the below matrix
| a^0 0 0 ... 0 |
| a^1 a^0 0 ... 0 |
| a^2 a^1 a^0 ... 0 |
| . |
| . |
| . |
| a^n a^(n-1) a^(n-2) ... a^0 |
with no loops, where "a" is a constant?
========================================================================
C?zar de Freitas
Depto. de Estat?stica - UFPE
Recife - Pernambuco - Brasil
2013 May 29
0
Lista dos aprovados em vestibular Junqueiro
Lista dos aprovados em vestibular Junqueiro:
Vale de S?o Domingos: ANA L?CIA MENDES DOS SANTOS, LUANA FELIX BIE, FRANCISCO PAULO DE OLIVEIRA MESQUITA, POLLIANA BRASILIANA DE SIQUEIRA, JO?O CARLOS MOREIRA DE CARVALHO, DANIELE SILVA OLIVEIRA, MARIA JOS? BATISTA LEITE, J?SSICA MAYARA P. PAULINO. SOLANGE FERREIRA ANDRADE, BRENA RODRIGUES MACIEL, LUIS FABRICIO DE FREITAS SOUZA, H?LIO BARROS FERREIRA,
2007 Apr 05
2
about systemfit
Hello. I am still a newbie in R. Excuse me if I am asking something obvious. My efforts to get an answer through browsing the mailing archives failed. I want to perform an augmented Dickey-Fuller test and to obtain AIC and BIC and to be able to impose some linear restrictions on the ADF regression so as to decide the correct order of autoregression. However I could find no obvious way to impose
2002 Nov 11
2
making Samba works together with PAM
Ok fellows,
This is my last try. Please, anybody tell me if
something is missing on this list!
I need to setup on a Linux + Samba (PDC) to restrict
just one login per ID (not allow two logins with same
id).So:
1 - edit /etc/pam.d/samba -> chaging session line with
session required /lib/security/pam_limits.so
2 - in /etc/security/limits.conf:
* - maxlogins 1
3 - in smb.conf:
2014 Feb 27
3
i2c bus access
Hi,
I have a particular situation that syslinux could access a i2c bus to get
some data from specific device that my hardware has. Based on these data,
syslinux should or not to boot.
It's feasible to create some i2c infraestructure to syslinux access i2c
bus? It could be used to something more than only my needs?
I digged in gpxe code and it has code to provide some i2c functionality.
2007 Jul 02
1
error in make install "cp: cannot copy cyclic symbolic link"
Hi All,
I'm trying to build klibc against my own kernel source tree. The build
goes fine, the problem is to install it.
As usr/klibc/README asks, I've create a symlink called linux pointing to
my kernel tree:
lrwxrwxrwx 1 root root 25 Jul 2 16:18 linux -> /usr/src/linux-2.6.22-rc6
anderson-herzer:/usr/local/src/klibc-1.5# export LANG=C
anderson-herzer:/usr/local/src/klibc-1.5#
2010 Feb 22
1
Raster table: how separate lines with the same value (count > 1)
Dear all,
I intend to do some statistics with my raster table, like correlations or
regression analysis. For that, I need that each pixel be in one line, that
is, there is no count > 1. So, all columns should have the same number of
lines, when I compare (combine) rasters.
I'd like to know if there is a way to create lines and copy the values of
the lines, when count is > 1. So, even
2014 Feb 27
1
i2c bus access
On Thu, 2014-02-27 at 11:49 -0800, H. Peter Anvin wrote:
> On 02/27/2014 07:51 AM, Jo?o Henrique Freitas wrote:
> > Hi,
> >
> > I have a particular situation that syslinux could access a i2c bus to get
> > some data from specific device that my hardware has. Based on these data,
> > syslinux should or not to boot.
> >
> > It's feasible to create
2014 Feb 28
1
i2c bus access
Am 28.02.2014 12:11, schrieb Jo?o Henrique Freitas:
> Based on the above I will get the Mattias idea.
>
> Thanks a lot.
>
> [1]
> https://www.kernel.org/pub/linux/kernel/people/geoff/petitboot/petitboot.html
Petitboot seems to "Grand" for this purpose.
kexec is so simple if you put the kernel and initramfs you want to boot
into the initramfs used to test your
2002 Nov 05
1
"obey pam restrictions" and encrypted passwords
Hello everybody,
I?m using Red Hat 7.3 with Samba setup as a PDC, and
I?m having a doubt.
I am studying the directive "obey pam restrictions"
because I would like to limit the number of logins
with the same id. The documentation provided by SWAT
tells me that encrypted passwords (like used by
Windows98SE) will NOT follow these restrictions.
Anybody could tell me if this information is
2010 Aug 20
1
R and Java
Hi folks,
Maybe that is not the best place to ask, but I 'd like some of you could
help me...
I'm using jri to run R commands under Java, by its examples I can eval
expressions, returning single values or vectors to my Java variables. But, I
would like to know how to assign the values of a Java vector (like: double
x[] = {1.7 , 2.8 , 3.4}; ) to a R variable, so I can eval a function
2005 Aug 04
1
SAMBA LOG: tdb/tdbutil.c:tdb_log(725) tdb(unnamed): tdb_open_ex: /var/cache/samba/unexpected.tdb (835, 457947) is already open in this process
Please, What's this?
Please, please, how to resolve ?
[root@neosaldina-lj003 samba]# more nmbd.log
tdb(unnamed): tdb_open_ex: /var/cache/samba/unexpected.tdb (835,457947) is
alr
eady open in this process
[2005/08/04 00:12:51, 2] tdb/tdbutil.c:tdb_log(725)
tdb(unnamed): tdb_open_ex: /var/cache/samba/unexpected.tdb (835,457947) is
alr
eady open in this process
[2005/08/04