Displaying 18 results from an estimated 18 matches for "fnr".
Did you mean:
fn
2004 Nov 11
6
scan or source a text file into a list
...ant a free build of the model with the same type of I/O.
The Matlab model reads a text file with the initial parameters specified as:
C:\Data\Carluc\Rport>more Params.R
# Number of years to simulate
nYears = 50;
# Initial year for graphing purposes
year0 = 1970;
# NPP/GPP ratio (cpp0 unitless)
fnr = 0.30;
# Quantum efficency
qe = 0.040;
That is, there are four input variables (for this run - there can be many
more) written in a way that R can understand them. In R, I can have the
model source the parameter text file easily enough and have the objects in
the workspace. The model function in...
2009 Mar 27
1
ROCR package finding maximum accuracy and optimal cutoff point
...simpler way):
> cutoff.list <- unlist(perf.acc at x.values[[1]])
> cutoff.list[which.max(perf.acc at y.values[[1]])]
If the above is correct how is it possible to find the average false
positive and negative rates? from the following
perf.fpr <- performance(pred, "fpr")
perf.fnr <- performance(pred, "fnr")
The dataset that consists of two columns; score and a binary response,
similar to this:
2.5, 0
-1, 0
2, 1
6.3, 1
4.1, 0
3.3, 1
Thanks,
Saeed
?---
R 2.8.1 Win XP Pro SP2
ROCR package v1.0-2
e1071 v1.5-19
2011 Jul 11
1
Named numeric vectors with the same value but different names return different results when used as thresholds for calculating true positives
...ength(x) - length(x[x <= bin.ct])
# Very curious. One last thing which may or may not be related:
# If I try and subset results from ctch using different values of
ctch$threshold, this happens:
ctch[ctch$threshold == 3.0, ]
# threshold val tp fp tn fn tpr fpr tnr fnr
#7 3 395.38 3029 16883 16888 111 0.96465 0.499926 0.500074 0.03535
ctch[ctch$threshold == 3.5, ]
# [1] threshold val tp fp tn fn tpr
fpr tnr fnr
#<0 rows> (or 0-length row.names)
ctch[ctch$threshold == 4.0, ]
# threshold val t...
2007 Apr 30
3
Read every second line from ASCII file
Dear all,
I have an ASCII file where records are separated by a blank. I would like to
read those data; however, only the data in rows 1, 3, 5, 7, ... are
important; the other lines (2,4,6,8,....) contain no useful information for
me.
So far I used awk/gawk to do it:
gawk '{if ((FNR % 2) != 0) {print $0}}' infile.txt > outfile.txt
What is the recommended way to accomplish this in R?
Simply reading the whole file, and deleting all the even-numbered lines is
not straightforward since these lines have different length (whereas lines
1,3,5,7,... have the same length).
I &...
2012 Dec 06
2
awk awk
..." '/./ { if ( match ( "^server_name$", $2 ) ) print $1 }' /opt/nginx/sites/*.conf \
| grep -v server_name | grep -v ';' | grep -v '}'
and the list of virtual host names is perfect except that I get this line first...
awk: (FILENAME=/opt/nginx/sites/ids.conf FNR=55) fatal: Unmatched ( or \(: /($host/
and I can't seem to dismiss it and I definitely don't want it in my data scrape.
Anyone know how to prevent this? (yes, there are lines in the file that say 'if ($host = something) {'
--
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
2011 Jul 29
2
xendomains and xl toolstack question
Hello all
I''ve just installed xen 4.1.1 on my server and was tryoing to tweak
xendomains script to work with new xl schema but I canĀ“t get it to save
domains. It does start them with some changes I made to it but when I issue
service xendomains stop I just get [ OK ] but domains stay running.
Has xendomains script been ported to work with 4.1.1 or is there another
alternative to it.
2020 Mar 28
0
[klibc:master] dash: README.dash: Include "dash:" and upstream commit in patches
....dash
+++ b/usr/dash/README.dash
@@ -9,7 +9,14 @@ HOWTO sync branch:
1) Generate mailbox of patches and fix up their paths:
- git format-patch --subject-prefix=klibc -N --stdout <changeset>.. \
+ git format-patch --subject-prefix='' -N --stdout <changeset>.. \
+ | awk '(FNR == 1 || blank) && /^From / { header = 1; hash = $2 }
+ header && /^Subject:/ { sub("^Subject:", "Subject: [klibc] dash:") }
+ { print; blank = /^$/ }
+ header && blank {
+ print "[ dash commit", hash, "]"...
2003 Sep 05
0
CVS compile errors
.../source
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared -L/usr/kerberos/lib
LDFLAGS = -L/usr/kerberos/lib
Generating smbd/build_options.c
Building include/proto.h
creating /var/local/compile/samba/source/include/proto.h
gawk: script/mkproto.awk:117: (FILENAME=lib/replace.c FNR=449) fatal:
cannot open file `lib/replace1.c' for reading (No such file or
directory)
Building include/wrepld_proto.h
creating /var/local/compile/samba/source/include/wrepld_proto.h
Building include/build_env.h
creating /var/local/compile/samba/source/nsswitch/winbindd_proto.h
creating /var/loc...
2006 Sep 27
1
Big bug with vfs recycle causing bugs and frequent "Delayed write failure"
Hi,
I'm running samba 3.0.22 with 2000 and xp clients.
Before upgrading to 3.0.22, i had vfs recycle module running like a charm.
But since i upgraded, i have several errors "delayed write failure" on
every systems 2000
and XP(every 10 seconds), and netscape 7 can't start anymore! In fact,
it seems to have a problem
with its lock file.So i tried veto oplocks = *.lock but still
2013 Mar 07
7
Fixes from the patch queue of the Debian package
Here are three patches that fix issues with out-of-tree building and
one that uses Ruby's own autoconf stuff for determining how Ruby
bindings should be built.
Cheers,
-Hilko
2013 Jun 26
0
NTLM authentication with dovecot.
...e_format = %n
disable_plaintext_auth = no
mbox_write_locks = fcntl
passdb {
driver = pam
}
protocols = imap pop3
ssl = no
userdb {
args = uid=10000 gid=10000 home=/mail/%d/%n
driver = static
}
----------------( wbinfo -t )------------------------------
checking the trust secret for domain FNR via RPC calls succeeded
----------------( wbinfo -u )------------------------------
list all users
----------------( wbinfo -g )------------------------------
list all groups
------------( /usr/bin/ntlm_auth --username=pepe )---------
password:
NT_STATUS_OK: Success (0x0)
------------(...
2013 Jun 26
3
Passdb + single sing on + NTLM + Thunderbird.
...e_format = %n
disable_plaintext_auth = no
mbox_write_locks = fcntl
passdb {
driver = pam
}
protocols = imap pop3
ssl = no
userdb {
args = uid=10000 gid=10000 home=/mail/%d/%n
driver = static
}
----------------( wbinfo -t )------------------------------
checking the trust secret for domain FNR via RPC calls succeeded
----------------( wbinfo -u )------------------------------
list all users
----------------( wbinfo -g )------------------------------
list all groups
------------( /usr/bin/ntlm_auth --username=pepe )---------
password:
NT_STATUS_OK: Success (0x0)
------------(...
1999 Aug 23
1
Strange 'Unimplemented feature in rep' error (PR#254)
...| Whenever you
Institut f. Programmstrukturen und Datenorganisation | complicate things,
Universitaet Karlsruhe; D-76128 Karlsruhe; Germany | they get
(Phone: +49/721/608-4068, FAX: +49/721/608-7343) | less simple.
>>> Ever had negative research results? http://wwwipd.ira.uka.de/fnr <<<
--please do not edit the information below--
Version:
platform = alpha-dec-osf4.0
arch = alpha
os = osf4.0
system = alpha, osf4.0
status =
status.rev = 0
major = 0
minor = 64.1
year = 1999
month = May
day = 8
language = R
Search Path:
.GlobalEnv, Autoloads, package:bas...
2010 Sep 02
2
[PATCH] Allow manual pages and POD files to be translated.
...-k 0 \
+ --package-name $(PACKAGE_NAME) \
+ --package-version $(PACKAGE_VERSION) \
+ --msgid-bugs-address libguestfs at redhat.com \
+ --copyright-holder "Red Hat Inc." \
+ po4a.conf
+ for f in `find $(LINGUAS) -name '*.pod' -o -name '*.pl'`; do \
+ awk 'FNR >= 14 { print }' < $$f > $$f.new; \
+ mv $$f.new $$f; \
+ done
+
+po4a.conf: $(PODFILES)
+ rm -f $@-t
+ echo "[po_directory] ." >> $@-t
+ echo >> $@-t
+ for f in $(PODFILES); do \
+ b=`basename -- $$f`; \
+ echo "[type: pod] $$f \$$lang:\$$lang/$$b"...
2006 Oct 05
11
Block comments in R?
Hello list,
Is there any way to perform a block comment in R? In C++, anything in
between a /* and */ is considered a comment, and it allows
programmers to comment out chunks of code for testing and debugging.
Is there such a feature in R?
Cheers,
Wee-Jin
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
...oo~$rqXuks
z7{PV3Ml{UYfnB2xGVLXRo5y$Xui5>lmhPrdX~E=x?YtB9IteGkX!G8$Sk{xjAqWOa
zyt<8|Zo7eat@@Nke>dVkbr<Q?vZ_fGIvqA?iP)#aVVjzO@}6}GNkRk;2!c4{VXyHl
z#dHS&=&w*HJ`+XJt!dMy;(`V96s?-xfP(iylt1Y_UQ{F&uBFc_pHfs*#HP>M;+pcs
z6P^P^9XG}_d=h>GXUWD+FCK$Q{P%d*FW(M&@SrJnZQh~&fSG#FnR(#|xv^(Zs0^{L
z-xPCKd3mI+w3xl)1MzdehRXvKiOktQh8<VS(n&YGg1GK0FUx#J^<kpT!7D!s`{Fp1
zQYm>#TdtXhkYaSl9nU}K0CN&Y^1=_NWNAuCrzJIdCx<@m&pQFTxo*~&8CPCr*vs8<
zj~F7m-nwCaOmbUQY3k>GXp_2vF*n|!ZmV828Z=GjaCbM^SEAVa$pAK(_T?A1kE?X2
zdz{=71awHgQPE=c?J`)EO1Wmoj{c8y<9hZ6QAR645Ee?36z...
2003 Dec 01
0
No subject
...ist-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Robert,
try (all in one line)
ifconfig| awk '{ORS="";OFS=";";RS=" ";if (FNR<2) print "interfaces =
"}BEGIN{FS=":|\n"} /inet addr/ {if (iface>0) print ";" ;print $2 ;iface++}
/Mask/ {print"/"$2} END{print "\n"}' > /usr/local/samba/lib/interfaces.conf
and in smb.conf:
include = /usr/local/samba/lib/interfaces.co...
2004 Apr 07
1
ZIB models
I attempted to contact Drew Tyre, but the email I have for him is no
longer in service.
Hopefully someone can help.
I'm using obs.error in R to model turtle occupancy in wetlands.
I have 4 species and 20 possible patch and landscape variables, which
I've been testing in smaller groups.
> zib.out<-obs.error(y=painted,m=numvis,bp=zvars,pcovar=7)
I get the following error