Displaying 20 results from an estimated 2000 matches similar to: "Binding dataframe with different length in rows and columns"
2005 Jan 29
1
Bootstrapped eigenvector
Hello alls,
I found in the literature a technique that has been evaluated as one of the
more robust to assess statistically the significance of the loadings in a
PCA: bootstrapping the eigenvector (Jackson, Ecology 1993, 74: 2204-2214;
Peres-Neto and al. 2003. Ecology 84:2347-2363). However, I'm not able to
transform by myself the following steps into a R program, yet?
Can someone could help
2005 Oct 19
3
sqlQuery and string selection
Dear alls,
Could someone tell me how to select a subset of string observations (e.g.
"females" in a sex column) with sqlQuery in the RODBC library?
Indeed, I'm trying to select a subset of observations on my access database
with:
female<-sqlQuery(mychannel,"SELECT Micromammiferes.sex
FROM Micromammiferes
WHERE (((Micromammiferes.sex)="females"));")
The sql
2007 Jan 23
0
New lmer: How to recode random effect ?
Dear all,
I ran the following model without any problem previously to the update of
lme4:
fm2<-lmer(data=NGud,family=poisson,
seed~hab*seedtray
+(1|site)+(1|site:hab))
I have 25 sites, 2 habitats ("hab") per site, 8 seedtrays per habitat (4 as
control, and 4 as treatment), and I'm interested in comparing the number of
seed in seedtrays as a function of the treatment and its
2005 Nov 02
1
nlminb failed to converge with lmer
Dear all,
I'm building binomial mixed-model using lme4 package.
I'm able to obtain outputs properly except when I include two particular
variables: date (from 23 to 34; 1 being to first sampling day) and Latitude
(UTM/100 000, from 55.42 to 56.53). No "NA" is any of those variables.
In those cases, I get the warning message: "nlminb failed to converge"
I tried to
2011 Mar 15
1
Problem with nls.lm function of minpack.lm package.
Dear R useRs,
I have a problem with nls.lm function of minpackl.lm package.
I need to fit the Van Genuchten Model to a set of data of Theta and hydraulic conductivity with nls.lm function of minpack.lm package.
For the first fit, the parameter estimates keep changing even after 1000 iterations (Th)
and
I have a following error message for fit of hydraulic conductivity (k);
Reason for
2005 Sep 16
3
Running glm in batch and exporting results (AIC) to HTML
Dear all,
I'm doing univariate Poisson regressions using the "glm" and "glm.fit"
functions. I have 5 independent datasets and each dataset, has one response
variable and more than 20 factors to test.
Currently, I run one regression at a time and manually take notes of the
results in excel to have a quick overview on what is going on in my data. My
poor method is very
2006 Sep 06
1
Help on estimated variance in lme4
Dear all,
I get an error message when I run my model and I am not sure what to do
about it.
I try to determine what factors influence the survival of voles. I use a
mixed-model because I have several voles per site (varying from 2 to 19
voles).
Here is the model:
###
fm5 <-lmer(data=cdrgsaou2,
alive~factor(pacut)+factor(agecamp)+factor(sex)+ResCondCorp+(1|factor(cdrgsa
ou2$ids)),
2015 Mar 05
2
Submit a package which use doParallel
On 05/03/2015 6:16 PM, Brian G. Peterson wrote:
> On Thu, 2015-03-05 at 18:03 -0500, Etienne Lord wrote:
>> Hi,
>>
>> I'm trying to submit my first package which depends on doParallel:
>>
>> Depends: R (>= 3.0), igraph, doParallel
>
> add foreach to your Depends. That should resolve the error you're
> seeing.
Please don't do that. Use
2003 Jun 12
1
Problème en R
Bonjour,
Je suis ?tudiant stagiaire ? Paris et je rencontre quelques difficult?s en
programmation R.
J'ai une data frame compos?e de 4 colonnes et 250 lignes et dont chaque
ligne est une famille.
J'ai fait un tirage al?atoire avec remise des familles 250 fois ce qui
m'am?ne ? une nouvelle dataframe.
A cette nouvelle dataframe, j'applique un programme qui calcule 2 param?tre
X1
2002 Jul 06
1
Aide sur samba
A monsieur Andrew
Je suis ?tudiant en fin de cycle de formation en
infomatique ? l'institut Africain d'informatique de
Libreville.J'?tais sur vos sites et je suis persuad?s
que vous ?tes la personne la bien plac?e pour
m'orienter et m'aider sur un sujet concernant
"l'authentification linux des sessions windows".Ainsi
on me demande de concevoir et de mettre en
2006 Jun 01
9
access model from controller
Hello,
Rather new to RoR, so I''m not sure about the terminology and such :-/ .
My question is: how could I know the model which is associated to a
controller?
For example:
- controller class is TestController, which is a subclass of
ApplicationController
- associated model class is Test
How could I write some code in a method of ApplicationController to
dermine the current
2006 Jul 12
12
pass hash as parameter
Hello,
How can I pass a hash as parameter from a template with url_for?
e.g. : if I have
test = { :a => "a", :b => "b" }
How can I pass that with my request? Is it possible to pass nested
hash''es to?
Right now,
url_for :action => :test, test
doesn''t seem to work.
Thank you,
--
2006 Jul 05
19
associations question
Hello,
I have a People table and a Addresses table. A person can have one or
more addresses, but should at least have one, so there is a address_id
field in People.
Now, I would like to have a form to fill the name of a new person and
its address from the same place. I could use person.address.country, for
example (it works), but I would like to simply use person.country for
some reasons
2006 Jun 21
5
module and cache/restarting server
Hello,
It seems I need to restart webrick everytime I modify a module in order
for my modifications to be taken into account. Is this normal and is
there a workaround?
Regards,
--
----------------------------------------------------------------------
Yannick Majoros http://www.inma.ucl.ac.be/~majoros
Informaticien UCL/INMA-MEMA
4, avenue G. Lema?tre
B-1348 Louvain-la-Neuve
Tel:
2015 Mar 06
0
Submit a package which use doParallel
Thanks for the quick reply.
Adding all the dependencies of doParallel (foreach, parallel, iterators) in
the DESCRIPTION and in import statements in NAMESPACE resolved the
build_win problems. Don't know why this is required for Windows build.
Thanks again.
2015-03-05 18:22 GMT-05:00 Duncan Murdoch <murdoch.duncan at gmail.com>:
> On 05/03/2015 6:16 PM, Brian G. Peterson wrote:
>
2005 Sep 14
3
mailbox corruption
Hello,
Here is the description of a problem we habe been having for some time.
Originally posted on the postfix-users mailing list, but no solution
found to date.
>>>> We have been having problems with our mail system for a couple of
>>>> months. Every now and then, some mailboxes get corrupted: a
>>>> half-truncated message, usually without headers, is at
2006 Jun 16
1
attributes and views
Hello,
I always have the same kind of design problem, which I am not sure how
to solve correctly:
- say I have a variable, "status", which I want to calculate once in my
controller, and access a couple of times in my view
- "status" variable initialization could happen in a subclass,
overriding the regular method for that
What I do now is using an instance variable
2006 Jun 01
3
more questions: human_name
One more question:
Is there some way to set the human_name of a column? e.g.: human_name
for column address1 shouldn''t be Address1 but "Address, line 1".
If not, should I make a hash with my custom names?
Best regards,
--
----------------------------------------------------------------------
Yannick Majoros http://www.inma.ucl.ac.be/~majoros
Informaticien UCL/INMA-MEMA
2009 Jan 19
3
bootstrapped eigenvector method following prcomp
G'Day R users!
Following an ordination using prcomp, I'd like to test which variables
singnificantly contribute to a principal component. There is a method
suggested by Peres-Neto and al. 2003. Ecology 84:2347-2363 called
"bootstrapped eigenvector". It was asked for that in this forum in
January 2005 by J?r?me Lema?tre:
"1) Resample 1000 times with replacement entire
2009 Jul 31
2
merging two data frame with colomns of different length
Dear all,
I am trying to merge two data frames based on a common column but for this
common column both data frame do not have the same length and associated
information. I checked previous exemples in the list but was not able to apply
them in my case... Is someone know how to do that? Below is my code with the
expected result:
# data frame 1
Id1 <- c(1,1,1,2,2,2,3,3,3)
Habit1 <-