Displaying 10 results from an estimated 10 matches for "vct".
Did you mean:
act
2006 Nov 13
1
Question on applying vectors to data.frames by row
# Newbie alert
# I am wanting to multiply the rows in a dataframe by a vector.
# However, the default behavior appears to be for the vector to be applied
# column wise. For example:
vct <- 1:4
df <- data.frame(c1 = 5:10, c2= 6:11, c3=7:12, c4=8:13)
multTheTwo <- vct * df
multTheTwo
# This results in the vector getting cycled columnwise
# c1 c2 c3 c4
# 1 5 18 7 24
# 2 12 28 16 36
# 3 21 8 27 10
# 4 32 18 40 22
# 5 9 30 11 36
# 6 20 44 24 52
# But what I actually wa...
2005 May 05
2
Numerical Derivative / Numerical Differentiation of unknown funct ion
...umns
# (1 to n), r is the number of iterations, and n is the number of
# variables.
#-------------------------------------------------------------------------
h <- abs(d*x)+eps*(x==0.0)
for(k in 1:r) { # successively reduce h
for(i in 1:n) {
x1.vct <- x2.vct <- x
x1.vct[i] <- x[i] + h[i]
x2.vct[i] <- x[i] - h[i]
if(k == 1) a.mtr[k,i] <- (func(x1.vct) - func(x2.vct))/(2*h[i])
else{
if(abs(a.mtr[(k-1),i])>1e-20)
# some functions are unstable near 0.0...
2006 Mar 12
2
Numerical Derivatives in R
Hi,
Suppose I have an arbitrary function:
arbfun<-function(x) {...}
Is there a robust implementation of a numerical derivative routine in R
which I can use to take it's derivative ? Something a bit more than
simple division by delta of the difference of evaluating the function at
x and x+delta...
Perhaps there is a way to do this using D or deriv but I could not
figure it out.
2005 May 05
2
Numerical Derivative / Numerical Differentiation of unkno wn funct ion
...ations, and n is
> the number of
> # variables.
> #-------------------------------------------------------------
> ------------
>
> h <- abs(d*x)+eps*(x==0.0)
> for(k in 1:r) { # successively reduce h
> for(i in 1:n) {
> x1.vct <- x2.vct <- x
> x1.vct[i] <- x[i] + h[i]
> x2.vct[i] <- x[i] - h[i]
> if(k == 1) a.mtr[k,i] <- (func(x1.vct) -
> func(x2.vct))/(2*h[i])
> else{
> if(abs(a.mtr[(k-1),i])>1e-20)
> # some functio...
2010 May 29
1
modifying only certain rows in a data-frame
Hi,
I have a data-frame r (shown below is a subset) with the following column
names:
date time sample vct norm hct deltact
$time has 8 levels: 0h, 0.5h, .....24h. $deltact holds real numbers.
I want to subset this dataframe by the levels of $time. For all the rows
which have r$time == "0h" I would like to convert the present value of
r$deltact to 0.
Any pointers to a simple method...
2007 Feb 10
5
TMG -- MS Visual Foxpro errors
I'd like very much to be able to run "The Master Genealogist" under Wine. TMG is a MS Visual Foxpro application for genealogy database work. On my Kubuntu 6.10 system I have successfully downloaded and installed Wine 0.9.30, and then installed TMG ver. 6 including updates to 6.12, the current version. During TMG installation, there was a problem with a lack of
2006 Jul 18
2
how can I delete rows?
...+ +
60 Mexico MEX + +
61 Nicaragua NIC + +
62 Panama PAN + +
63 St.Lucia LCA - -
64 St.Vincent & Grens. VCT - -
65 Trinidad & Tobago TTO + +
66 United States USA + +
67 Argentina ARG + +
68 Bolivia BOL + +
69 Brazil...
2014 Jan 11
2
Linux reinstallation without rebooting? Alternative to kickstart and other such tools?
Hi All.
I am curious if it is possible to reinstall linux distribution to centos
(or another distro) if I have a remote linux server with no kvm access (i
do not want to use virtualization). I know that for installation pxe,
tftpboot and kickstart or a proper iso/cd and kickstart are standard
options. But for such operations I would need kvm access. Are there any
alternatives which do not need
2013 Apr 29
1
[LLVMdev] Many tests fail on Win64
I fell over this issue yesterday myself with lots of asserts being thrown.
I think the issue is in lib/IR/AsmWriter.cpp:1618 in the function
AssemblyWriter::printFunction(const Function *F)
Looking at the code I think the 2nd for loop should be preceded by the test
...
if (Idx < AS.getNumSlots())
Not sure why it doesn't fail on other platforms as it looks like it should
be a genuine
2008 Jul 29
2
problem upgrading 3.0.23->3.0.26
...browseable = No
[Software]
comment = Software images
path = /Share/Software
read list = @trusted_local_net_users
write list = law
browseable = No
[logs]
comment = Athena logs
path = /home/NT_Perflogs
guest ok = Yes
browseable = No
[vct]
comment = test
path = /var/cache/test
read list = law, @admin, root
write list = law, @admin, root
guest ok = Yes
browseable = No