Displaying 20 results from an estimated 700 matches similar to: "replace loops with matrix"
2010 Sep 07
5
question on "optim"
Hey, R users
I do not know how to describe my question. I am a new user for R and write the
following?code for a dynamic labor economics?model and use OPTIM to get
optimizations and parameter values. the following code does not work due to
the?equation:
?? wden[,i]<-dnorm((1-regw[,i])/w[5])/w[5]
where w[5]?is one of the parameters (together with vector a, b and other
elements in vector
2010 Sep 15
1
optim with BFGS--what may lead to this, a strange thing happened
Dear R Users
on a self-written function for calculating maximum likelihood probability (plz
check function code at the bottom of this message), one value, wden, suddenly
jump to zero. detail info as following:
w[11]=2.14
lnw =2.37 2.90 3.76 ...
regw =1.96 1.77 1.82 ....
wden=0.182 0.178 0.179...
w[11]=2.14
lnw=2.37 2.90 3.76 ...
regw =1.96 1.77 1.82 ....
wden=0.182
2007 Oct 02
2
Strange errors
One of our users seems to have strange problems with his mailbox:
Oct 2 00:36:42 postamt dovecot: IMAP(rbxxxx): Corrupted transaction log file /home/r/b/rbxxxx/Maildir/.listen.CCL/dovecot.index.log: Append with UID 1096, but next_uid = 1097
Oct 2 00:36:42 postamt dovecot: IMAP(rbxxxx): Corrupted transaction log file /home/r/b/rbxxxx/Maildir/.listen.CCL/dovecot.index.log: Append with UID 1096,
2012 May 23
3
[LLVMdev] problem on clang+gold
Hi there,
I compiled clang+gold using a gcc under path /s/gcc-4.3.1/bin/. Later on
I do configure and make for flex-2.5.35, and the following command is
invoked:
"/path/to/my/gold/ld" --hash-style=gnu --no-add-needed --eh-frame-hdr -m
elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o flex
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crt1.o
2006 Jan 23
1
simple problem
Hi,
look this:
> summary(fam??lia)
Anacardiaceae Annonaceae Bombacaceae Cecropiaceae
2 4 1 3
Chrysobalanaceae Clusiaceae Euphorbiacaea Fabacea
1 1 4 3
Fabaceae Flacourtiaceae Humiriaceae indeterminada
2010 Jul 20
3
[LLVMdev] gold and debug information
On Tue, Jul 20, 2010 at 8:49 AM, Rafael Espindola <espindola at google.com>wrote:
> > export PATH="$LLVMPREFIX/bin:$LLVMGCCPREFIX/bin:$PATH"
> > export CC="llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm"
> > export CXX="llvm-g++ -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm"
> > export RANLIB=/bin/true
> > export
2012 Apr 11
1
row.names in dunes and dunes.env?
Hello,
I've got a small dataset on box turtle shell measurements that I would like to perform a detrended correspondence analysis on. I thought that it would be interesting to examine the morphometrics for each species in the area of overlap and in areas where neither species occurs.
I've taken a look at the dune and dune.env datasets in vegan. Using the str() command gives me
>
2013 Feb 08
2
NTLM autentication problems
I'm trying to configure Squid ntlm autentication on Samba4 DC. I followed
Squid and Samba's documentation and i got success when I login with user
natalia.silva, but if I log with natalia.vaz i get the error
--
Nat?lia Vaz Silva
Administradora de redes
2013 Apr 03
3
Deviance in Zero inflated models
Dear list,
I am running some zero inflated models and would like to know what the
deviance of the models. Unlike running a normal GLM where the deviance is
displayed in the summary all that is displayed in a summary of the zero
inflated model is the log likelihood. I hope this isn't a read the manual
question, and if it is I apologize for wasting your time, but if you could
still send me a
2024 Sep 06
1
BUG: atan(1i) / 5 = NaN+Infi ?
G.5.1 para 2 can be found in the C17 standard -- I actually have the
final draft not the published standard. It's in earlier standards, I
just didn't check earlier standards. Complex arithmetic was not in
the first C standard (C89) but was in C99.
The complex numbers do indeed form a field, and Z*W invokes an
operation in that field when Z and W are both complex numbers. Z*R
and R*Z,
2009 Jun 02
1
R: subset dataframe/list
Thank you all!!!
The problem was the decimal symbol! My data was saved in a
txt file, so I?ve introduced the dec="," in ?read.table?
and it worked. What I?ve done was
coeficientes<-read.table("coeficientes.txt",sep="\t",header=T,dec=",")
Then, subset worked fine
coeficientesWanted<-subset(coeficientes,b1>0)
Thanks again,
Cec?lia Carmo
2010 Aug 21
3
problems with merge() - the output has many repeated lines
Hi everyone,
I have been merging many big dataframes (about 80000 rows
each) and I never had this problem, but now it happened to
me and I want to know if someone knows what could be
happening.
The final dataframe has many rows, an impossible number! I
have done edit(dataframe) and I saw that there are many
repeated rows (all equal).
Thanks for any help,
Cec?lia Carmo
Universidade de
2015 Nov 07
2
Cannot chown file to active directory user/group on member server
Hi,
I need to change ownership of server files to user/group defined in active
directory ( using rfc2307 and unix attributes). Chown returns no error, but
'ls -lia' shows that file ownership is unchanged. What am I doing wrong?
archive-test:/archive/video # ls -lia ./test.mp4
17121 -rw-r--r-- 1 root root 2413096 ноя 2 19:50 ./test.mp4
archive-test:/archive/video # wbinfo -u
2006 Jan 08
1
How to insert snippets in textmate from the keyboard
I see an abbreviation in the menu called lia but how do I make it
work. I have tried a fascinatingly large number of possibilities
without success. I have searched the help file and googled the issue.
bruce
2023 Jul 05
1
textual analysis - transforming several pdf to txt - naming the files
convertpdf2txt <- function(dirpath){
files <- list.files(dirpath, pattern = "Consoli.*\\.pdf$", full.names
= TRUE)
files <- chartr("\\", "/", files)
x <- lapply(files, function(x){
pdftools::pdf_text(x) %>%
paste0(collapse = " ") %>%
stringr::str_squish()
})
new_names <-
2018 Jun 05
2
Help attack DDOS
I ask because I only receive attacks when I activate icecast. I can not do
anything at the application level ?. i used ubuntu server 16.04. thanks.
2018-06-05 14:52 GMT-05:00 Alejandro Flores <alex at mordormx.net>:
> I think you should contact to your connectivity provider, hopefully they
> can provide you the Anti DDOS protection.
>
>
> On Tue, Jun 5, 2018 at 2:16 PM,
2005 Jul 15
2
RES: Meet Me - this is not a valid conference number, please try again
Hello Haki
I fixed this problem following the instructions in /usr/src/zaptel-1.0.9/README.udev.
Regards
Cec?lia
-----Mensagem original-----
De: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com]Em nome de Erdem HAKI
Enviada em: sexta-feira, 15 de julho de 2005 05:11
Para: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Assunto:
2010 Feb 24
4
R Graphics into Latex
Hi,
I'm new in Latex and I'm trying to include an R chart into a Latex document.
This is what I'm doing:
1) In R: save the chart as a a Postcript in a folder C:/xxx/Density.eps
2) In Latex (using TexWorks on windows xp) :
In the preambule:
\documentclass[11pt]{article}
\usepackage{graphicx}
\begin{document}
blah..blah…blah
\begin{figure}
\centering
2023 Jul 05
1
textual analysis - transforming several pdf to txt - naming the files
I am taking my first steps in textual analysis with R.
I have pdf files consisting of company reports for several years (1 file corresponds to 1 company and 1 year).
My idea is to start by transforming all my pdf files into txt files for further treatment and analysis (this will allow me to group the files by company or by year, depending on the future analysis to be performed).
I do not have
2010 Aug 20
5
paired samples, matching rows, merge()
Hi everyone!
I'm matching two samples to create one sample that have
pairs of observations equal for the k1 variable. Merge()
doesn't work because I dont't want to recycle the values.
x <- data.frame(k1=c(1,1,2,3,3,5),
k2=c(20,21,22,23,24,25))
x
y <- data.frame(k1=c(1,1,2,2,3,4,5,5),
k2=c(10,11,12,13,14,15,16,17))
y
merge(x,y,by="k1")
k1 k2.x k2.y
1 1 20