Displaying 20 results from an estimated 1141 matches for "f3".
Did you mean:
3f
2007 Dec 06
1
updating a helper function in a R package
Hi list,
Sorry for the vague title, but here is the scenario.
I?m writing an R package, let?s say, ?pkg1?, which contains 3 functions: f1, f2, f3. f2 and f3 are helper functions for f1, i.e. f1 calls f2 which in turn calls f3.
f1 <- function(?) {
?.
f2()
?
}
f2 <- function(?){
?
f3(?)
?
}
f3 <- function(...){
....
}
Then, I wrote a new version of f3 and I want to test it. With the old version of ?pkg1? already loa...
2006 Aug 02
1
nut-usb fink version
...Cyber Power System/CPS RS232 USB BRIDGE for UPS
> > Using subdriver: APC/CyberPower HID 0.9
> > Looking up ff01001d
> > Looking up ff010002
> > entering string_to_path()
> > Looking up ff01001d
> > Looking up ff010002
> > Report : (8 bytes) =3D> 00 00 9C F3 00 03 10 D2
> > Path: ff01001d.ff010002, Type: Feature, Value: 0.000000
> > Looking up ff01001d
> > Looking up ff01000d
> > entering string_to_path()
> > Looking up ff01001d
> > Looking up ff01000d
> > Report : (8 bytes) =3D> 00 00 9C F3 00 03 10 D2
>...
2003 Jun 23
3
right assignment ("->") and functions
Hi everyone
check this out [R-1.7.0]:
R> f1 <- function(x){x^2}
R> f1 -> f2
R> f2(4)
[1] 16
R>
R> function(x){x^2} -> f3
function(x){x^2} -> f3
R> f3(4)
Error: couldn't find function "f3"
Why does right assignment "->" work in the first but not the second
case? Can anyone else reproduce this?
--
Robin Hankin, Lecturer,
School of Geography and Environmental Science
Tamaki Campus...
2011 Feb 14
4
sem problem - did not converge
...Item79, lam79, NA
F1 -> Item80, lam80, NA
F1 -> Item83, lam83, NA
F2 -> Item12, lam12, NA
F2 -> Item32, lam32, NA
F2 -> Item42, lam42, NA
F2 -> Item47, lam47, NA
F2 -> Item64, lam64, NA
F2 -> Item66, lam66, NA
F2 -> Item68, lam68, NA
F2 -> Item74, lam74, NA
F3 -> Item3, lam3, NA
F3 -> Item8, lam8, NA
F3 -> Item18, lam18, NA
F3 -> Item23, lam23, NA
F3 -> Item28, lam28, NA
F3 -> Item33, lam33, NA
F3 -> Item38, lam38, NA
F3 -> Item43, lam43, NA
F4 -> Item9, lam9, NA
F4 -> Item39, lam39, NA
F5 -> Item5, lam5, NA
F5...
2009 Oct 07
2
Plotting 1 covariate, 3 factors
...hird, which the code below does with
interaction.plot(). However, this is because I redefine the x to be 1
factor. Is there a way of getting it to plot without redefining it, and
ideally to not join up the lines BETWEEN levels a and b, but just join those
between after and before for one level of f3. I figure this could be done
by manually drawing over blank lines using ?lines but am not sure what the
coordinates would be and figured there is probably an easier way where
someone has dealt with this before. Any thoughts greatly appreciated,
Paul
#####
y<-rnorm(36)
f1<-rep(c("aft...
2011 Jun 01
3
error in model specification for cfa with lavaan-package
...x15=c(4,4,4,3,4,5,2,4,5,5),x16=c(5,4,3,3,4,4,3,3,4,5))
and I want to carry out a confirmatory factor analysis using the "cfa" function (lavaan).
library(lavaan)
then I specify my model
cfa.model<-' f1=~x1+x2+x3+x4+x5
f2=~x6+x7+x8+x9+x10+x11
f3=~x12+x13+x14+x15+x16 '
and run the cfa routine
fit<-cfa(cfa.model,data=df.cfa,missing="ml")
The output is an error message (here partly in german)
"Error in chol.default(S) : der führende Minor der Ordnung 4 ist nicht positiv definit
Fehler in Sample(data = data, group = g...
2011 May 16
0
SEM Model Not Converging
...Aanx, lam13, NA
F1->reDanx, lam14, NA
F1->reDstress, lam15, NA
F1->reAstress, lam16, NA
F2->reSI1, lam17, NA
F2->reSI2, lam18, NA
F2->reSI3, lam19, NA
F2->reSI4, lam20, NA
F2->reSimDE, lam21, NA
F2->reSimDD, lam22, NA
F2->reSimDrug, lam23, NA
F2->reSimDRD, lam24, NA
F3->RENOINTEND, lam25, NA
F3->RETRYNOTD, lam26, NA
F3->RENOSTARTD, lam27, NA
F3->REUSEDD, lam28, NA
F3->REWILLD1, lam29, NA
F3->REDU1, lam30, NA
F3->REDA1, lam31, NA
F3->RERIDE1, lam32, NA
F3->REAFTER1, lam33, NA
F3->REUSEC1, lam34, NA
F3->REUSESP1, lam35, NA
F3->RE...
2009 Jul 15
4
Extract pairs (rowname, columname) from a matrix where value is 0
Dear sir,
I have a matrix like
a<-matrix(c(0,2,0,4,0,6,5,8,0),nrow=3)
colnames(a)<-c("F1","F2","F3")
rownames(a)<-c("A1","A2","A3")
a
F1 F2 F3
A1 0 4 5
A2 2 0 8
A3 0 6 0
I want to extract all pairs (rownames, columnames) from which the value in
the matrix is 0
The result should be something like this
A1, F1
A2, F2
A3, F1
A3, F3
how it is pos...
2008 Jun 24
4
Find max of a row in data frame (like Excel)
Hi,
Here's the data we have:
> rs[1:5,]
probe_id f1 f2 f3 f4 M A f
1 A_68_P20002076 2 58 0 0 1.51778114 6.344453 59
2 A_68_P20002775 22 8 15 0 0.43419304 5.488819 59
3 A_68_P20005791 43 3 0 0 0.05698666 9.830594 59
4 A_68_P20005805 11 34 0 0 1.71076835 6.624038 59
5 A_68_P20006729 16 44 0 0 0.85498261 6.044229 59
I want rs$f...
2012 Jul 11
2
[LLVMdev] [NVPTX] llc -march=nvptx64 -mcpu=sm_20 generates invalid zero align for device function params
...t %agg.result, %struct.float2* nocapture byval %x, %struct.float2*
nocapture byval %y) nounwind inlinehint alwaysinline {
entry:
%y1 = getelementptr inbounds %struct.float2* %x, i64 0, i32 1
%0 = load float* %y1, align 4
%sub = fsub float -0.000000e+00, %0
%1 = tail call float asm "mad.f32 $0, $1, $2, $3;", "=f,f,f,f"(float
%sub, float 4.097000e+03, float %0) nounwind
%2 = tail call float asm "mad.f32 $0, $1, $2, $3;", "=f,f,f,f"(float %0,
float 4.097000e+03, float %1) nounwind
%y5 = getelementptr inbounds %struct.float2* %y, i64 0, i32 1
%3...
2012 Jan 22
4
Proxyndp issue
Tom
In Shorewall6 4.4.27 the following proxyndp entry:
2001:4d48:ad51:24::f3 eth2 eth0 no no
does not add the required route.
The code produced in /var/lib/shorewall6/.restart is:
qt $IP -6 route del 2001:4d48:ad51:24::f3/128 dev eth2 run_ip route add
2001:4d48:ad51:24::f3/128 dev eth2
Splitting the line into 2 separate lines:
qt $IP -6 route del 2001:4d48:ad51...
2006 Oct 23
2
getting the by() function to work properly
...s issue would be a huge time saver for analyzing my thesis data, so I'll try to be as concise as possible and hope that someone can give me a hand.
I am trying to run a function that I created, which works fine until I try to use it with the by function. That function is listed at the bottom (f3) just in case that might be the issue. Essentially I have compiled a large list of data coming from about 30 subjects with 88 trials each and I am trying to get that function to apply to each subject without having to manually attach each subject's data. The entire filename is 'ss2' s...
2012 Nov 09
0
[LLVMdev] [NVPTX] llc -march=nvptx64 -mcpu=sm_20 generates invalid zero align for device function params
...aram .align 4 .b8 __internal_dsmul_param_1[8],
.param .align 4 .b8 __internal_dsmul_param_2[8]
) // @__internal_dsmul
{
.reg .pred %p<396>;
.reg .s16 %rc<396>;
.reg .s16 %rs<396>;
.reg .s32 %r<396>;
.reg .s64 %rl<396>;
.reg .f32 %f<396>;
.reg .f64 %fl<396>;
// BB#0: // %entry
mov.b64 %rl0, __internal_dsmul_param_1;
cvta.local.u64 %rl0, %rl0;
ld.f32 %f0, [%rl0+4];
neg.f32 %f1, %f0;
mov.b64 %rl1, __internal_dsmul_param_2;
mov.f32 %f2, 0f45800800;
// inline asm
mad.f32...
2011 Nov 24
0
sem package (version 2.1-1)
...r.c <- cfa()
FA: Sentences, Vocabulary, Sent.Completion
FB: First.Letters, 4.Letter.Words, Suffixes
FC: Letter.Series, Pedigrees, Letter.Group
cfa.thur.c <- sem(mod.cfa.thur.c, R.thur, 213)
summary(cfa.thur.c)
(2) in equation format:
mod.cfa.thur.e <- specifyEquations(covs="F1, F2, F3")
Sentences = lam11*F1
Vocabulary = lam21*F1
Sent.Completion = lam31*F1
First.Letters = lam42*F2
4.Letter.Words = lam52*F2
Suffixes = lam62*F2
Letter.Series = lam73*F3
Pedigrees = lam83*F3
Letter.Group = lam93*F3
V(F1) = 1
V(F2) = 1
V(F3) = 1
cfa.thur.e <- sem(mod.cfa.thur.e, R.thur, 213)...
2011 Nov 24
0
sem package (version 2.1-1)
...r.c <- cfa()
FA: Sentences, Vocabulary, Sent.Completion
FB: First.Letters, 4.Letter.Words, Suffixes
FC: Letter.Series, Pedigrees, Letter.Group
cfa.thur.c <- sem(mod.cfa.thur.c, R.thur, 213)
summary(cfa.thur.c)
(2) in equation format:
mod.cfa.thur.e <- specifyEquations(covs="F1, F2, F3")
Sentences = lam11*F1
Vocabulary = lam21*F1
Sent.Completion = lam31*F1
First.Letters = lam42*F2
4.Letter.Words = lam52*F2
Suffixes = lam62*F2
Letter.Series = lam73*F3
Pedigrees = lam83*F3
Letter.Group = lam93*F3
V(F1) = 1
V(F2) = 1
V(F3) = 1
cfa.thur.e <- sem(mod.cfa.thur.e, R.thur, 213)...
2005 Mar 29
3
From FAQ 7.21 to a command like apply(sapply(list(f1,f2,f3),is.na),2,sum)
...can I
turn a string into a variable?" and asking what people want to do with
these strings.
My, certainly trivial application would be as follows:
Assume I have a data.frame containing besides others also the columns f1,
f2, ..., fn and I want to create a command like:
apply(sapply(list(f1,f2,f3),is.na),2,sum)
or
summary(cbind(f1,f2,f3))
Can I start from paste('f',1:3,sep='') to arrive at the abovementioned
command?
I tried get, parse, as.name, eval in diverse combinations but did not reach
a solution.
More generally my question is, how can I produce a "list" of...
2003 Jul 18
3
Problem indexing into array
Hi Folks,
Can anyone give me the tip I've been groping for with the
following question:?
mu: kx2x2x2 array of reals corresponding to means of k RVs
at the combinations of values (1,2)x(1,2)x(1,2)
of dichotomous variables F1,F2,F3
mu prints out as k rows (one for each Xi) of 8 numbers
M: N x (3+k) matrix of cases. The first 3 cols are values
of (F1,F2,F3) as above (and the remainder are values
of (X1,...,Xk) but this doesn't really matter).
AIM: For each row of M, find from mu the set of k...
2007 Apr 09
3
sem vs. LISREL: sem fails
...bably did not converge.
in: sem.default(ram = ram, S = S, N = N, param.names = pars, var.names = vars, "
What does it mean? Maybe I am doing something wrong?
I have 3 latent factors (Anxiety, Depression, and Fear) - each of them has 3 observed indicators (a1, a2, a3; d1, d2, d3, and f1, f2, f3)
Below is my script in R:
! ANALYSIS OF ANXIETY, DEPRESSION, AND FEAR - LISREL P.31
! Creating the ANXIETY, DEPRESSION, AND FEAR intercorrelation matrix (KM):
KM<-matrix(
c(1,.8,.83,.2,.21,.19,.18,.18,.18,
0,1,.81,.22,.24,.18,.19,.19,.21,
0,0,1,.22,.19,.2,.2,.2,.22,
0,0,0,1,.84,.82,.22,.22,.21...
2007 Dec 01
1
rsync --delete problems
...hin the last 2 days I have found out that rsync is not removing old
files from destination - directories renamed or removed from source.
In this example I want to sync files on my Debian Linux server to a NAS
drive. NAS drive is mounted using smbmount.
Using "-avhzn" dry-run it indicate f3 and file3 to be removed.
==> Method SMBFS mount
==> smbmount <diskstation> /mnt/NAS.20071201.204045 -o
username=root,password=xxx
==> rsync -avhzn --delete --progress /mnt/6/tst
/mnt/NAS.20071201.204045/Archive
building file list ...
4 files to consider
tst/f3/file3*deleting
tst/f3/...
2007 Apr 11
2
sem is not "taking" the model
...fixed t1's error variance at 0.414.)
Thank you!
model1 <- specify.model()
NECESSITY -> n1, NA, 1
NECESSITY -> n2, lam_nec_2, NA
NECESSITY -> n3, lam_nec_3, NA
NECESSITY -> n4, lam_nec_4, NA
FRUGALITY -> f1, NA, 1
FRUGALITY -> f2, lam_frug_2, NA
FRUGALITY -> f3, lam_frug_3, NA
TIME -> t1, NA, 1
n1 <-> n1, theta_n1, NA
n2 <-> n2, theta_n2, NA
n3 <-> n3, theta_n3, NA
n4 <-> n4, theta_n4, NA
f1 <-> f1, theta_f1, NA
f2 <-> f2, theta_f2, NA
f3 <-> f3, theta_f3, NA
t1 <-> t1, NA, 0.414
NEC...