Skip to content
Snippets Groups Projects
Commit 79748dd1 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

Correct displayed information if not total dataset is used.

parent 9f9c2c1f
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,9 @@ if dataset_.info.nvobs-size(rawdata,2)
'variables doesn''t match the number of variables in the database.'])
end
if size(rawdata,1)~=dataset_.info.ntobs
fprintf('Restricting the sample to observations %d to %d. Using in total %d observations. \n',first,dataset_.info.ntobs,dataset_.info.ntobs-first+1)
end
rawdata = rawdata(first:(first+dataset_.info.ntobs-1),:);
% Take the log (or anything else) of the variables if needed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment