Displaying 2 results from an estimated 2 matches for "aidssi".
Did you mean:
adsi
2020 Oct 24
3
Issue with data() function
...ta(lung)
?? data("lung")
?? data(lung, package="survival")
?a. The lung.Rd file had \usage{data(lung)}; that error was not caught by R CMD check.?
(Several other .Rd files as well.)
?b. In broader examples for teaching, I sometimes load data from other packages, e.g
data(aidssi, package="mstate").? But this does not work for survival.? (The larger
survival data sets that are in separate .rda files can be found.)
?c. What does work is survival::lung.? Might it be useful to add a comment to data.Rd to
this effect?
3. Creating a separate package 'survival...
2020 Oct 24
0
Issue with data() function
...> ?? data(lung, package="survival")
>
> ?a. The lung.Rd file had \usage{data(lung)}; that error was not caught by R CMD check.
> (Several other .Rd files as well.)
>
> ?b. In broader examples for teaching, I sometimes load data from other packages, e.g
> data(aidssi, package="mstate").? But this does not work for survival.? (The larger
> survival data sets that are in separate .rda files can be found.)
>
> ?c. What does work is survival::lung.? Might it be useful to add a comment to data.Rd to
> this effect?
You don't describe how...