Displaying 20 results from an estimated 6000 matches similar to: "is get() really what I want here?"
2009 Sep 22
3
how to force R to evaluate variable?
Hi,
I want to construct a list as
Lst <- list(name_1=object_1, ..., name_m=object_m)
If name_1 is a variable with value "NAME1", how can I ask R to use
"NAME1" instead of 'name_1' as the name of the list element?
Thanks!
Yupu
[[alternative HTML version deleted]]
2004 Sep 10
1
mistake in FLAC++ metadata interface?
Hi all,
Using the FLAC++ level 2 metadata interface the following function
doesn't do what you would expect:
cuesheet->get_track(i).get_num_indices();
(where cuesheet is a FLAC::Metadata::CueSheet *)
It returns a bool instead of an int, why is this?
To get the mumber of indicies in a track I need to use:
cuesheet->get_track(i).get_track()->num_indices;
ie. retrieve the C struct
2004 Sep 10
3
reading vorbis comments with FLAC++?
Well, I'm quite frankly stumped. I'm writing a program that recurses
into directories and reads (among others) FLAC files and should be able
to read the vorbis comments ARTIST and TITLE from the file.
A while back, I was popen()ing to metaflac, because I didn't want to
mess with libFLAC. But now, it's the weekend, so I can mess around with
this. Here's the code in question:
2006 Feb 23
7
How to set a relationship with a value from a selection list
I realize this is probably a very basic problem but I''m developing my
first rails app and running into this problem.
I''m trying to write a photoblog application. I have a photo table and an
album table. Photo has a to-one relationship to Album. Photo.album_id =>
Album.id
In my view for photo I have a selection list that''s populated with all
the available albums.
2007 Sep 27
0
SOLUTION: How to use a custom icon for the Main Menu on the panel
After much head-scratching I finally figured out how to get a custom icon for
the Main Menu on the panel.
For the benefit of anyone else who wants a custom icon:
yum install gconf-editor
Run gconf-editor and go to apps - panel - objects
The main menu is one of the "object_0", "object_1" items. Just go through them
until you find the one that is the Main Menu.
Put a
2010 Oct 22
1
cv.lm() broken; cross validation vs. predict(interval="prediction")
<< repost because previous attempt was not plain text, sorry! >>
Hi Folks,
I have a pretty simple problem: after building a multivariate linear model,
I need to report my 95% confidence interval for predictions based on future
observations.
I know that one option is to use predict(interval="prediction") but
I'm curious about less parametric ways to get an estimate.
I
2012 Aug 09
1
summary() after changing contrasts
Hi,
After running a regression on a factor variable, summary() reports the
coefficients 'nicely,' ie, labelled with a string that is a concatenation
of the variable name and the factor label.
However, changing the base case a la
contrasts(variable)<-contr.treatment(N, base=x)
results in the coefficients being reported as a less-helpful concatenation
of variable name plus a digit.
Of
2004 Sep 10
0
reading vorbis comments with FLAC++?
--- Joshua Kwan <joshk@triplehelix.org> wrote:
> Well, I'm quite frankly stumped. I'm writing a program that recurses
> into directories and reads (among others) FLAC files and should be
> able
> to read the vorbis comments ARTIST and TITLE from the file.
>
> A while back, I was popen()ing to metaflac, because I didn't want to
> mess with libFLAC. But now,
2004 Sep 10
2
usage of C++ StreamMetadata interface
Josh Coalson wrote:
> [...]
> why do you need one? all the fields are available though method
> calls.
just an example:
I created an object of the type "FLAC::Metadata::VorbisComment".
How will this find it's way to
"FLAC::Stream::Encoder.set_metadata()" ???
Thomas
2011 Feb 14
1
Optimal Y>=q cutoff after logistic regression
Hi,
I understand that dichotimization of the predicted probabilities after
logistic regression is philosophically questionable, throwing out
information, etc.
But I want to do it anyway. I'd like to include as a measure of fit %
of observations correctly classified because it's measured in units
that non-statisticians can understand more easily than area under the
ROC curve, Dxy, etc.
2004 Oct 29
0
(PR#7320) Internal function isUME() in findGeneric() is
Jeffrey J. Hallman wrote:
>OK, I looked at the documentation and you're right about that. However,
>I'm curious about why the first argument to UseMethod is ever necessary.
>Is there ever a good reason for it to be something other than the name
>of the calling function? (Wouldn't that lead to confusing code?) If
>not, why bother with it at all?
>
>I've
2019 Oct 18
0
Top 7 Programming Languages That Employers Really Want
Your sample isnt representative.
On Fri, 2019-10-18 at 10:28 +0800, Turritopsis Dohrnii Teo En Ming
wrote:
> Subject: Top 7 Programming Languages That Employers Really Want
>
> Good day from Singapore,
>
> Article: Top 7 Programming Languages That Employers Really Want
> Author: Nick Kolakowski
> Date Published: 14 October 2019
> Link:
>
2019 Oct 18
0
Top 7 Programming Languages That Employers Really Want
-----Original message-----
> From:Turritopsis Dohrnii Teo En Ming <teo.en.ming.smartphone at gmail.com>
> Sent: Friday 18th October 2019 4:28
> To: J Martin Rushton via CentOS <centos at centos.org>
> Subject: [CentOS] Top 7 Programming Languages That Employers Really Want
[snip]
Your posting fails to follow the CentOS mailinglist policy [1], specifically:
Do not Cross
2009 Jan 19
5
Really want to dump microsoft....but have to run Photoshop
I am a rank newb at this and I appologize, I would have dumped MS long ago but I am not any kind of a coder, so having to write scripts and such is out for me.
I really want to dump everything microsoft.....but I have to be able to run Adobe Photoshop 7 and CS4......why do I keep PS7...because I can't get a lot of the plug-ins I use for any thing above 7 and a lot of the ones I can I have to
1997 Oct 04
1
R-alpha: paste problem in TASKS --- yes, I do really want it
This is from line 104 of current TASKS:
----------------------------------------------------------------------
TASK: "paste" problem
STATUS: Open
FROM: maechler@stat.math.ethz.ch
in S,
paste(....., collapse = string)
always returns ONE string (a character vector of length 1),
according to documentation and several examples.
in R, this is not true:
R> paste(rep("
2019 Oct 18
1
Top 7 Programming Languages That Employers Really Want
explanation to my comment.
It depends where you live.
On Fri, 2019-10-18 at 08:46 +0200, Georgios wrote:
> Your sample isnt representative.
>
>
> On Fri, 2019-10-18 at 10:28 +0800, Turritopsis Dohrnii Teo En Ming
> wrote:
> > Subject: Top 7 Programming Languages That Employers Really Want
> >
> > Good day from Singapore,
> >
> > Article: Top 7
2019 Oct 18
2
Top 7 Programming Languages That Employers Really Want
Subject: Top 7 Programming Languages That Employers Really Want
Good day from Singapore,
Article: Top 7 Programming Languages That Employers Really Want
Author: Nick Kolakowski
Date Published: 14 October 2019
Link: https://insights.dice.com/2019/10/14/7-programming-languages-employers-want/
This is just a quick survey. May I know what programming languages do
you know? I am considering being a
2006 Jan 27
17
Multiple Model Validation
Hey All !
I have a form which contains two models. I would like both models to be
validated, but have their validations aggregated on the page.
If I do:
<%= error_messages_for(:model1) %>
<%= error_messages_for(:model2) %>
It puts two big validation blocks on the page. I would like all the errors
from both models, but only in one validation box.
Is this possible ? All my attempts
2006 May 26
4
What association do I want here, has_ or belongs_to?
I thought I had a handle on this one but it''s causing me grief and I''m
hoping somebody can set me straight. I have an object AlertTemplate
which will contain a fill in the blank style hunk of web content. I
then have an object, Alert, which will have a relationship to one of
those AlertTemplate objects, plus some data.
So, in human speak, I''d think that an Alert
2009 Nov 07
2
plot.window arguments being ignored?
Hi,
Why, when I run the script below, is my y-axis range command being ignored?
I.e., the y axis graphed consistently fits the line specified in the plot
command, but never fits the line I'm trying to add in the subsequent line
command.
This is my first R script, so if I'm doing anything else wacky that jumps
out, please let me know. I'm an advanced Stata user, but R is new to me.