search for: karolinska

Displaying 20 results from an estimated 48 matches for "karolinska".

2008 Jul 23
6
par() function does not work
...dify graphical parameters with par(). for example; > par(mfrow=c(2,2)) Error in c(2, 2) : unused argument(s) (2) > par$mfrow NULL Does any one know what is the cause of this problem? Regards, Fabio -- Fabio Sánchez, MD, MSc, PhD Unit of Dermatology and Venereology Department of Medicine Karolinska Institute SE-17176 Karolinska University Hospital Phone: +46 8 51772158 Fax: +46 8 51773620 [[alternative HTML version deleted]]
2007 May 30
2
matrix in data.frame
...o far, I end up with a data.frame containing all the columns from the matrix plus the vector which is not what I am after. I have seen this kind of data.frame among R example datasets (oliveoil and yarn). I would greatly appreciate some help with this problem! Kind regards, Lina Hultin Rosenberg Karolinska Biomics Center Karolinska Institute Sweden
2008 May 27
2
Write function multiple tests and write summary table
...a test for every variable independently and store the summary result in a table for example mod1<-aov(a~group) mod2<-aov(b~group) . . . generate summary table Any suggestions? Thank you Fabio -- Fabio Sánchez, MD, MSc, PhD Unit of Dermatology and Venereology Department of Medicine Karolinska Institute SE-17176 Karolinska University Hospital Phone: +46 8 51772158 Fax: +46 8 51773620 [[alternative HTML version deleted]]
2006 Oct 19
1
Writing a script for multiplying a progressively larger lists of items
...ng from multiplying the first and the second element in the vector, then the product of the 1st, 2nd and 3rd, then 1st,2nd,3rd and 4th and so forth until all the elements in the vector are multiplied. Many thanks, Fabio Fabio S?nchez, MD, MSc, PhD Molecular Dermatology Department of Medicine Karolinska Institute SE-17176 Karolinska University Hospital Tel: +46 8 51772158
2006 Jul 14
8
CAS Authentication filter.
...tml For use, just install the plugin in your application and set these attributes in your environment.rb CAS::Filter.login_url CAS::Filter.validate_url CAS::Filter.server_name -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined.
2006 Aug 06
6
Having Problem w/ Agile Web Development book
I get this error ... NoMethodError in StoreController#index undefined method `salable_items'' for Product:Class and here is my store_controller.rb ... class StoreController < ApplicationController def index @products = Product.salable_items end def self.salable_items find(:all, :conditions => "date_available <= now()", :order => "date_available
2006 Jul 21
4
Autocompleting InPlaceEditor
...created new helper methods in Rails for this functionality. My question is, is there any interest that I package this and make it available as a plugin, or something like that? Regards -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined.
2006 Jul 14
4
sending additional parameters to before_filter
i am trying to create a system so that different users have different priviliges on my application. i was going to modify my authorize function so that i could pass the required role to it and have it check the current user for that role. i am using before_filter and would like to have just one function instead of writing one for each role like so: authorize(role) instead of:
2006 Jul 14
2
Configuration search order
...ment.rb, the environtments/$RAILS_ENV.rb and plugins/*/init.rb gets run... Is there any good way to add env-specific configuration to a plugin? Would kinda come in handy, actually... -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined.
2006 Aug 07
5
Store SOAP::RPC::Driver in user session throws TypeError
Hi All I have a requirement to consume a 3rd party web service from my Rails application. I am doing this in my action require ''soap/wsdlDriver'' factory = SOAP::WSDLDriverFactory.new(TRANSIDIOM_WSDL_URL) soap = factory.create_rpc_driver soap.wiredump_file_base="#{RAILS_ROOT}/log/transidiom.log" param = %(<Request
2006 Jul 22
1
InPlaceEditor with Autocompletion
...ll the plugin from: http://svn.ki.se/rails/plugins/in_place_completer More information: http://opensource.ki.se/inplacecompleter.html Usage is provided in the README and RDoc. Regards -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined.
2023 Feb 16
0
User-defined RNG with the standalone Rmath library
..."%f\n", runif(0, 1)); return 0; } If we compile using -static, then we get the correct result (two values of 0.5): gcc -static -o test test.c -lRmath -lm ./test : 0.500000 : 0.500000 Question: does this code work for other users? Sincerely, Mark. N?r du skickar e-post till Karolinska Institutet (KI) inneb?r detta att KI kommer att behandla dina personuppgifter. H?r finns information om hur KI behandlar personuppgifter<https://ki.se/medarbetare/integritetsskyddspolicy>. Sending email to Karolinska Institutet (KI) will result in KI processing your personal data. You can r...
2007 Mar 20
0
Multiple testing and Logistic regression in case control studies
...me variables in genetic analysis) in a logistic regression model that explores the effect of a few genotypes (factors)? If so, wouldn't there be an issue with multiple testing? Thanks for your opinions, -- Fabio Sánchez, MD, MSc, PhD Unit of Dermatology and Venereology Department of Medicine Karolinska Institute SE-17176 Karolinska University Hospital Tel: +46 8 51772158 Fax: +46 8 51773620 [[alternative HTML version deleted]]
2008 Jul 21
1
dev2bitmap error, 'gs' cannot be found
...null")) if (rc != 0) stop("sorry, 'gs' cannot be found") } I cant figure out how to fix this. I am not an experienced programmer. Any help or tips would be greatly appreciated. Thank you, Boel --~*~**~***~*~***~**~*~-- Boel Brynedal, MSc, PhD student Karolinska Institutet Department of Clinical neuroscience
2006 Jun 16
1
R in ConTeXt
...s()) x <- rnorm(100) y <- runif(100) \stopRhidden \type{x} and \type{y} are randomly generated. \startR summary(lm(y~x)) pdf("xy.pdf") plot(y~x) dev.off() \stopR \placefigure{Y vs X}{\externalfigure[xy][width=.4\textwidth]} \stoptext Regards, Johan -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell
2006 Aug 03
3
Swedish Rails
...ou''re porting too, though). The plugin can be found at: http://svn.ki.se/rails/plugins/swe_rails and some information here: http://opensource.ki.se/swe_rails.html Regards -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined.
2006 Aug 16
4
Plugins and svn
Hi railers, What do you do when you must use a plugin in a rails app that is under subversion? I think that an approach is simply install a version of the plugin, and once all the test pass, commit the plugin itself to the repository, inside the /vendor/ of the app. If a new version of the plugin is released, your app is still using the working one (although the new version could work too).
2006 Feb 01
1
R CMD check barfs at 'suggested' package
...your time (and expertise), alexander platform powerpc-apple-darwin7.9.0 arch powerpc os darwin7.9.0 system powerpc, darwin7.9.0 status Patched major 2 minor 1.0 year 2005 month 05 day 12 language R Alexander.Ploner@ki.se Medical Epidemiology & Biostatistics Karolinska Institutet, Stockholm Tel: ++46-8-524-82329 Fax: ++46-8-31 49 75 [[alternative HTML version deleted]]
2012 Jul 17
3
complexity of operations in R
...y. The other alternative I see would be to recursively store lists (elem, (elem, (elem, (...)))), which I take also would work? But I'd rather go for a standard R solution if there is one! cheers, /Johan -- -- ----------------------------------------------------------- Johan Henriksson, PhD Karolinska Institutet Ecobima AB - Custom solutions for life sciences http://www.ecobima.se <http://www.ecobima.com> http://mahogny.areta.org http://www.endrov.net <http://www.endrov.net> [[alternative HTML version deleted]]
2006 Aug 03
5
Database configuration across developers!
Hi, I have what might be a silly question but is there any way to put some of the database configuration information into a separate file? For instance, in config/database.yml I have: developer_database: &developer_database adapter: mysql username: me password: something host: 127.0.0.1 development: <<: *developer_database database: foobar_development test: <<: