Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ztable caption and position arguments ignored when using ztable on mytable object #2

@tormodb

Description

@tormodb

When trying to wirte a caption and using position arguments, these are ignored when applied to an mytable object.

Example:

This works as expected and prints caption and positions table to the left:
options(ztable.type="html")
tb4 <- t(round(rbind(table(eco$p2_described), prop.table(table(eco$p2_described))*100),2))
ztable(tb4, caption="Parent 2 - described economy", position="l")

This does not print any caption or respects positioning:
options(ztable.type="html")
ztable(mytable(youth_described~p1_hhincome, data=eco), caption="test", position="l")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions