search for: popul

Displaying 20 results from an estimated 6191 matches for "popul".

Did you mean: popl
2009 Jul 31
1
automation question
I have columns in two tables that need to be compared in order to get a statistic. The function calculating the statistic is somers2. Here are the two columns I must calculate, row by row. name1 name2 1 Pred_pres_a_indpdt[,3,,] population[,23] 2 Pred_pres_b_indpdt[,3,,] population[,24] 3 Pred_pres_c_indpdt[,3,,] population[,25] 4 Pred_pres_d_indpdt[,3,,] population[,26] 5 Pred_pres_e_indpdt[,3,,] population[,27] 6 Pred_pres_f_indpdt[,3,,] population[,28] 7 Pred_pres_a_indpdt[,4,,] population[,23] 8 Pred_pres_b_indpdt[,4,...
2012 May 21
2
Can't populate LDAP directory with smbldap-populate
I have the following environment # cat /etc/redhat-release CentOS release 5.8 (Final) # uname -r 2.6.18-308.4.1.el5 I have installed smbldap-tools from http://download.gna.org/smbldap-tools/packages/el5/smbldap-tools-0.9.8-1.el5.noarch.rpm. Configured OpenLDAP, but when I try to populate LDAP directory I got the following error messages # smbldap-populate -a Administrator -g 10000 -l 11111 -r 10000 -u 10000 Populating LDAP directory for domain SYSADM (S-1-5-21-206255134-223837211-2022137911) (using builtin directory structure) Use of uninitialized value in concatenation (.) or...
2010 May 26
4
More efficient way to use ifelse()?
# This is more about trying to find a more effecient way to code some simple vectorized computations using ifelse(). # Say you have some vector representing a factor with a number of levels (6 in this case), representing the location that samples were collected. Population <- gl( n=6, k=5,length=120, labels =c("CO", "CN","Ga","KO", "Mw", "Ng")) # You would like to assign a particular value to each level of population (in this case the elevation at which they were collected). In a vectorized approac...
2008 Sep 29
3
replicating dataframe rows
Dear all, I have a data.frame like the sample below, and I would like to expand my data.frame using "population" variable. So, for each line of my data.frame I would like that the new data.frame have many rows as the population collumn. place<-c("place1", "place2", "place3", "place4", "place5") population<-c(100,200,300,50,30) my.df<-data....
2010 Jan 09
2
aov function syntax
Hello, I have a simple question about using the aov function syntax (ie. * + or :) for the interaction of 2 factors. I have read the help files, and researched other sites, and have included my source files. My goal is to measure the signifigance of the interaction between population and condition (aka. population:condition). I can't seem to figure it out. 1. In the first example the significance of population:condition works with the "allData" but not with the "studentData." Can you please explain why it fails and how I can fix it? 2. In the seco...
2017 Sep 13
3
vcov and survival
...he behaviour of lm() and glm() isn't entirely consistent. In both cases, singularity results in NA coefficients by default, and these are reported in the model summary and coefficient vector, but not in the coefficient covariance matrix: ---------------- > mod.lm <- lm(Employed ~ GNP + Population + I(GNP + Population), + data=longley) > summary(mod.lm) Call: lm(formula = Employed ~ GNP + Population + I(GNP + Population), data = longley) Residuals: Min 1Q Median 3Q Max -0.80899 -0.33282 -0.02329 0.25895 1.08800 Coefficients: (1 not de...
2009 May 21
1
Error in smbldap-populate
...is is a stupid question i am newby in samba with ldap Im install a clear install the ubuntu 9.04 server follow this guide from ubuntu docs https://help.ubuntu.com/9.04/serverguide/C/samba-ldap.html https://help.ubuntu.com/9.04/serverguide/C/openldap-server.html but i get this error when i try to populate samba can somebody helpme? administrador@server:~$ sudo smbldap-populate Populating LDAP directory for domain GRUPORESASCO (S-1-5-21-1830305083-2452246421-2263414248) (using builtin directory structure) entry dc=gruporesasco,dc=loca...
2010 Jul 24
1
Doubt about a population competition function
Hi, I'm doing a function that describe two populations in competition. that's the function that i wrote: exclusao<-function(n10, n20, k1, k2, alfa, beta, t){ n1<-k1-(alfa*n20) n2<-k2-(beta*n10) if(t==0){plot(t, n10, type='b', xlim=range(c(1:t),c (1:t)), ylim=range(n10, n20), xlab='tempo', ylab='tamanho popula...
2005 Mar 11
1
smbldap-populate probleman
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [root@divide mdonada]# smbldap-populate Using builtin directory structure adding new entry: dc=auroraalimentos,dc=com,dc=br failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 389, <GEN1> line 2. adding new entry: ou=Users,dc=auroraalimentos,dc=com,dc=br failed to add entry: modifications...
2008 Mar 31
5
[LLVMdev] Additional Optimization I'm Missing?
Hello, I'm working on using the LLVM JIT for a little project of mine, amazing work first off! I have a question about optimization passes. I initially have this function I've created, in python it looks like this: OS_end = 50OS_start = 0OS_timestep = 1birth_rate = .3population = 30.0for time in range(OS_start, OS_end, OS_timestep): births = birth_rate * population deaths = 0.1 * population population_NEXT = population + births - deaths #generally put print statements here #updating stocks population = population_NEXT Then I can turn it in...
2004 Jan 28
2
PDC/LDAP
Hi, I'm using redhat 8.0 samba-3.0 and smbatool-0.8.3. when i run smbldap-populat, i get the following errors [root@samba root]# smbldap-populate using builtin directory structure adding new entry: dc=nijacol,dc=net failed to add entry: Already exists at /usr/local/sbin/smbldap-populate line 384, <GEN1> line 2. adding new entry: ou=Users,dc=nijacol,dc=net failed to add...
2010 May 26
1
More efficient way to use ifelse()? - A follow up
...al question. I would have guessed that initializing an empty vector of the right size would have sped up the subsequent operation, filling that vector, but it does not seem to have much of an effect. Any thoughts? # i.e. using N <- 6000000 # number of observations elevation <- rep(NA, length(Population)) # This does not really speed things up much. ##### Population <- gl( n=6, k=5,length=N, labels =c("Ga", "CO", "CN","KO", "Ng", "Mw")) # You would like to assign a particular value to each level of population (in this case t...
2012 Oct 01
1
lme help configuring random effects
...asic question but I really haven't found my answer yet in the archives.  I am trying to run a mixed effects model in R using the lme package. My experiment is such that I am interested in the effects of Temperature (2 levels) and Species (3 levels) on Growth. I collected individuals from three populations within each species. Because individuals within a population are potentially more similar to each other than individuals among populations, I want to include population as a random factor in my model.  I would have thought that I would structure the model as follows:  z<-lme(Growth~Temp*...
2015 Jun 17
2
Add-on argument in sample()
...mple(10, size = 3, replace = TRUE) >> 10 10 10 >> >>> sample(10, size = 3, replace = FALSE) >> Error > > I think the problem here is that the function actually does what you > would expect it to do given a statistic perspective. A sample of size > three from a population of one without allowing to draw elements again > that were drawn already is simply not defined. What shall the function > give back? If I understand right, this error is exactly what the poster would like to see, but which you dont get currently. If length(population) == 1, you will...
2011 Jan 04
5
scoping/non-standard evaluation issue
Dear r-devel list members, On a couple of occasions I've encountered the issue illustrated by the following examples: --------- snip ----------- > mod.1 <- lm(Employed ~ GNP.deflator + GNP + Unemployed + + Armed.Forces + Population + Year, data=longley) > mod.2 <- update(mod.1, . ~ . - Year + Year) > all.equal(mod.1, mod.2) [1] TRUE > > f <- function(mod){ + subs <- 1:10 + update(mod, subset=subs) + } > f(mod.1) Call: lm(formula = Employed ~ GNP.deflator + GNP + Unemployed + A...
2004 Jul 23
3
smbldap-populate issues?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys, I appear to have some issues with smbldap-populate, this used to work fine but I've recently upgraded the dev box from RH8.0 to Fedora Core 1, I assume it's related but I'm not sure exactly how... As you can see the first ou creates work, so it must at least be binding to the ldap server, but it seems to have a problem with the samba...
2017 Nov 23
3
[PATCH 00/15] drm: More plane clipping polish
From: Ville Syrjälä <ville.syrjala at linux.intel.com> This series first unifies all users of drm_atomic_helper_check_plane_state() to populate the clip rectangle with drm_mode_get_hv_timing(), and once everything is unified the clip rectangle handling is sucked into drm_atomic_helper_check_plane_state() away from driver code. Entire series available here: git://github.com/vsyrjala/linux.git atomic_plane_helper_clip Cc: Archit Taneja...
2008 Dec 15
1
Population Decay in R
Hi, I am new to R. I am trying to plot the decay of a population over time (0-50yrs). I have the initial population value (5000) and the mortality rate (0.26/yr) and I can't figure out how to apply this so I get a remaining population value each year. In excel (ignoring headings) I would put 5000 in A1, in B2 I would enter the formula A1*0.26, and the...
2013 Feb 18
1
help with population matrix
Hi guys, I am a biologist and an R newbie, and I'm learning how to create a simple population model. So, I have a population matrix ("pop")of 30 age classes of female (1:4 are non-breeders, 5:30 are breeders) which will be modelled for 100 years. > pop <- matrix(0,30,100) I then populate this matrix with 3 young adult females. > pop[5, 1] <- 3 I then want to...
2012 May 14
1
Post stratification weights in survey package in R
Hi all, I have data collected from a survey administered on a subset of the population. I also have the population proportions of variables such as gender, race and housing type. I would like to combine the weights from each separate cross tab (of gender, race and housing type) such that the weighted proportions of my survey data matches that of the population. I have tried the...