Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems to plot pffr objects #91

Open
neotis70 opened this issue Sep 10, 2019 · 1 comment
Open

Problems to plot pffr objects #91

neotis70 opened this issue Sep 10, 2019 · 1 comment

Comments

@neotis70
Copy link

neotis70 commented Sep 10, 2019

I tried to plot the result of a pffr I made. It was a function-on-scalar regression with the constant 1 and the sex as covariates. When I plotted it, the scale of the first coefficient was too high for the second one so I stored the results, and I plotted only the sex coefficient, using plot[[2]]$x as x, as.numeric(plot[[2]]$fit) +- 1.96 * plot[[2]]$se as y, and I got something not related to the data.
The initial yind I use in the pffr are specifically created for my problem (50 points between 0 and 0.03, and 50 points between 0.03 and 1) and I'm wondering if the function plot.pffr takes it into account ?

@fabian-s
Copy link
Member

Thanks for your report. Please provide a reproducible example of the problem so we can try to help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants