Displaying 20 results from an estimated 356 matches for "u2s".
Did you mean:
u2
2013 May 16
2
A function that can modify an object? Or at least shows principles how to modify an object?
Hi, If I have an R object UUU, where the second element is U2, based on
"g" column of my.table
my.table of UUU is:
mmm ggg gindex map Info
aaa123 U1 1 1 1
aaa124 U1 1 2 1
bbb1378 U2 2 1 1
bbb8888 U2 2 2 0
bbb1389 U2 2 3
2011 Oct 27
2
creating vector os zeros for simulations (beginner's question)
Dear R helpers,
I know this is a simple task, but I'm new to R and I'm still havind difficulties with the language.
I want to create 30 vectors to be used in a simulation, each with 1 columm and 5 lines, of random numbers N(0,1).
What I tried was this:
N=150
u2<-rep(1:150,0)
u2<-list(matrix(0,5))
u2
for(i in 1:N)
{
u2[i]<-rnorm(5)
}
u2
### also tried this:
N=150
2009 Feb 05
1
optimal control, maximization with several variables?
Dear all,
I would like to solve the following problem, which can be done with optimal control theory or dynamic programming:
max(x,y) a*u1+b*u2+c*f1(u2) s.t. 0<u1<x, 0<u2<f2(x,u2), x'=f3(u1,u2,x)
which can be rewritten if optimal control theory should be applied as
H=a*u1+b*u2+c*f1(u2)+lambda*(x') s.t. 0<u1<x, 0<u2<f2(x,u2)
The maximum principle
2012 Dec 06
1
Anomalous outputs from rbeta when using two different random number seeds
Hi, in the code below, I am drawing 1000 samples from two beta
distributions, each time using the same random number seed.
Using set.seed(80) produces results I expect, in that the differences
between the distributions are very small.
Using set.seed(20) produces results I can't make sense of. Around half of
the time, it behaves as with set.seed(80), but around half of the time, it
behaves
2007 Mar 27
7
Replacement in an expression - can't use parse()
Dear all,
Suppose I have a very long expression e. Lets assume, for simplicity, that it is
e = expression(u1+u2+u3)
Now I wish to replace u2 with x and u3 with 1. I.e. the 'new'
expression, after replacement, should be:
> e
expression(u1+x+1)
My question is how to do the replacement?
I have tried using:
> e = parse(text=gsub("u2","x",e))
> e =
2006 Nov 21
2
Symbolic derivation using D in package stats - how do I properly convert the returned call into a character string?
Dear all,
I am using the function 'D' in the 'stats' package to perform symbolic
derivation.
This works very well and it is much faster than e.g. Mathematica (at
least for my purposes).
First, I would like to thank the development team for this excellent
function.
However, I run into trouble in some cases, particularly when I am to do
some operations on long expressions
2011 Mar 29
5
Integration with variable bounds
If this is posted elsewhere I cannot find it. I need to perform multiple
integration where some of the variables are in the bounds of the other
variables. I was trying to use R2Cuba function but cannot set the upper and
lower bounds. My code so far is :
int <- function(y){
u2 = y[1]
z2 = y[2]
u1 =y[3]
z1 = y[4]
ff <- u1*(z1-u1)*u2*(z2-u2)*exp(-0.027*(12-z2))
return(ff)
}
2009 Nov 23
18
OpenSuSE 11.2 bug, dom0-cpus limit causes xenwatch_cb running 100% and xm command freeze and xend dead
Hi all,
I have upgraded a test machine from OpenSuSE 11.1 to 11.2.
I have found following bug:
the server is a 2x quadcore intel box also 2x4=8cpu
If you limit the dom0 cpu with dom0-cpus= [1-7]:
- [xenwatch_cb] is running 100% cpu and makes var log entry every 65 sec
BUG: soft lockup - CPU#X stuck for 61s!
- xm commands not work
- xend is dead
if set dom0-cpus to 0 or 8:
- everything looks
2005 May 20
0
Message Stopped by Bothways : Block Greater than 40 recip
MailMarshal has stopped the following message:
Message: B0000edbce.00000001.mml
From: samba@samba.org
To: 0HMN001SJJEO7P@meandermc.nl; 0HMN002PGJ3XTO@meandermc.nl; 0HMN003MSRVTJ4@meandermc.nl; 0HMN004HCKM5BS@meandermc.nl; 0HMN00CLFJAHEI@meandermc.nl; 0HMU001QIAZXD7@meandermc.nl; 0HMU00DMEHZEM8@meandermc.nl; 0HN50004MEFYL8@meandermc.nl; 3Darjan@meandermc.nl;
2020 Apr 29
1
grid 4.0 generates wrong results when adding two complex units by sum()
Hi,
In grid 4.0, adding two complex units by `sum()` seems to give wrong results.
In the following example, `u1 + u2` gives the correct result, but `sum(u1, u2)` also `sum(unit.c(u1, u2))` give the wrong results.
```
library(grid)
u1 = 0.4*sum(unit(1, "inch"), unit(1, "mm"))
u2 = 0.1*sum(unit(1, "inch"), unit(1, "mm"))
u1
# [1] 0.4*sum(1inches, 1mm)
2018 Jan 15
1
"linkfile not having link" occurrs sometimes after renaming
There are two users u1 & u2 in the cluster. Some files are created by u1,
and they are read only for u2. Of course u2 can read these files. Later
these files are renamed by u1. Then I switch to the user u2. I find that u2
can't list or access the renamed files. I see these errors in log:
[2018-01-15 17:35:05.133711] I [MSGID: 109045]
[dht-common.c:2393:dht_lookup_cbk] 25-data-dht:
2011 Sep 11
3
(no subject)
Dear all,
Can anyone take a look at my program below?
There are two functions: f1 (lambda,z,p1) and f2(p1,cl, cu).
I fixed p1=0.15 for both functions. For any fixed value of lambda (between
0.01 and 0.99),
I solve f1(p1=0.15, lambda=lambda, z)=0 for the corresponding cl and cu
values.
Then I plug the calculated cl and cu back into the function f2.
Eventually, I want to find the lambda value
2008 Nov 17
0
Error while running virt-install
Hi All
I need some real help in using virt-install.
I have a fedora8 o/s + Xen installed and wanted to have RHEL4 as the Guest Domain.
I have mounted the CD1 of RHEL4 and wanted to install this as guest domain using virt-install and not able to do and seeking help.
Please let me know if the parameters to virt-install are correct and if not please let me know the correct parameters.
Contents of
2007 Apr 20
1
Estimating a Normal Mixture Distribution
Hi everyone,
I am using R 2.4.1 on a MacOS X ("Tiger") operating system. In the
last few day I was trying to estimate the parameters of a mixture of
two normal distributions using Maximum Likelihood.
The code is from Modern Applied Statistics with S (4th edition),
chapter 16 ("Optimization"), the dataset is available under MASS in
R. Unfortunately, when I tried out the
2016 Oct 18
3
CyberPower SX650G no driver.
Hi. I have this this on a Odroid-u2 backing it up. Have the USB from the
CyberPower SX650G plug in the Odroid-u2 and when I do a lsusb it looks
like this:
Bus 001 Device 008: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
The User's Manual list SE450G and SX650G. So I guess they would take the
same driver.
CyberPower web page has a driver but it's for i386 not ARM like
2011 Jan 27
2
help for a loop procedure
Hello everybody!
I’m trying to define the optimal number of surveys to detect the highest
number of species within a monitoring season/session.
To do this I want to run all the possible combinations between a set of
samples and to calculate the total number of species for each combination of
2, 3, 4 …n samples events, so that at the end I will be able to define which
is the lowest number of
2008 Nov 18
0
Fw: Error while running virt-install
Any help is greatly appreciated.
Thanks
Chandra Sekhar
--- On Sun, 11/16/08, Chandra Sekhar <sekhar_15@yahoo.com> wrote:
From: Chandra Sekhar <sekhar_15@yahoo.com>
Subject: [Xen-users] Error while running virt-install
To: xen-users@lists.xensource.com
Date: Sunday, November 16, 2008, 11:23 PM
Hi All
I need some real help in using virt-install.
I have a fedora8 o/s + Xen
2003 Nov 07
13
File Locking
Hi,
I'm running smbd 2.2.8. I'm a little green when it comes to file locking
with samba.
I have two users that access a single data file on a FreeBSD box. It's a
moneydance data file and obviously it gets messed-up if two users are
writing to it at the same time. Is there a way with samba to stop a second
instance of the file from being opened, something like a "File In
2016 Dec 07
4
You have not permission to view content of this location
OS: CentosOS 7
I have installed samba + openldap + smbldap-tools + pam by:
yum --enablerepo=extras install -y epel-release
yum install -y smbldap-tools
yum install -y samba openldap openldap-clients openldap-servers migrationtools
yum install -y nss-pam*
I know that smbldap-tools is a dead project, but I'm interested in it and would like research on it.
I create users and
2009 Jan 10
0
Performance problem when tagging mp3 files
Hello you,
maybe you can help me with a performance problem i?ve when tagging mp3
files from a windows vista system where the files are located on a samba
share hosted by a suse linux 9.3 (samba releases is 3.0.23).
these are my performance relevant settings.
# These settings are a suggestion for a local network. Cf. section
# 'socket options' in the man page of smb.conf and socket(7).