Open yunqiyang0215 opened 1 year ago
@yunqiyang0215 Can you please test the new version of ud_init with a data matrix and a mash data object to make sure it works with both those data types?
Hi @pcarbo , I just tested the implementation and it works. But I think the documentation about the function ud_init()
also needs to be updated.
Better now?
Yes. A minor point, for the explanation of dat
.
An n x m data matrix, in which each row of the matrix is an m-dimensional data point, or a “mash” object, for example created by [mash_set_data](https://rdrr.io/pkg/mashr/man/mash_set_data.html). When X is a matrix it should have at least 2 rows and at least 2 columns
.
We should also replace X
with dat
?
Yes, good catch. This should now be fixed. I didn't update the pkgdown webpage with the change, but I'm sure we will have another opportunity to do so soon.
I see. Sounds good. Thanks, Peter!
ud_init()
takesdat
as input, anddat
can either frommash_set_data()
orX
. ButX
is not mentioned before using it. Same problem occurs inSee here: https://stephenslab.github.io/udr/reference/ud_init.html