Displaying 19 results from an estimated 19 matches for "newtest".
Did you mean:
newest
2005 Jan 31
2
coercing a list to a data frame, lists in foreloops
...missing entries. I need to add
rows for these missing entries to this data set. The only way I know to do
this is unsing a foreloop, but this won't work on a list. I've tried to
convert the list to a data frame, but that won't happen, either.
I want to fill rows in this table:
> newtest[10:15,]
yrmos yearmo snow.sum snow.mean snow.dep.mean prcp.sum prcp.mean tmin.min
10 195410 NA NA NA NA NA NA NA
11 195411 NA NA NA NA NA NA NA
12 195412 NA NA NA NA N...
2005 May 22
3
comparison operator, decimals, and signif()
...tion that I had written only to
discover that the problem I was having was with the
comparison operator. I assumed that the following
would return TRUE:
> testMean <- 82.8 + 0.1
> testMean
[1] 82.9
> testMean == 82.9
[1] FALSE
Apparently this has to do with deciml places. Look:
> newTest <- 82.0
> newTest
[1] 82
> newTest == 82
[1] TRUE
> newTest == 82.0
[1] TRUE
>
What does signif() do to my object called "testMean"
so that the comparison now evaluates to TRUE?
> signif(testMean, 3) == 82.9
[1] TRUE
Version info:
> R.Version()
$platform
[1] &qu...
2014 Aug 06
0
error configuring a public bridge --> uvt-kvm: error: libvirt domain 'newtest' has no NIC MACs available.
...er edition and i'm trying to deploy some virtual
machines in a server in such a way that they are visible in the same
network that the host machine.
The tools I'm using are the uvtool package and libvirt.
The error I'm getting is the following:
"uvt-kvm: error: libvirt domain 'newtest' has no NIC MACs available."
Here I'm providing the quickest way (I think) of reproducing my problem.
The steps to follow would be:
1) Creating a bridge. This is my /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate the...
2007 Aug 10
1
[Fwd: Re: How to apply functions over rows of multiple matrices]
...roneously instead of posting to List directly]
[...]
> Perhaps what you really intend is to
> take the average over those elements in each row of the first matrix
which correspond to 1's in the second in the corresponding
> row of the second. In that case its just:
>
> rowSums(newtest * goldstandard) / rowSums(goldstandard)
>
Thank you for clearing my thoughts about the particular example.
My question was a bit more general though, as I have different
functions which are applied row-wise to multiple matrices. An
example that sets all values of a row of matrix A to NA after t...
2014 Feb 11
2
$new cannot be accessed when running from Rscript and methods package is not loaded
Hi
Accesses the $new method for a class defined in a package fails if the
methods package is not loaded. I have created a test package with the
following single code file:
newTest <- function() {
cl <- get("someClass")
cl$new
}
someClass <- setRefClass("someClass")
(This is similar to code actually used in the testthat package.)
If methods is not loaded, executing the newTest function fails in the
following scenarios:
- Package "d...
2007 Aug 09
1
How to apply functions over rows of multiple matrices
...ng mApply in Hmisc) but I haven't found
out how to do it straightforward.
Applying to row indices works, but looks like a poor hack
to me:
sens <- function(test, gold) {
if (any(gold==1)) {
sum(test[which(gold==1)]/sum(which(gold==1)))
} else NA
}
numtest <- 6
numsubj <- 20
newtest <- array(rbinom(numtest*numsubj, 1, .5),
dim=c(numsubj, numtest))
goldstandard <- array(rbinom(numtest*numsubj, 1, .5),
dim=c(numsubj, numtest))
t(sapply(1:nrow(newtest), function(i) {
sens(newtest[i,], goldstandard[i,])}))
Is there any shortcut to sapply over the indices?
Best...
2004 Apr 23
3
MP3 encoding of Monitor files
...sox to resample to 32000 before
encoding, but that didnt work either. Do any of you convert your .wav
files to mp3?
Monitor call:
Monitor(wav|test)
'file' output:
test.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit,
mono 8000 Hz
Sox resample:
sox test.wav -r 32000 newtest.wav
Bladeenc call:
bladeenc newtest.wav newtest.mp3
mpg123 newtest.mp3 # sounds like Im listening in fast-forward mode...
Any suggestions on how I can get mp3 versions of files produced by
Monitor?
On Thu, 2004-04-22 at 15:49, Roscinante wrote:
> On Thu, 22 Apr 2004, Dennis Sorge wrote...
2006 Jul 13
1
Issue with Web Service
I have the following:
File: subscription_api.rb
class SubscriptionApi < ActionWebService::API::Base
api_method :newTest, :returns => [ [[:string]] ]
end
File: subscription_controller.rb
class SubscriptionController < ApplicationController
wsdl_service_name ''Subscription''
web_service_scaffold :invoke
def newTest()
return [ [''a'',''a''],[''b...
2019 Jun 25
2
Emails not visible after renaming folders
...der under TEST (like SUBTEST)
Structure:
TEST
|--SUBTEST
# doveadm mailbox list -u postmaster at testmailbox
Spam
Trash
Sent
Drafts
INBOX
TEST
TEST/SUBTEST
3. Move (or copy) mails from INBOX to SUBTEST (all looks fine, and
mails visible under SUBTEST)
4. Rename TEST folder to any new name, NEWTEST
Let`s try to view mails in mail client in NEWTEST-SUBTEST, folder have
no emails :(
mailsrv# doveadm -f table mailbox status -u postmaster at testmailbox
"messages vsize" NEWTEST*
mailbox messages vsize
NEWTEST 0 0
NEWTEST/SUBTEST 0 0
If doveadm force-resync...
2019 Jun 26
2
Emails not visible after renaming folders
...ter at testmailbox
>> Spam
>> Trash
>> Sent
>> Drafts
>> INBOX
>> TEST
>> TEST/SUBTEST
>>
>> 3. Move (or copy) mails from INBOX to SUBTEST (all looks fine, and
>> mails visible under SUBTEST)
>> 4. Rename TEST folder to any new name, NEWTEST
>>
>> Let`s try to view mails in mail client in NEWTEST-SUBTEST, folder have
>> no emails :(
>>
>>
>> mailsrv# doveadm -f table mailbox status -u postmaster at testmailbox
>> "messages vsize" NEWTEST*
>> mailbox????? messages vsize
>>...
2019 Jun 25
0
Emails not visible after renaming folders
...;
> # doveadm mailbox list -u postmaster at testmailbox
> Spam
> Trash
> Sent
> Drafts
> INBOX
> TEST
> TEST/SUBTEST
>
> 3. Move (or copy) mails from INBOX to SUBTEST (all looks fine, and
> mails visible under SUBTEST)
> 4. Rename TEST folder to any new name, NEWTEST
>
> Let`s try to view mails in mail client in NEWTEST-SUBTEST, folder have
> no emails :(
>
>
> mailsrv# doveadm -f table mailbox status -u postmaster at testmailbox
> "messages vsize" NEWTEST*
> mailbox messages vsize
> NEWTEST 0 0
> N...
2019 Aug 06
0
Emails not visible after renaming folders
...;> Trash
>>> Sent
>>> Drafts
>>> INBOX
>>> TEST
>>> TEST/SUBTEST
>>>
>>> 3. Move (or copy) mails from INBOX to SUBTEST (all looks fine, and
>>> mails visible under SUBTEST)
>>> 4. Rename TEST folder to any new name, NEWTEST
>>>
>>> Let`s try to view mails in mail client in NEWTEST-SUBTEST, folder have
>>> no emails :(
>>>
>>>
>>> mailsrv# doveadm -f table mailbox status -u postmaster at testmailbox
>>> "messages vsize" NEWTEST*
>>> mailb...
2009 Apr 05
1
problem with lattice tiff or bitmap: character size and color
Hi all,
I am trying to make tiff files of lattice plots at a resolution greater
than 300 dpi required by a journal (PLoS ONE). I have tried both the tiff
and bitmap functions. tiff keeps panel colors but reduces axes and tick
labels so they are nearly invisible. bitmap maintains correct label size
but only produces greyscale. Regular plots work fine with tiff; the
problem is only with lattice
2004 Jun 15
1
Cant create in a subdirectory...
...prot.c:reply_negprot(455)
Requested protocol [LM1.2X002]
[2004/06/15 01:24:17, 3] smbd/negprot.c:reply_negprot(455)
Requested protocol [DOS LANMAN2.1]
[2004/06/15 01:24:17, 3] smbd/negprot.c:reply_negprot(455)
Requested protocol [Samba]
######## cd into sharepoint and testdir and touch "newtest"#########
[2004/06/15 01:26:29, 3] smbd/process.c:process_smb(890)
Transaction 36 of length 80
[2004/06/15 01:26:29, 3] smbd/process.c:switch_message(685)
switch message SMBtrans2 (pid 22982)
[2004/06/15 01:26:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(2331)
call_trans2qfilepathinfo:...
2010 Oct 06
3
Assigning value to a vector from within a function
Hi all,
I am having trouble assigning a value within a vector using a variable
defined within a function. I suspect this has something to do with
namespaces but I cannot figure it out. Please reply directly to me if you
can help.
###begin code
#simple vector
test<-c(4,5,6)
#simple function to get a value from a vector
#works just like I would expect, has no problem indexing using the local
2006 May 30
0
RadRails generators throwing ''No such file to load'' errors
if anyone has a minute maybe you can help with a newbish problem im
having with radrails v0.6.3.
If i try to generate a migration through the ''generators'' panel i get
error messages like this:
myProj> ruby script/generate migration newtest
myProj> -e:3:in `load'': No such file to load -- script/generate
(LoadError)
from -e:3
Although the generators work fine if i send the commands directly from
the cmd shell. It seems theres something not set up right in radrails,
but as far as i can see the ruby and rails paths are se...
2007 Aug 11
0
DOE and interaction plot general question
...t; index approach):
>
> row.apply <- function(f, a, b)
> t(mapply(f, as.data.frame(t(a)), as.data.frame(t(b))))
>
> 3. The code for the example in this post could be simplified to:
>
> first.1 <- apply(cbind(goldstandard, 1), 1, which.max)
> ifelse(col(newtest) > first.1, NA, newtest)
>
> 4. given that both examples did not inherently need row by row operations
> I wonder if that is the wrong generalization in the first place?
>
>
> On 8/10/07, Johannes H?sing <johannes@huesing.name> wrote:
> > [Apologies to Gabor, who...
2006 Apr 03
6
getting fcgi to work
can some one help me with my install? i''m having a touch time getting
fcgi to play right with apache. i ran "gem install fcgi" and this is the
output i get:
Attempting local installation of ''fcgi''
Local gem file not found: fcgi*.gem
Attempting remote installation of ''fcgi''
Updating Gem source index for: http://gems.rubyforge.org
Building
2001 Apr 17
4
Samba 2.2.0 - glossy press release :-).
In the interests of full disclosure, here's the glossy press
release (with html as well ! :-).
Jeremy.
---------------------------------------------------------------------
Samba 2.2.0 - Powering the next generation of Network Attached
--------------------------------------------------------------
Storage.
--------
17