Displaying 3 results from an estimated 3 matches for "yrow".
Did you mean:
grow
2005 May 19
1
R 2.1.0 RH Linux Built from Source Segmentation Fault
...ly saved workspace restored]
> # program name: mnl.R
> # my hierarchical bayes logit model using random walk algorithm
> #
> # nphy= number of physicians in the sample
> # nvar = no. of variables in X
> # nalt = no. of alternatives
> # nobs = no. of observations
> # yrows (nphy x 1 matrix) contains no. of observations by each physician
> # X (nobs*nalt x nvar) contains xvalues for each of j alt on each
>of n occasions
> # Y (nobs x 1) contains chosen alternative
> #
>
> source("bayes_book_r_functions.R")
> nalt=5
>
> X=re...
2018 Apr 21
2
Check if row of dataframe is superset of any row in another dataframe.
Hi,
I am looking for a way in which I can check if rows in 1 dataframe are
present in another data frame in a unique way. A row in dataframe should be
super set of any row in another dataframe.
I can write a for loop for it, however, that will be inefficient. So, I am
looking for an efficient way to do this in R.
I have explained it with an example below:
I want to check if a row in dataframe
2010 Oct 15
0
tessellation from biological data in spatstat
...ollowing:
a <- read.table("FOLLICLES.txt")
win <- owin(c(0,512), c(0,512))
unitname(win) <- c("pixel", "pixels")
b <- as.matrix(a, xrange=c(0,512), yrange=c(0,512))
unitname(b) <- c("pixel", "pixels")
c <- im(b, xcol=seq(ncol(b)), yrow=seq(nrow(b)), unitname="pixels")
d <- tess(image = c)
plot(d)
#I can then plot my ppp pattern on top of my tessellation using:
plot(d)
plot(data02, add=TRUE)
#So far so good, but when I run for example:
qb <- quadratcount(data02, tess = d)
#I get the following error:
Warning m...