similar to: Forms, database, and yes I'm new

Displaying 20 results from an estimated 5000 matches similar to: "Forms, database, and yes I'm new"

2008 Feb 04
2
attachment_fu and form_tag for multiple models?
hi, i''ve got a page where i''m trying to save the user''s profile information and an image of the user, but i''m having trouble with using attachment_fu and the form_tag method. now i know attachment_fu isn''t designed for form_tag but am really hoping someone has a solution for this as frankly i''m stumped. here''s the form_tag part in
2024 Jun 09
2
head.ts, tail.ts loses time
Hello, All: The 'head' and 'tail' functions strip the time from a 'ts' object. Example: > head(presidents) [1] NA 87 82 75 63 50 > window(presidents, 1945, 1946.25) Qtr1 Qtr2 Qtr3 Qtr4 1945 NA 87 82 75 1946 63 50 Below please find code for 'head.ts' and 'tail.ts' that matches 'window'. Comments?
2024 Jun 10
1
head.ts, tail.ts loses time
zoo overcomes many of the limitations of ts: library(zoo) as.ts(head(as.zoo(presidents))) ## Qtr1 Qtr2 Qtr3 Qtr4 ## 1945 NA 87 82 75 ## 1946 63 50 xts also works here. On Sun, Jun 9, 2024 at 12:04?PM Spencer Graves <spencer.graves at prodsyse.com> wrote: > > Hello, All: > > > The 'head' and 'tail' functions strip the time
2024 Jun 10
1
head.ts, tail.ts loses time
Hi, Gabor et al.: Thanks for this. I should change my current application to use either zoo or xts, as Gabor suggests. However, I was surprised to learn that "[.ts" does NOT return an object of class "ts". I see that "head.default" and "head.matrix" both call "[", so "head" cannot return a ts object, because "["
2024 Jun 10
2
head.ts, tail.ts loses time
>>>>> Spencer Graves >>>>> on Mon, 10 Jun 2024 07:50:13 -0500 writes: > Hi, Gabor et al.: Thanks for this. I should change my > current application to use either zoo or xts, as Gabor > suggests. > However, I was surprised to learn that "[.ts" does NOT > return an object of class "ts". I see that
2024 Jun 11
1
head.ts, tail.ts loses time
It isn't really clear that it can't work. This does work by inserting NA's. library(zoo) as.ts(as.zoo(lynx)[ c(1:3, 7) ] ) ## Time Series: ## Start = 1821 ## End = 1827 ## Frequency = 1 ## [1] 269 321 585 NA NA NA 3928 On Mon, Jun 10, 2024 at 10:32?AM Martin Maechler <maechler at stat.math.ethz.ch> wrote: > > >>>>> Spencer Graves
2024 Jun 10
1
head.ts, tail.ts loses time
Hi, Martin et al.: On 6/10/24 9:32 AM, Martin Maechler wrote: >>>>>> Spencer Graves >>>>>> on Mon, 10 Jun 2024 07:50:13 -0500 writes: > > > Hi, Gabor et al.: Thanks for this. I should change my > > current application to use either zoo or xts, as Gabor > > suggests. > > > > However, I was
2008 Oct 29
2
Help using tapply with multiple variables
Dear list, I have the function (as a simple example, which is actually part of a larger function) pres.test<-function(N0=N0, N1=N1) { dt<-5 r<-log(N1/N0)/dt r } which calculates the annual growth rates in a population Where N0 is the population classified into age intervals, say 5 years, at time=1995, and N1 is the population by 5 year age classes at time=2000.
2014 Mar 01
1
[PATCH] nouveau: add valid range tracking to nouveau_buffer
This logic is borrowed from the radeon code. The transfer logic will only get called for PIPE_BUFFER resources, so it shouldn't be necessary to worry about them becoming render targets. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- A user reported a ~30% FPS improvement with an earlier version of this patch in TF2, and no visual regressions in CS, all on a nv50 card. (Source
2011 May 16
2
Cannot get multipart => true , running well in my form when using remote => true
I have a simple form , with a file field = form_for (Clip.new), :html => {:multipart => true} , :remote => true , do |f| = f.hidden_field :user_id, {:value => current_user.id} = f.text_field :name = f.text_area :description = f.file_field :image = f.submit I18n.t(:add) generating the html code <form accept-charset="UTF-8"
2003 Dec 03
1
net rpc vampire is sucking my brain!
Trying to migrate NT4 to samba 3.0.0 or 3.0.1pre3 with an ldap backend. I add a backup server account to the domain and joined. Getting the SID and the ldap init seem to work, and I start windbind. When I run net rpc vampire all I get is a ton of "Could not create posix account info for " errors. Then ofcourse pdbedit -L returns smbldap_search_suffix: Problem during the LDAP search:
2016 Jul 04
2
CALLERID on pjsip doesn't work?
On 1 July 2016 at 17:41, Joshua Colp <jcolp at digium.com> wrote: > > >> exten => 1234,Set(CALLERID(all)="Jon Doe" <+123456789>) >> same => n,Dial(PJSIP/phone123, 30) >> > > Your exten line has no priority, is that how it is in your dialplan? > Actually no, I stole that line from an earlier email to this list. Mine has a priority.
2013 Jan 04
3
help "reshaping" dataframe
List, I want to reshape my data, but I'm not sure how to do it... it might be a simple task, but don't know which package does this. "occ.data" (see below) is how my original data are arranged, and I know that with melt() I can reshape it like "y" (see below). However, I just want to build a matrix like the "y" matrix, but with only 2 dimensions. Something
2009 Feb 06
1
set caller id on outgoing calls through BRI ISDNlines
Use Set(CALLERID(num)=9999999999) instead of using CALLERID(all). Remember to set this BEFORE you Dial. -->> -----Original Message----- -->> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users- -->> bounces at lists.digium.com] On Behalf Of Vieri -->> Sent: 06 February 2009 12:36 -->> To: asterisk-users at lists.digium.com -->>
2017 Jun 14
3
CallerId presence issue
Hi, I've run into a minor snag trying to pass on CALLERID presence from one Asterisk to another via SIP (both running 13.16.0) I have a PRI coming in PBX_A and PBX_A is connected to PBX_B via SIP. PBX_A gets PRI calls on a 4 port Digium card, and each call naturally has its own callerid values and presence. I pass on those calls to PBX_B via SI, and I'm trying to pass on this
2006 Apr 25
1
Changing Windows Passwords
I have 6 domain controllers that were running samba-tng using openldap, Six months ago I converted one of the controllers to Samba3.0.20 and exported my ldap information to be compatible with Samba, every works fine. Specifically I could change passwords at the local windows machine. Two weeks ago I converted my other 5 controllers to Samba3.0.21b everything works except changing passwords at
2009 Feb 06
1
set caller id on outgoing calls through BRIISDNlines
You're quite right. We'll need to see your misdn.conf file to check the settings. -->> -----Original Message----- -->> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users- -->> bounces at lists.digium.com] On Behalf Of Vieri -->> Sent: 06 February 2009 13:49 -->> To: asterisk-users at lists.digium.com -->> Subject:
2011 Apr 20
1
Error in dimnames(x) for Poisson EWMA model
I am attempting to run a Poisson EWMA model using Patrick Brandt's source code. I get the following error when I run the code: Error in dimnames(x) <- dn : length of 'dimnames' [1] not equal to array extent Dimnames(x) looks like this: [[1]] NULL [[2]] [1] "mip" "div" "nom" "unity" "mood"
2008 Nov 24
1
lme4 and false convergence
Dear R-users, I am using the most updated package of lme4 (lme4_0.999375-2). I have a data set consisting of ~900 observations at ~440 independent survey sites. There are an unbalanced number of surveys at each site. I am attempting to develop several models evaluating the presence/absence of a species (PRES) at these random sites (SITE) using a number of predictor variables. The
2004 Oct 26
1
Secondary y axis
Hi I had a look at the help and previous discussions but I am still unable to solve these issues: 1 I have a set of air pressure data. I would like to plot a and b (both about 980-1000 millibar) and c, the difference (around 0-8 millibar). I use axis (4) to create a new axis (to the right) but I do not know how to assign c to the new axis which currently features the same values as the first