search for: behavioural

Displaying 20 results from an estimated 16501 matches for "behavioural".

Did you mean: behavioral
2007 May 24
25
Specs for ApplicationController, where to put them?
The Rails ApplicationController (app/controllers/application.rb) serves as an abstract superclass for all other controllers in a Rails application and is a good place to put methods and filters which you want all of your controllers to use. In my case I''m using it to provide methods such as "current_user" and "logged_in?" etc. By default, RSpec
2020 Sep 23
3
jitter-bug? problematic behaviour of the jitter function
Dear all, i have noticed some strange behaviour in the ?jitter? function in R. On the help page for jitter it is stated that "The result, say r, is r <- x + runif(n, -a, a) where n <- length(x) and a is the amount argument (if specified).? and "If amount is NULL (default), we set a <- factor * d/5 where d is the smallest difference between adjacent unique (apart from fuzz) x
2020 Sep 23
3
jitter-bug? problematic behaviour of the jitter function
Dear all, i have noticed some strange behaviour in the ?jitter? function in R. On the help page for jitter it is stated that "The result, say r, is r <- x + runif(n, -a, a) where n <- length(x) and a is the amount argument (if specified).? and "If amount is NULL (default), we set a <- factor * d/5 where d is the smallest difference between adjacent unique (apart from fuzz) x
2017 Jun 11
3
plspm package error in data frame
...essful. I used the following code: > "Attitude" = c(1, 0, 0, 0, 0, 0, 0, 0) > "Normative Beliefs" = c(1, 0, 0, 0, 0, 0, 0, 0) > "Subjective Norm" = c(0, 0, 1, 0, 0, 0, 0, 0) > "Control Beliefs" = c(1, 0, 1, 0, 0, 0, 0, 0) > "Perceived Behavioural Control" = c(0, 0, 0, 0, 1, 0, 0, 0) > "Intention" = c(0, 1, 0, 1, 0, 1, 0, 0) > "Behaviour" = c(0, 0, 0, 0, 0, 0, 1, 0) > TPB_path = rbind(`Behavioural Beliefs`, Attitude, `Normative Beliefs`, `Subjective Norm`, `Control Beliefs`, `Perceived Behavioural Control...
2007 Jun 23
4
inverse examples? (should fail)
The new "pending" example feature reminds me of a feature I''ve been bouncing around in my head, to aid in refactoring. Often, when I''m changing existing behaviour, I know that certain aspects of the old behaviour should change. Imagine changing the "it" method to perhaps "not" or "old" or "removed"... The behaviour would be to
2007 Jan 17
4
changing the default behaviour of to_xml for has-many: associations
I recently submitted a patch to work around an issue I was having & added a new optional behaviour to the to_xml method but on further reflection I wonder if the default behaviour should be changed. The gory detail, documentation and test case is all here... http://dev.rubyonrails.org/ticket/7004 Here''s a brief example... class Person < ActiveRecord::Base has_many: children
2017 Jun 12
0
plspm package error in data frame
...A, TPB_path, TPB_blocks, modes = TPB_modes) Error in is_tabular(x) : object 'TPBDATA' not found So we need to know what 'TPBDATA' is. Rui Barradas Em 12-06-2017 00:19, Sarah Sinasac escreveu: > Hello Rui, > I must have missed that line when I copied and pasted my code. > Behavioural Beliefs is: > "Behavioural Beliefs" = c(0, 0, 0, 0, 0, 0, 0, 0) > > Thank you, > Sarah > > On Sun, Jun 11, 2017 at 4:36 PM, Rui Barradas <ruipbarradas at sapo.pt> wrote: >> Hello, >> >> Your code throws an error before the line you've mentione...
2019 Apr 11
3
RFC: Feature: MENU HIDDEN behaviour on ANY key
Hello, Here's a small enhancement feature for menu.c32. Looking for feedback before starting any coding (not sure when I'll have time for implementation) Regards, Dany St-Amant *Problem statement* When MENU HIDDEN is used on an headless server, any noise on the serial console can interrupt the boot; it would be preferable if there only specific keys were allowed to interrupt, reducing
2009 Mar 13
5
Selecting / creating unique colours for behavioural / transitional data
Dear all, This seems like a simple problem but i've searched the help files and tried various options but failed, so apologies in advance for asking what i'm sure is an easy thing to do! In short, I have displayed behavioural data using the TraMineR package such that there is a colour change between the transition of behaviours, however, all the methods that i have used thus far have given me gradual changes in colour such that it is impossible to tell the difference from several of the behaviours. I have looked in the...
2007 Oct 23
10
How is everyone structuring stories?
Bleeding-edge story-writers, How are you structuring your specs? I am working on a new project and tried this: ./lib ./blah ./spec ./blah ./stories But it breaks autotest, so I moved stories parallel to lib and spec. Also what about suffixes? I have adopted "xyz_story_spec.rb", and "xyz.story" for the time being, with the line runner =
2007 Nov 01
8
Specifying mixins
Hi folks, Can anyone share some accumulated wisdom about the best way to spec mixins in general, and (Jamis Buck-style) ActiveRecord "concerns" in particular? The standard situation here is that there''s a bunch of functionality, related by concept if not by implementation, that one wants to inherit in many different classes (e.g. ActiveRecord models) without having to
2007 Apr 30
1
[PATCH] Option for activation behaviour on window close
Hi, please find attached a patch that makes the behaviour of window activation when a window is closed optional. Currently, always the last active window is activated. Sometimes this might not be the desired behaviour, but users (like me ;-) ) would like the window under the pointer to be activated. This patch adds the latter behaviour as an option while still keeping the former behaviour as
2009 Jun 19
2
Splitting Data by Row
Hello fellow R users! I wonder if someone can help with what i think should be a simple question but i can't seem to find the answer or work it out. My data set is as such: Day Time ID Behaviour 1 9 A1 2 1 10 A2 3 .. .. .. .. 4 10 A1 10 4 11 A2 1 .. .. .. .. 30 1 B1 14 30 2 C3 4 So basically i
2016 Jan 22
2
fptosi undefined behaviour
On 22 January 2016 at 12:20, Tom Stellard via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> 1) I realise this is a somewhat silly question, but is this still >> acceptable "undefined behaviour"? > > Yes, it is. I always thought these out-of-range instructions did produce an "undef" rather than allowing fully-general undefined behaviour (otherwise we
2024 Jan 23
1
Listing behaviour in 4.18
Dear all, Passing from samba 4.17 to 4.18 we noticed a change in behaviour in folder/files listing. In 4.17 when someone had read and open rights for a folder but no write/modify access then the folder would be visible but clicking on any "non-accessible" resource resulted in a message notifying that no access was granted. Since 4.18 the folder is simply completely invisible. I
2003 Sep 25
2
unexpected change in "locked account" behaviour
I just ran into what I'd describe as an unexpected side-effect. I don't think it's necessarily a bug, and I don't need any assistance in working around it, but this information might be useful to others for troubleshooting. This was using OpenSSH built under Solaris 2.5.1, and running under 2.5.1 or 8. The symptom was that after upgrading from 3.7.1p1 to 3.7.1p2, some accounts
2008 Apr 06
1
row by row similarity
Hello all and thanks in advance for any advice. I am very new to R and have searched my question but have not come up with anything quite like what I would like to do. My problem is: I have a data set for individuals (rows) and values for behaviours (columns). I would like to know the proportion of shared behaviours for all possible pairs of individuals. The sum of shared behaviours divided by
2007 Jun 27
6
Aspects in RSpec 1.0.5
Forgot post this when I did it... For anyone else that used the "aspect" method of the rspec-ext gem, here''s a New World version of the code to drop into spec_helper.rb. (I''m assuming rspec-ext hasn''t been updated since I did this a week or two ago) module Spec module DSL module BehaviourEval module ModuleMethods def
2007 May 04
11
spec template for CRUD?
Hello, Has anyone already come up with a set of shared behaviours that someone could leverage when adhering to a CRUD concept, with respect to controllers? Relatedly, it would be nice if there were a way to share generalized behaviour specs. -Chris
2020 Sep 23
0
[R] jitter-bug? problematic behaviour of the jitter function
Hello, R 4.0.2 on Ubuntu 20.04, sessionInfo at end. This came up in r-help, I'm answering to the OP and also posting to r-devel since I believe it is more appropriate there. I can confirm this. The original instructions are the first and the last, but even with smaller numbers the error shows up. set.seed(2020) jitter(c(1,2,10^4)) # desired behaviour #[1] 1.058761 1.957690