similar to: syntex about a nested mixed linear model

Displaying 20 results from an estimated 200 matches similar to: "syntex about a nested mixed linear model"

2008 Feb 05
2
help with oop in R - class structure and syntex
Hi, I read section 5, oop, of the R lang doc, and I am still not sure I understand how to build a class in R for oop. I thought that since I understand the oop syntex of Java and VB, I am wondering if the R programmig experts could help me out by comparing and contrasting the oop syntex in R with that of Java. For example, the basic class structure in Java is like this: public class Bicycle {
2006 Feb 13
4
activerecord << operator
Hello, I am new here and actually I am writing my first RoR app. My question is: -------- class Topic < ActiveRecord::Base has_many :messages end class Message < ActiveRecord::Base belongs_to :topic end class ForumController < ApplicationController def post message = Message.new(params[:message]) @topic = Topic.find(params[:id]) @topic.messages
2011 Feb 27
10
How to store the same key multi times in a Hash ?
given an Arra tags[] I need to produce a resulting Hash as following .. { "$in" => [tags[0]], "$in" =>[tags[1], ...} in which the key should be always the same and the value being an Array I tried this : myHash = {} tags.each do |tag| h = {"$in" => [tag]} myHash.merge!(h) end but the merge! is only
2004 Aug 25
0
Eltemette az elefánt-trutyi
-------------------------------------------------- Eltemette az elef?nt-trutyi Paderborn, N?metorsz?g Friedrich Riesfeldt ?llatkerti gondoz? sz?kreked?ses elef?ntj?nak beadott 22 adag ?llati hashajt?t ?s megetette egy v?ka szederrel, f?g?vel ?s szilv?val. A bedugult vastagb?r? v?g?l els?lt - ?s megfojtotta a gondoz?t 200 font trutyival. A vizsg?lat szerint a 46 ?ves Friedrich megpr?b?lt a beteg
2013 Mar 14
1
error: object of type 'closure' is not subsettable
Hi all, when i run this script: >read.table("Angelika.txt",header=T,sep="\t") >mytable=read.table("Angelika.txt",header=T,sep="\t") >for ( dye in c("A","B","C","F","G","K","L","M")) + { + for (cond in 1:8) + { + measurement =
2001 Jul 10
1
gls function, very old results
Hello R-users, I am currently trying to learn how to use the function gls of the nlme library. I fitted the following model: Generalized least squares fit by REML Model: response ~ array + dye + genes + variety + variety * genes + array * genes + dye * genes Data: data I have 11 arrays, 2 dyes, 2 varieties, 3200 genes, and 2 replications for each. Therefore I should have the corresponding
2012 Mar 20
3
error message
Dear all,  Who will bail me out. Iam using R with S-Splancs. Anytime i typed in the syntex, an error will appear eg setwd("C:\\TEMP) >dat <- read.table(cheshire_fmd.cvs",header=TRUE, sep=",") > dat.<-read.table(''chesire_fmd.cvs'',header=TRUE,sep='',) Error: unexpected symbol in "dat.<-read.table(''chesire_fmd.cvs" >
2005 Apr 16
1
help on extract variance components from the fitted model by lm
Hey, all: Do we have a convenient command(s) to extract the variance components from a fitted model by lm (actually it's a nexted model)? e.g.: using the following codes we could get MSA,MSB(A) and MSE. How to get the variance component estimates by command in R rather than calculations by hand? A<-as.vector(rep(c(rep(1,5), rep(2,5), rep(3,5), rep(4,5), rep(5,5)),2))
2007 Jun 04
1
Exclude option not working
Hi , Hope you are doing good. I am Madhavan from India . I was trying to implement the wonderful rsync concept in my project for file mirroring. I implemented the functunality but the only problem I am facing is in the * exclude* directory option. Though I am trying to exclude the directory by giving proper syntex for exclude but I find once the whole rsync is completed the directory still gets
2008 Aug 06
1
Matrix multiplication
Hi all, Is there an easy way to do cumulative matrix multipliation in R? What's the syntex? Thanks. Sincerely, Yanwei Zhang Department of Actuarial Research and Modeling Munich Re America Tel: 609-275-2176 Email: yzhang@munichreamerica.com<mailto:yzhang@munichreamerica.com> [[alternative HTML version deleted]]
2004 Mar 24
1
combined random effects
Hi, I have the following linear mixed model: y(g,i,j,k,l)=u + L(g) + T(i) + D(j) + S(k) + (TS)(i,k) + error(g,i,j,k,l) where S(k) and the combined effect (TS)(i,k) are random effects whereas the rest are fixed effects. How do I specifiy the random part of the model formula in lme(), especially concerning the combined effect (TS)? Moreover, when I run the model as a fixed effect model I get
2008 Feb 24
1
available on the market.
Dye DMC: Dye has some of the most expensive paintball markers with price starting from $700. used paintball markers (http://hosting.freeserverweb.com/paintball-markers/used-paintball-markers.html)
2009 May 12
2
pair matching
Given two numeric vectors of possibly unequal length, I'd like to pair each element of the shorter vector with an element of the longer vector such that the sum of squared differences between the pairs is minimized. Can someone point me to an R function or an algorithm for accomplishing this? All the best, Tom Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc.
2009 Mar 22
1
data frame to array
Aloha all, I have a data frame with 4 columns. The first three are factors (f1, f2, f3) and the fourth is numeric. I'd like to explore these data using median polish. To do that I plan to use medpolish() on the matrix[f1,f2xf3], then medpolish on the resulting matrix[f2,f3]. This approach is described by Cook on page 141 of Exploring Data Tables, Trends, and Shapes. split()
2013 Aug 29
10
Concatenate two arrays
Hello again ruby community! I just learned how to add two arrays(I know, i know). My program looked like this array1=[1,2,3] array2=[4,5,6] array_sum=array1+array2 I thought pretty simple stuff, they are combined. However, now i am looking to define that code as a method and I do not understand how to create the correct number of arguments, so when the method is called back it gives me my
2011 Jul 01
0
trouble with rails-ckeditor gem "form_tag"
Hi All, I am trying to use the rails-ckeditor gem and running into some problems. It is working fine for FORM_FOR but when implimenting on FORM_TAG, it giving errot "undefined method `ckeditor_textarea_tag'' for #<#<Class:0x9180348>:0x917e848>". My view field is <%= ckeditor_textarea_tag :msg, :toolbar=>''Full'', :width =>
2012 Aug 17
0
mixed model in r
Dear all, I am really confused with the syntax for mixed model using lmer in lme4 library. My model is Value = Sample + Run (nested with Sample ) Here sample is a fixed effect and Run is a random effect nested with sample. Can anyone give some hint on the correct syntex for this model. Thanks very much in advance. Hannah [[alternative HTML version deleted]]
2010 Feb 23
2
significance of coefficients in Constrained regression
I am fittting a linner regression with constrained parameters, saying, all parameters are non-negative and sum up to 1. I have searched historical R-help and found that this can be done by solve.QP from the quadprog package. I need to assess the significance of the coefficient estimates, but there is no standard error of the coefficient estimates in the output. So I can not compute the p-value.
2011 Nov 20
2
I'm writing this letter to enquire where can I download the package of "lmtest".
Dear editor: I'm writing this letter to enquire where can I download the package of "lmtest". Can you send me this package? THanks a lot. Best regards, Shu-Fei Wu
2009 Dec 04
2
[ggplot2] Wind rose orientation
Aloha all, I love using ggplot. It took a while to get used to the grammar of graphics, but it is starting to get easy now that I am thinking in a more structured way. A question. I'm making a wind rose that I'd like to be oriented with due north straight up. I've discovered that the orientation is sensitive to how north is represented. When north is represented as 0,