Displaying 20 results from an estimated 800 matches similar to: "templating language questions"
2009 Jul 13
0
new gem: renshi - a templating language
Hello,
Just letting people know about a project of mine - a new templating
language; Renshi. See http://github.com/biv/renshi/tree/master . It''s
also available via gem installation through rubyforge.
It was originally modelled on Python''s Genshi, although it turned out
rather differently. It''d be useful for dev.s who work with HTML handed
to them, or who find ERB a bit
2010 Feb 14
4
Problem in performing goodness of fit test in R.
I am trying to perform goodness of fit test using R. I am using this website http://wiener.math.csi.cuny.edu/Statistics/R/simpleR/stat013.html for help. However, I am unable to carry out the test successfully. My code follows. It is taken from the website just mentioned.
freq=c(22,21,22,27,22,36) # frequencies obtained after rolling the dice 150 times.
prob=c(1,1,1,1,1,1)/6 # specify expected
2010 Mar 13
2
Two questions, first about contingency tables, and second about table () and data.frame (), from a visually impaired user.
Hi all,
I want to make a contingency table in R. I want to tabulate two variables, one as the independent and second as the dependent variable. The IV has two categories, namely, birth complications, and no birth complications. The frequency of birth complication category is fifty, and the frequency of no birth complication category is 34. The categories and frequencies of DV follows.
2010 May 20
2
Reading results of commands in Microsoft Word typed in the terminal window, A question from a Blind R user.
Hi all,
I would like to read the results of the commands type in the terminal window in Microsoft Word. As a blind user my options are somewhat limited and are time consuming if I want to see the results of the commands that I have type earlier. for example if my first two commands were
x<-c(1,2,3,4,5)
mean(x)
and I have typed ten more commands after the first two commands it is not easy
2018 Mar 06
5
couple of how-to-do it in R questions regarding corelations and mean and SD of likert items
Dear list, I have the following how-to-do it in R, questions.
Suppose I have ten independent variables, and one dependent variable.
I want to find the Pearson correlation of all the IVs with the DV, but
not the correlation between the IVs.
What I know so far, about R, that I have to type the cor () function
ten times, each time requesting for a correlation between one IV and
the DV.
I was
2003 Dec 04
3
Operating environment for *
Hi all,
I've got some questions to post in regard to running asterisk in a
production-grade environment, specifically targeting high-density IVR
applications. No VoIP involved, just straight PSTN -> * and perhaps the
occasional outdials or agent-based predictive dialing.
1) Which user would you run * under?
2) What other security-related issues do you have to resolve?
3) How do you handle
2006 May 07
3
Needle + Rails - IoC
Hi,
I''m looking for past efforts to integrate Rails and Needle. I am
thinking of doing it myself but would be interested in seeing what
others have done before.
If there are examples of other IoC frameworks being used with Ruby I''d
be interested in hearing about them too. I find IoC to be a helpful
concept in general and, having glanced at a few existing Rails app.s, I
2018 Feb 23
2
How to Save the residuals of an LM object greater or less than a certin value to an R object?
Dear list members,
I want to save residuals above or less than a certain value to an R
object. I have performed a multiple linear regression, and now I want
to find out which cases have a residual of above + 2.5 and ? 2.5.
Below I provide the R commands I have used.
Reg<-lm(a~b+c+d+e+f) # perform multiple regression with a as the
dependent variable.
Residuals<-residuals(reg) # store
2009 Aug 02
3
two-factor linear models with missing cells
I am wondering how to interpret the parameter estimates that lm()
reports in this sort of situation:
y = round(rnorm(n=24,mean=5,sd=2),2)
A = gl(3,2,24,labels=c("one","two","three"))
B = gl(4,6,24,labels=c("i","ii","iii","iv"))
# Make both observations for A=1, B=4 missing
y[19] = NA
y[20] = NA
data.frame(y,A,B)
nonadd = lm(y ~
2011 May 06
3
Reading Yaml files and getting an 'uninitialized constant ActionView::CompiledTemplates' Error
Want to load a configuration from a yaml file ala config/database.yml. I am
following http://blog.innovativethought.net/2009/01/02/making-configuration-files-with-yaml-revised/
but, I am getting uninitialized constant
ActionView::CompiledTemplates::DOMAIN_CONFIG from rails. I''ve documented my
code to make this simpler. I''m running Rails 3.0.7
I know isn''t the
2003 Dec 03
1
Asterisk with Voicetronix OpenLine4 card
hi there,
i've been able to successfully run asterisk with the Voicetronix OpenLine4
card, it can accept calls and function normally. The only problem I'm
experiencing so far is getting the card to outdial to a third party.
What I'm trying to achieve is basically call bridging, where the caller
dials in to asterisk, some IVR plays and then attempts to perform a
"transfer"
2018 Feb 26
1
questions about performing Robust multiple regression using bootstrap
Dear list,
I am slightly confused about how I can do the following in R.
I want to perform robust multiple regression. I?ve used the Boot
function in CAR package to find confidence intervals and standard
errors. Inadition to these, I want to find the robust estimates for
the F test and r-square. Finally, I would like to know the
significance levels of bootstrap results.
Below I explain
2010 May 21
2
Getting sink to work with “message” on R 2.11.0 - what did I miss?
Hi all,
I am trying to use type message with sink, like this:
sink("all.Rout", type="message")
1+3
sink()
readLines(con = "all.Rout")
So to get the following output:
> 1+3
[1] 4
Obviously this doesn't work.
I tried some variations (based on the explanations in the help) but am
missing something on how to make it work.
Any suggestions?
(p.s: I need
2010 Feb 11
1
[PATCH] Provides a reference implementation management server.
The reference implementation server is based on TG2. The majority of the
boiler plate code has been stripped out to focus the server solely on
the functionality necessary for a management server.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
server/.gitignore | 4 +
server/MANIFEST.in | 4 +
2018 Feb 23
0
How to Save the residuals of an LM object greater or less than a certin value to an R object?
Residuals are stored as a numeric vector. The R software comes with a document "Introduction to R" that discusses basic math functions and logical operators that can create logical vectors:
abs( stdresiduals ) > 2.5
It also discusses indexing using logical vectors:
stdresiduals[ abs( stdresiduals ) > 2.5 ]
Note that in most cases it is worth going the extra step of making your
2004 Jul 27
3
Pickup an unanswered line
Apologies if this messages appears more than once, somehow sending it via gmane's nntp-server doesn't work as expected.
Been trying to send this message for 2 days now, without success so far...
---
Hello,
I'm exploring the capablities of Asterisk and must say I'm really impressed!
However, I don't need most of the options, but can't figure out the things
that appear
2003 Dec 16
2
Help! VoiceTronix Multi FXO/FXS Problem
Hello, Hacker
I install VoiceTronix OpenSwitch 12 port PCI Telephone Card,
and setting vpb.conf, extensions.conf following
My problem is:
When i dial to fxo(channel 9-12), it is ok,
but when i continue press exten 102, the channel crach with error messages
following
exception caught: VPBAPI_DIAL_INVALID_LEVEL, file: vpbdial.cpp line:872
Do i ignore some setting for VoiceTronix OpenSwitch12
2010 Apr 16
1
time_zone_select :priority_zones not working properly
I sent this earlier but I don''t think it ever came through. Sorry if this is a reposting.
When using :priority_zones for time_zone_select in a manner described
by the API docs for ActionView::Helpers::FormOptionsHelper I''m getting
errors.
Here is an API docs example:
time_zone_select( "user", ''time_zone'', TimeZone.us_zones, :default =>
2018 Mar 06
0
couple of how-to-do it in R questions regarding corelations and mean and SD of likert items
Hi
For first question, maybe I am completely wrong but
cor(swiss[,-1], swiss[,1])
should give you what you want in one step.
Second question
Without an example it is hard to say but maybe aggregate is the way forward.
> aggregate(iris[,1:4], list(iris$Species), function (x) c(mean=mean(x), sd=sd(x)))
Group.1 Sepal.Length.mean Sepal.Length.sd Sepal.Width.mean Sepal.Width.sd
1
2006 Jul 06
6
Class variables in templates/layouts
I''m having problems with class variables.. I have a class:
class Content::ApplicantsController < ApplicationController
layout "mylayout"
@@tab = "mystring"
[... the rest is standard scaffold-created stuff ...]
and a layout (mylayout.rhtml):
[...]
<title><%= @@tab.capitalize %></title>
[...]
And I keep getting this error:
uninitialized