Displaying 20 results from an estimated 7000 matches similar to: "Linear model with hidden variables"
2024 Aug 09
1
WDI package commands timing out and not working
>>>>> Ivan Krylov via R-help
>>>>> on Fri, 9 Aug 2024 15:23:58 +0300 writes:
> ? Thu, 8 Aug 2024 12:43:23 +0530
> Anupam Tyagi <anuptyagi at gmail.com> ?????:
>> In open.connection(con, "rb") :
>> URL
>>
2012 Feb 27
2
compare two data frames of different dimensions and only keep unique rows
Dear list,
I am still struggling with something that should be easy: I compare two data frames with a lot of common rows and want to keep only rows that are NOT in both data frames, unique.
Here are an example of these data frame.
reported <-
structure(list(Product = structure(c(1L, 1L, 1L, 1L, 2L, 2L, 3L, 4L, 5L, 5L), .Label = c("Cocoa", "Coffee C", "GC",
2004 Aug 13
5
simtest for Dunnett's test
Hi!
I use simtest fonction of multcomp package to compile a Dunnett's test.
I have 10 treatments and one control group, so i create a matrix with:
m<-matrix(0,10,11)
m[1,1]<--1
m[1,2]<-1
m[2,1]<--1
m[2,3]<-1
m[3,1]<--1
m[3,4]<-1
m[4,1]<--1
m[4,5]<-1
m[5,1]<--1
m[5,6]<-1
m[6,1]<--1
m[6,7]<-1
m[7,1]<--1
m[7,8]<-1
m[8,1]<--1
m[8,9]<-1
2018 Sep 11
1
Running libvirtd outside of a shell results in qemu defunct processes
Hi,
In KubeVirt we are right now starting libvirt via a wrapper shell
script. I want to remove that wrapper and directly start libvirtd from
our golang code. This means that our golang code is PID 1 in the
container and we start libvirtd as a fork from there.
When I did this, strange things started to happen. Libvirt was still
able to start and manage qemu processes, but stopping the qemu
2024 Aug 09
2
WDI package commands timing out and not working
? Thu, 8 Aug 2024 12:43:23 +0530
Anupam Tyagi <anuptyagi at gmail.com> ?????:
> In open.connection(con, "rb") :
> URL
> 'https://api.worldbank.org/v2/en/country/OED/indicator/NY.ADJ.NNAT.GN.ZS?format=json&date=1977:2020&per_page=32500&page=1':
> Timeout of 60 seconds was reached
If you try to open the link in the browser, does it work? How long
2011 Apr 29
1
Use nparcomp function from nparcomp library to run post hoc
Dear list,
I tried to use the nparcomp to run some post hoc non-parametric comparison
and got and error.
Error in uniroot(pfct, interval = interval) :
f() values at end points not of opposite sign
Appreciate any comments.
the command line:
>nparcomp(Ulceration~Group,data=test,type='Dunnett',control='Non-treated')
Jun
2008 Feb 14
1
Replacing a character string when finding substring match
Dear R-experts,
I need to replace the values of a vector(tx) with a
word ('Vehicle') when the value of the vector contains
the word 'vehicle'. Sometimes, the value could be 'MCT
vehicle', or 'control-vehicle', etc.
I tried gsub like this
treatment<-gsub('vehicle','Vehicle', tx,
ignore.case=T)
But then I end up with values like 'MCT
2013 Apr 23
2
Frustration to get help R users group
Dear R users/developers
I requested help to solve the problem of formulating Multivariate Sample
selection model by using Full Information Maximum Likelihood
(FIML)estimation method. I could not get any response. I formulated the
following code of FIML to analyse univariate sample selection problem.
Would you please advise me where is my problem
library (sem)
library(nrmlepln)
Selection
2016 Jul 07
2
Re: [PATCH v3 4/8] mllib: Add some imperative list manipulation functions.
On Thursday 07 July 2016 17:30:03 Richard W.M. Jones wrote:
> This adds imperative list manipulation functions inspired by Perl.
> The functions are passed list refs which get updated in place.
>
> This allows us to replace some awkward pure functional code like:
>
> let xs = ys in
> let xs = if foo then xs @ zs else xs in
>
> with:
>
> let xs = ref ys in
2009 Mar 01
1
projecting GIS coordinates for analysis with spatstat package
I am working on creating an R package for doing fire department analysis and
am trying to create a function that can display emergency incident
densities. The following code sort of does the trick, but I need a display
that shows the number of incidents per square mile. I believe the code
below shows incidents per square unit (in this case, degrees lat/long).
To solve this problem, I believe
2006 Mar 21
2
How do I get substring of utf-8 string?
I''m trying to get substring from a utf-8 encoded string. (say, first
50 characters of the string) String#[0..49] would give me the first
50 bytes not 50 characters..
I know there is jcode library, but it only let you count number of
characters in utf-8 string.
unicode gem doesn''t seem to help much. unicode_hacks gem seem to
solve the problem, but it also seems to
2006 May 25
1
PC rotation question
On p. 48 of "Statistics Complements" to the 3rd MASS edition,
http://www.stats.ox.ac.uk/pub/MASS3/VR3stat.pdf
I read that the orthogonal rotations of Z Lambda^-1 remain
uncorrelated, where Z is the PC and Lambda is the diag matrix of
singular values.
However, the example below that text is
> A <- loadings(ir.pca) %*% diag(ir.pca$sdev)
If ir.pca$sdev are the singular values,
2010 Jan 28
2
dynamic drop downs for product search
Hey Everyone,
I''m about to embark on having a search function for the products on my
app via dynamic dropdowns. A dropdown for make would only leave
AVAILABLE models of that make. selecting year would only leave
available makes from that year etc etc.
Any suggestions or good read ups ?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Oct 20
3
Survival analysis
Hello,
I need some results from the survival analysis of my data
that I do not know whether exist in Survival Package or how to obtain if
they do:
1. The Mean survival time
2. The standard error of the mean
3. Point and 95% Lower & Upper Confidence Intervals estimates
Any help will be greatly appreciated.
Cem
[[alternative HTML version
2016 Jul 08
2
Re: [PATCH v3 4/8] mllib: Add some imperative list manipulation functions.
On Thu, Jul 07, 2016 at 06:08:43PM +0100, Richard W.M. Jones wrote:
> On Thu, Jul 07, 2016 at 07:00:46PM +0200, Pino Toscano wrote:
> > On Thursday 07 July 2016 17:30:03 Richard W.M. Jones wrote:
> > > This adds imperative list manipulation functions inspired by Perl.
> > > The functions are passed list refs which get updated in place.
> > >
> > > This
2012 Feb 27
1
compare two data frames with same columns names but of different dimensions
Dear List,
I want to compare and return the rows which are NOT in the two data frames. Classic methods don't work as the df have NOT the same dimensions.
Here are one example of my df:
reported <-
structure(list(Product = structure(c(1L, 1L, 1L, 1L, 2L, 2L,
3L, 4L, 5L, 5L), .Label = c("Cocoa", "Coffee C", "GC", "Sugar No 11",
"ZS"),
2023 Nov 06
2
strptime with +03:00 zone designator
>>>>> Richard O'Keefe
>>>>> on Mon, 6 Nov 2023 18:37:34 +1300 writes:
> Thanks to all who replied. On Mon, 6 Nov 2023 at 18:37,
> Richard O'Keefe <raoknz at gmail.com> wrote:
>> OK, so the consensus is (1) One cannot make strptime
>> accept ISO8601-compliant zone designators (2) The
>> lubridate package
2006 Mar 10
9
Observers?
Hello all!
I''m having an issue with Observers, and I''m hoping someone knows the
answer.
Here is the definition:
app/models/vehicle_observer.rb
> class VehicleObserver < ActiveRecord::Observer
> def after_save(vehicle)
> breakpoint
> if vehicle.has_new_mil_indication?
> UserMailer.deliver_mil_notice(vehicle)
> end
> end
> end
2007 Oct 08
7
belongs_to association doesn't work with _id set
Hello there,
I''m developing an application which has models like this:
class Vehicle < ActiveRecord::Base
belongs_to :internal_dim, :class_name => "Dimension"
def before_create()
idim = Dimension.create
self.internal_dim_id = idim.id
#self.create_internal_dim # Doesn''t work
end
end
class Dimension < ActiveRecord::Base
2006 Mar 16
5
Multiple databases + switching databases
Hello,
I have an application that access two different DBMS - Firebird
and Postgres. So far, that''s ok. The problem is, depending on the
customer logged, a different database (Firebird) must be selected.
To make the things clearer:
Postgres: 1 database shared by all customers with these tables:
- user
- vehicle
- driver
Firebird: several databases with different names and identical