Displaying 20 results from an estimated 24 matches for "nbr".
Did you mean:
nb
2010 Feb 19
6
retrieve from function
Hi, say I got the function:
> x=function(nbr){y<-rnorm(nbr);y1 <- mean(y);plot(y)}
how can I retrieve value of y1, when I need it.
I don't want:
> x=function(nbr){y<-rnorm(nbr);y1 <<- mean(y);plot(y)}
> y1
I want someting like:
"x$y1" and then I get the value
Many thanks, robert
--
View this messa...
2012 Feb 27
2
compare two data frames of different dimensions and only keep unique rows
...structure(list(Product = structure(c(1L, 1L, 1L, 1L, 2L, 2L, 3L, 4L, 5L, 5L), .Label = c("Cocoa", "Coffee C", "GC", "Sugar No 11", "ZS"), class = "factor"), Price = c(2331, 2356, 2440, 2450, 204.55, 205.45, 17792, 24.81, 1273.5, 1276.25), Nbr.Lots = c(-61L, -61L, 5L, 1L, 40L, 40L, -1L, -1L, -1L, 1L)), .Names = c("Product", "Price", "Nbr.Lots"), row.names = c(1L, 2L, 3L, 4L, 6L, 7L, 5L, 10L, 8L, 9L), class = "data.frame")
exportfile <-
structure(list(Product = c("Cocoa", "Cocoa&q...
2012 Feb 27
1
compare two data frames with same columns names but of different dimensions
...ructure(list(Product = structure(c(1L, 1L, 1L, 1L, 2L, 2L,
3L, 4L, 5L, 5L), .Label = c("Cocoa", "Coffee C", "GC", "Sugar No 11",
"ZS"), class = "factor"), Price = c(2331, 2356, 2440, 2450, 204.55,
205.45, 17792, 24.81, 1273.5, 1276.25), Nbr.Lots = c(-61L, -61L,
5L, 1L, 40L, 40L, -1L, -1L, -1L, 1L)), .Names = c("Product",
"Price", "Nbr.Lots"), row.names = c(1L, 2L, 3L, 4L, 6L, 7L, 5L,
10L, 8L, 9L), class = "data.frame")
exportfile <-
structure(list(Product = c("Cocoa", "Coco...
2009 Dec 30
2
Negbin Error Warnings
Hi,
I ran a negative binomial regression (NBR) using the Zelig-package and the negbin model.
When I then try to use the simumlation approach using the setx () and sim() functions to calculate expected values
and first difference for different levels of one of my independent variables, I get 50 errors warnings, telling me that the calculation...
2019 Jan 29
2
[cfe-dev] Create a BlockAddress array from LLVM Pass
Sorry for emailing both group.
As I will have a constant array of BlockAddress, what type I should use in Constant Array for its ArrayType declaration?
I am creating the list in following way:
unsigned int nBr = fit->second.size();
llvm::Constant *listBA[nBr];
unsigned int Idx = 0;
for (std::set<llvm::BasicBlock *>::iterator it = fit->second.begin();
it != fit->second.end(); ++it) {
BlockAddress *bba = BlockAddress::get(fn, *it);
listBA[Idx] = bba;
Idx++;
}
Constant *blockItems =
ConstantA...
2009 Aug 31
0
How to: Reduce nbr of processes (Ruby, Apache, BackgroundRB)
Hi there,
I''m currently trying to cut back on memory usage on my production
server.
I have noticed that I have 2 ruby processes running on my server: "ruby"
and "ruby1.8". Is this normal? If not, how do I get rid of the 2nd one?
For Apache, I have 6 processes running - what is that good for? How can
I reduce them or should I not?
Thridly, I have 3
2009 Dec 30
1
Fwd: Negbin Error Warnings
...information to help the helpers.
happy holidays,
milton
---------- Forwarded message ----------
From: Clara Brück <clara_brueck@web.de>
Date: 2009/12/30
Subject: Re: [R] Negbin Error Warnings
To: milton ruser <milton.ruser@gmail.com>
Dear Milton,
Thanks for your email. I ran the NBR-model and then tried to compute the
first differences of some
expected values:
m3.x1 <-setx(m3, advisory=1)
m3.x2 <-setx(m3, advisory=0)
m3.s1 <-sim (m3,x=m3.x1, x1=m3.x2)
However, I then get 50 error warnings, and there all like this:
In rpois(k, (mu * rgamma(k, theta))/theta) : NAs prod...
2009 Mar 29
1
Darker markers for symbols in lattice
...make the symbols bolder, much the way a
higher lwd makes lines bolder. Does anyone know of a library that
does that or can anyone think of a workaround to make the markers
stand out better without making them larger?
I'm using R2.8.1 with Windows Vista.
Thanks,
Naomi
--
Naomi B. Robbins
NBR
11 Christine Court
Wayne, NJ 07470
Phone: (973) 694-6009
naomi@nbr-graphs.com
http://www.nbr-graphs.com
Author of /Creating More Effective Graphs
<http://www.nbr-graphs.com/bookframe.html>/
[[alternative HTML version deleted]]
2009 Oct 30
2
DAHDI/ZAP overlap dialing
...e a "Sending complete" is released by Alcatel.
I'm using libpri 1.2.8 and Asterisk 1.2.31.1.
Alcatel trace:
> t3
--> Cleaning mtracer...
--> Positionning t3 filters...
+--------+-------+--------+--------+---------+---------+----------+------+
| filter | desti | src_id | cr_nbr | cpl_nbr | us_term | term_nbr | type |
+--------+-------+--------+--------+---------+---------+----------+------+
| 0 | ** | ** | * | ** | * | *** | 165 |
| 1 | ** | ** | * | ** | * | *** | 166 |
| 2 | ** | ** | *...
2007 Jun 05
1
multiple plot in odfWeave
...ilhat", password="******",
dbname="Aquagenome", host="mymachine.toulouse.inra.fr")
@
Liste des projets:
<<carte2, echo = FALSE, results= verbatim, fig = TRUE>>=
lp <- dbSendQuery(con, "SELECT nom FROM projets")
projets <- fetch(lp)
nbr=dim(projets)[1]
for (i in 1:nbr)
{
monprojet=(projets)[i,1]
myquery=paste("SELECT s.longitude, s.latitude, o.orgashort FROM
organisme o JOIN scientist s ON o.codeorga=s.codeorga JOIN partenaire p
ON p.codescientist=s.codescientist JOIN projets ON
projets.codeproj=p.codeproj WHERE pr...
2005 Apr 08
0
TR: The results of your email commands
...hink that I have forget a subscrib but I don't know
where. so
if you can help me, it will be great....
I have try an other program where y and x are directly calculate in sce
function but the time of running was to long.
Thanks in advance,
Anne KERVAHU
rm(list=ls())
nbr=10
#list of data
x_a<-c(0,0.5,1,1.5,2,3,4,6,8,15,20,40,60,80,120)
y_a<-c(5.4771213,5.0791812,4.8450980,4.3010300,4,2.30103,1.5563025,1.30103,1
,1.6434527,0.60206,0.60206,0.30103,0,0.4771213)
x_b<-c(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14)
y_b<-c(5.3424227,4.9867717,4.6627...
2011 Jul 21
4
squared "pie chart" - is there such a thing?
Hello!
It's a shoot in the dark, but I'll try. If one has a total of 100
(e.g., %), and three components of the total, e.g.,
mytotal=data.frame(x=50,y=30,z=20), - one could build a pie chart with
3 sectors representing x, y, and z according to their proportions in
the total.
I am wondering if it's possible to build something very similar, but
not on a circle but in a square - such that
2006 Oct 17
1
Some questions on Rpart algorithm
Hello:
I am using rpart and would like more background on how the splits are made
and how to interpret results - also how to properly use text(.rpart). I have
looked through Venables and Ripley and through the rpart help and still have
some questions. If there is a source (say, Breiman et al) on decision trees
that would clear this all up, please let me know. The questions below
pertain to a
2019 Jan 28
2
Create a BlockAddress array from LLVM Pass
Hi
Good day. For the following function local static constant array:
static const __attribute__((used))
__attribute__((section("data"))) void *codetable[] = {
&&RETURN, &&INCREMENT, &&DECREMENT, &&DOUBLE, &&SWAPWORD};
I have the following in the LLVM IR.
@sampleCode.codetable = internal global [5 x i8*] [i8* blockaddress(@sampleCode, %19), i8*
2004 Apr 19
0
One inflated Poisson or Negative Binomal regression
Dr. Flom,
I was searching the web for any examples of one-inflated negative binomial regression, and ran across your post. Fittingly, I am working on the analysis of data from the NIDA Cooperative Agreement where I had the pleasure of working with Sherry Deren and other folks at NDRI. NBR does a poor job of modeling number of sex partners. (I am using Stata.) Did you have any luck modeling a one-inflated negative binomial?
Brian Weir
Program Design & Evaluation Services
Multnomah County Health Department
bweir@pcez.com
brian.w.weir@state.or.us
[[alternative HTML version de...
2007 Jun 20
0
Query regarding connecting PABX with Application server
?
Dear all,
We are connecting the PABX with Application server.What we are trying is that when a nbr 1800 (this is not registered in PABX) is dialled the pabx should route the call to Application server .The PABX should also have intelligence to route the call by itself for its registered clients.For this scenario to work please guide us what are the files we need to change and other necessary det...
2009 Jul 21
1
problem with heatmap.2 in package gplots generating non-finite breaks
...quot; "main"
[33] "margins" "max.breaks" "max.raw" "max.scale"
[37] "min.breaks" "min.raw" "min.scale" "mmat"
[41] "na.color" "na.rm" "nbr" "nc"
[45] "ncol" "notecex" "notecol" "nr"
[49] "op" "retval" "revC" "rm"
[53] "rowInd" "rowsep" "RowSideCo...
2015 Jan 26
0
Libvirt guest receives dadfailed on all ipv6
...o Time 2 sec Max Age 10 sec Forward Delay 5 sec
Bridge ID Priority 12299 (priority 12288 sys-id-ext 11)
Address 000c.30d1.9700
Hello Time 2 sec Max Age 10 sec Forward Delay 5 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- --------
--------------------------------
Gi0/1 Desg FWD 4 128.25 P2p
Gi0/2 Desg FWD 4 128.26 P2p
Notice that the switch is the root of the STP.
The Centos7 host network is configured as:
DEVICE="e...
2007 Mar 27
0
[PATCH] make all performance counter per-cpu
...= perfc_info[i].nr_elements;
+ j += perfc_info[i].nr_elements;
break;
}
}
- arch_perfc_reset ();
+ arch_perfc_reset();
}
static xen_sysctl_perfc_desc_t perfc_d[NR_PERFCTRS];
static xen_sysctl_perfc_val_t *perfc_vals;
-static int perfc_nbr_vals;
+static unsigned int perfc_nbr_vals;
static int perfc_init = 0;
static int perfc_copy_info(XEN_GUEST_HANDLE_64(xen_sysctl_perfc_desc_t) desc,
XEN_GUEST_HANDLE_64(xen_sysctl_perfc_val_t) val)
{
- unsigned int i, j;
- unsigned int v = 0;
-...
2002 Jun 10
0
Hylafax printer for Respond
...= yes
writable = no
path = /var/spool/samba
Below is my global configuration as reported by testparm. Does anyone have
any ideas of what could be going wrong?
Thanks,
Erick
[global]
coding system =
client code page = 850
code page directory = /usr/share/samba/codepages
workgroup = NBROFFICE
netbios name =
netbios aliases =
netbios scope =
server string = Fax Server
interfaces = eth0
bind interfaces only = No
security = SERVER
encrypt passwords = Yes
update encrypted = No
allow trusted domains = Yes
hosts equiv =
min passwd length = 5
map to guest = Never
null passw...